File: Makefile.am

package info (click to toggle)
texlive-bin 2009-8
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 231,976 kB
  • ctags: 165,663
  • sloc: ansic: 1,113,212; cpp: 454,597; sh: 49,189; perl: 43,889; makefile: 15,564; python: 11,825; xml: 7,446; lisp: 6,494; asm: 4,361; lex: 3,571; java: 3,569; pascal: 2,487; yacc: 2,451; exp: 2,031; ruby: 2,012; ada: 1,681; objc: 1,362; cs: 879; sed: 519; csh: 47; tcl: 45; awk: 35
file content (70 lines) | stat: -rw-r--r-- 1,809 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
## Proxy Makefile.am to build zlib for TeX Live.
##
##   Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
##
##   This file is free software; the copyright holder
##   gives unlimited permission to copy and/or distribute it,
##   with or without modifications, as long as this notice is preserved.
##
ACLOCAL_AMFLAGS = -I ../../m4

## We want to re-distribute the whole original zlib source tree.
##
## With current automake (1.10.2) 'make distcheck' fails when
## DISTFILES contains a directory and files in that directory.
## Thus nodist_* for all files in $(ZLIB_TREE).
EXTRA_DIST = $(ZLIB_TREE)

# in case of an SVN repository
dist-hook:
	rm -rf `find $(distdir)/$(ZLIB_TREE) -name .svn`
	rm -f $(distdir)/$(ZLIB_TREE)/zconf.h

INCLUDES = -I$(top_srcdir)/$(ZLIB_TREE)
AM_CPPFLAGS = $(ZLIB_DEFINES)

noinst_LIBRARIES = libz.a

nodist_libz_a_SOURCES = \
	$(ZLIB_TREE)/adler32.c \
	$(ZLIB_TREE)/compress.c \
	$(ZLIB_TREE)/crc32.c \
	$(ZLIB_TREE)/crc32.h \
	$(ZLIB_TREE)/deflate.c \
	$(ZLIB_TREE)/deflate.h \
	$(ZLIB_TREE)/gzio.c \
	$(ZLIB_TREE)/infback.c \
	$(ZLIB_TREE)/inffast.c \
	$(ZLIB_TREE)/inffast.h \
	$(ZLIB_TREE)/inffixed.h \
	$(ZLIB_TREE)/inflate.c \
	$(ZLIB_TREE)/inflate.h \
	$(ZLIB_TREE)/inftrees.c \
	$(ZLIB_TREE)/inftrees.h \
	$(ZLIB_TREE)/trees.c \
	$(ZLIB_TREE)/trees.h \
	$(ZLIB_TREE)/uncompr.c \
	$(ZLIB_TREE)/zutil.h \
	$(ZLIB_TREE)/zutil.c

$(libz_a_OBJECTS): zconf.h

if build
check_PROGRAMS = example minigzip
dist_check_SCRIPTS = zlib.test
TESTS = zlib.test
endif build

LDADD = libz.a

nodist_example_SOURCES = $(ZLIB_TREE)/example.c
nodist_minigzip_SOURCES = $(ZLIB_TREE)/minigzip.c

zconf.h: $(ZLIB_TREE)/zconf.in.h Makefile
	sed < $< '/HAVE_UNISTD_H/s%^#if [01]%#if $(WITH_UNISTD)%' >$@

DISTCLEANFILES = zconf.h

## Files generated by TESTS
CLEANFILES = foo.gz foo_gz