1: #
2: # Copyright (c) 2011 Todd C. Miller <Todd.Miller@courtesan.com>
3: #
4: # Permission to use, copy, modify, and distribute this software for any
5: # purpose with or without fee is hereby granted, provided that the above
6: # copyright notice and this permission notice appear in all copies.
7: #
8: # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9: # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10: # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11: # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12: # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13: # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14: # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15: # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16: #
17: # @configure_input@
18: #
19:
20: #### Start of system configuration section. ####
21:
22: srcdir = @srcdir@
23: top_builddir = @top_builddir@
24: top_srcdir = @top_srcdir@
25:
26: # Compiler & tools to use
27: CC = @CC@
28: LIBTOOL = @LIBTOOL@
29:
30: # C preprocessor flags
31: CPPFLAGS = -I. -I$(srcdir)
32:
33: # Usually -O and/or -g
34: CFLAGS = @CFLAGS@
35:
36: # OS dependent defines
37: DEFS = @OSDEFS@
38:
39: #### End of system configuration section. ####
40:
41: SHELL = @SHELL@
42:
43: LTOBJS = adler32.lo compress.lo crc32.lo deflate.lo gzclose.lo gzlib.lo \
44: gzread.lo gzwrite.lo infback.lo inffast.lo inflate.lo inftrees.lo \
45: trees.lo uncompr.lo zutil.lo
46:
47: all: libz.la
48:
49: Makefile: $(srcdir)/Makefile.in
50: (cd $(top_builddir) && ./config.status --file zlib/Makefile)
51:
52: .SUFFIXES: .c .h .lo
53:
54: .c.lo:
55: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
56:
57: libz.la: $(LTOBJS)
58: $(LIBTOOL) --mode=link $(CC) -o $@ $(LTOBJS) -no-install
59:
60: pre-install:
61:
62: install:
63:
64: install-dirs:
65:
66: install-binaries:
67:
68: install-includes:
69:
70: install-doc:
71:
72: install-plugin:
73:
74: uninstall:
75:
76: check:
77:
78: clean:
79: -$(LIBTOOL) --mode=clean rm -f *.lo *.o *.la *.a stamp-* core *.core core.*
80:
81: mostlyclean: clean
82:
83: distclean: clean
84: -rm -rf Makefile .libs zconf.h
85:
86: clobber: distclean
87:
88: realclean: distclean
89: rm -f TAGS tags
90:
91: cleandir: realclean
92:
93: # Autogenerated dependencies, do not modify
94: adler32.lo: $(srcdir)/adler32.c $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h
95: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/adler32.c
96: compress.lo: $(srcdir)/compress.c $(srcdir)/zlib.h ./zconf.h
97: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/compress.c
98: crc32.lo: $(srcdir)/crc32.c $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h \
99: $(srcdir)/crc32.h
100: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/crc32.c
101: deflate.lo: $(srcdir)/deflate.c $(srcdir)/deflate.h $(srcdir)/zutil.h \
102: $(srcdir)/zlib.h ./zconf.h
103: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/deflate.c
104: gzclose.lo: $(srcdir)/gzclose.c $(srcdir)/gzguts.h $(srcdir)/zlib.h ./zconf.h
105: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/gzclose.c
106: gzlib.lo: $(srcdir)/gzlib.c $(srcdir)/gzguts.h $(srcdir)/zlib.h ./zconf.h
107: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/gzlib.c
108: gzread.lo: $(srcdir)/gzread.c $(srcdir)/gzguts.h $(srcdir)/zlib.h ./zconf.h
109: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/gzread.c
110: gzwrite.lo: $(srcdir)/gzwrite.c $(srcdir)/gzguts.h $(srcdir)/zlib.h ./zconf.h
111: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/gzwrite.c
112: infback.lo: $(srcdir)/infback.c $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h \
113: $(srcdir)/inftrees.h $(srcdir)/inflate.h $(srcdir)/inffast.h \
114: $(srcdir)/inffixed.h
115: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/infback.c
116: inffast.lo: $(srcdir)/inffast.c $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h \
117: $(srcdir)/inftrees.h $(srcdir)/inflate.h $(srcdir)/inffast.h
118: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/inffast.c
119: inflate.lo: $(srcdir)/inflate.c $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h \
120: $(srcdir)/inftrees.h $(srcdir)/inflate.h $(srcdir)/inffast.h \
121: $(srcdir)/inffixed.h
122: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/inflate.c
123: inftrees.lo: $(srcdir)/inftrees.c $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h \
124: $(srcdir)/inftrees.h
125: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/inftrees.c
126: trees.lo: $(srcdir)/trees.c $(srcdir)/deflate.h $(srcdir)/zutil.h \
127: $(srcdir)/zlib.h ./zconf.h $(srcdir)/trees.h
128: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/trees.c
129: uncompr.lo: $(srcdir)/uncompr.c $(srcdir)/zlib.h ./zconf.h
130: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/uncompr.c
131: zutil.lo: $(srcdir)/zutil.c $(srcdir)/zutil.h $(srcdir)/zlib.h ./zconf.h
132: $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/zutil.c
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>