1
1
#
2
2
# "$Id$"
3
3
#
4
- # ZIP library Makefile for the HTMLDOC software.
4
+ # ZIP library Makefile for the HTMLDOC software.
5
5
#
6
- # ZIP library copyright 1995-1998 Jean-loup Gailly .
7
- # For conditions of distribution and use, see copyright notice in zlib.h
6
+ # Copyright 2011 by Michael R Sweet .
7
+ # Copyright 1997-2010 by Easy Software Products.
8
8
#
9
- # Copyright 2011 by Michael R Sweet.
10
- # Copyright 1997-2010 by Easy Software Products.
11
- #
12
- # This program is free software. Distribution and use rights are outlined in
13
- # the file "COPYING.txt".
9
+ # This program is free software. Distribution and use rights are outlined in
10
+ # the file "COPYING.txt".
14
11
#
15
12
16
13
include ../Makedefs
@@ -19,15 +16,31 @@ include ../Makedefs
19
16
# Object files...
20
17
#
21
18
22
- OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o \
23
- trees.o zutil.o inflate.o inftrees.o inffast.o
19
+ OBJS = \
20
+ adler32.o \
21
+ compress.o \
22
+ crc32.o \
23
+ deflate.o \
24
+ gzclose.o \
25
+ gzlib.o \
26
+ gzread.o \
27
+ gzwrite.o \
28
+ infback.o \
29
+ inffast.o \
30
+ inflate.o \
31
+ inftrees.o \
32
+ trees.o \
33
+ uncompr.o \
34
+ zutil.o
35
+
24
36
25
37
#
26
38
# Make all targets...
27
39
#
28
40
29
41
all : libz.a
30
42
43
+
31
44
#
32
45
# Clean all targets and object files...
33
46
#
@@ -36,6 +49,15 @@ clean:
36
49
$(RM ) $(OBJS )
37
50
$(RM ) libz.a
38
51
52
+
53
+ #
54
+ # Update dependencies...
55
+ #
56
+
57
+ depend :
58
+ makedepend -Y -I.. -fDependencies $(OBJS:.o=.c ) > /dev/null 2>&1
59
+
60
+
39
61
#
40
62
# libz.a
41
63
#
@@ -46,15 +68,9 @@ libz.a: $(OBJS)
46
68
$(AR ) $(ARFLAGS ) $@ $(OBJS )
47
69
$(RANLIB ) $@
48
70
49
- $(OBJS ) : zlib.h zconf.h ../Makedefs
50
- crc32.o : zutil.h crc32.h
51
- gzio.o : zutil.h
52
- deflate.o : deflate.h zutil.h
53
- trees.o : deflate.h zutil.h trees.h
54
- zutil.o : zutil.h
55
- inflate.o : zutil.h inftrees.h inflate.h inffast.h inffixed.h
56
- inftrees.o : zutil.h inftrees.h
57
- inffast.o : zutil.h inftrees.h inflate.h inffast.h
71
+ $(OBJS ) : ../Makedefs
72
+ include Dependencies
73
+
58
74
59
75
#
60
76
# End of "$Id$".
0 commit comments