treebuild.xml 3.2 KB
Newer Older
M
Mark Adler 已提交
1 2 3 4 5
<?xml version="1.0" ?>
<package name="zlib" version="1.2.3">
    <library name="zlib" dlversion="1.2.3" dlname="z">
	<property name="description"> zip compression library </property>
	<property name="include-target-dir" value="$(@PACKAGE/install-includedir)" />
M
Mark Adler 已提交
6

M
Mark Adler 已提交
7 8 9 10 11 12 13
	<!-- fixme: not implemented yet -->
	<property name="compiler/c/inline" value="yes" />

	<include-file name="zlib.h" scope="public" mode="644" />
	<include-file name="zconf.h" scope="public" mode="644" />

	<source name="adler32.c">
M
Mark Adler 已提交
14 15
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
M
Mark Adler 已提交
16 17
	</source>
	<source name="compress.c">
M
Mark Adler 已提交
18 19
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
M
Mark Adler 已提交
20 21
	</source>
	<source name="crc32.c">
M
Mark Adler 已提交
22 23
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
M
Mark Adler 已提交
24 25
	    <depend name="crc32.h" />
	</source>
M
Mark Adler 已提交
26
	<source name="gzclose.c">
M
Mark Adler 已提交
27 28 29
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="gzguts.h" />
M
Mark Adler 已提交
30
	</source>
M
Mark Adler 已提交
31
	<source name="gzio.c">
M
Mark Adler 已提交
32 33 34
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="zutil.h" />
M
Mark Adler 已提交
35
	</source>
M
Mark Adler 已提交
36
	<source name="gzlib.c">
M
Mark Adler 已提交
37 38 39
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="gzguts.h" />
M
Mark Adler 已提交
40 41
	</source>
	<source name="gzread.c">
M
Mark Adler 已提交
42 43 44
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="gzguts.h" />
M
Mark Adler 已提交
45 46
	</source>
	<source name="gzwrite.c">
M
Mark Adler 已提交
47 48 49
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="gzguts.h" />
M
Mark Adler 已提交
50
	</source>
M
Mark Adler 已提交
51
	<source name="uncompr.c">
M
Mark Adler 已提交
52 53
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
M
Mark Adler 已提交
54 55
	</source>
	<source name="deflate.c">
M
Mark Adler 已提交
56 57 58 59
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="zutil.h" />
	    <depend name="deflate.h" />
M
Mark Adler 已提交
60 61
	</source>
	<source name="trees.c">
M
Mark Adler 已提交
62 63 64 65 66
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="zutil.h" />
	    <depend name="deflate.h" />
	    <depend name="trees.h" />
M
Mark Adler 已提交
67 68
	</source>
	<source name="zutil.c">
M
Mark Adler 已提交
69 70 71
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="zutil.h" />
M
Mark Adler 已提交
72 73
	</source>
	<source name="inflate.c">
M
Mark Adler 已提交
74 75 76 77
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="zutil.h" />
	    <depend name="inftrees.h" />
M
Mark Adler 已提交
78 79 80 81
	    <depend name="inflate.h" />
	    <depend name="inffast.h" />
	</source>
	<source name="infback.c">
M
Mark Adler 已提交
82 83 84 85
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="zutil.h" />
	    <depend name="inftrees.h" />
M
Mark Adler 已提交
86 87 88 89
	    <depend name="inflate.h" />
	    <depend name="inffast.h" />
	</source>
	<source name="inftrees.c">
M
Mark Adler 已提交
90 91 92 93
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="zutil.h" />
	    <depend name="inftrees.h" />
M
Mark Adler 已提交
94 95
	</source>
	<source name="inffast.c">
M
Mark Adler 已提交
96 97 98 99
	    <depend name="zlib.h" />
	    <depend name="zconf.h" />
	    <depend name="zutil.h" />
	    <depend name="inftrees.h" />
M
Mark Adler 已提交
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
	    <depend name="inflate.h" />
	    <depend name="inffast.h" />
	</source>
    </library>
</package>

<!--
CFLAGS=-O
#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
#CFLAGS=-g -DDEBUG
#CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
#           -Wstrict-prototypes -Wmissing-prototypes

# OBJA =
# to use the asm code: make OBJA=match.o
M
Mark Adler 已提交
115
#
M
Mark Adler 已提交
116 117 118 119 120 121
match.o: match.S
	$(CPP) match.S > _match.s
	$(CC) -c _match.s
	mv _match.o match.o
	rm -f _match.s
-->