external/zlib-1.2.11/treebuild.xml
author Sam Lantinga <slouken@libsdl.org>
Fri, 26 Oct 2018 14:58:01 -0700
changeset 617 d64228a395fc
parent 521 9ed2f7d4a251
permissions -rw-r--r--
Fixed webp library detection when cross-compiling for Windows
slouken@521
     1
<?xml version="1.0" ?>
slouken@521
     2
<package name="zlib" version="1.2.11">
slouken@521
     3
    <library name="zlib" dlversion="1.2.11" dlname="z">
slouken@521
     4
	<property name="description"> zip compression library </property>
slouken@521
     5
	<property name="include-target-dir" value="$(@PACKAGE/install-includedir)" />
slouken@521
     6
slouken@521
     7
	<!-- fixme: not implemented yet -->
slouken@521
     8
	<property name="compiler/c/inline" value="yes" />
slouken@521
     9
slouken@521
    10
	<include-file name="zlib.h" scope="public" mode="644" />
slouken@521
    11
	<include-file name="zconf.h" scope="public" mode="644" />
slouken@521
    12
slouken@521
    13
	<source name="adler32.c">
slouken@521
    14
	    <depend name="zlib.h" />
slouken@521
    15
	    <depend name="zconf.h" />
slouken@521
    16
	</source>
slouken@521
    17
	<source name="compress.c">
slouken@521
    18
	    <depend name="zlib.h" />
slouken@521
    19
	    <depend name="zconf.h" />
slouken@521
    20
	</source>
slouken@521
    21
	<source name="crc32.c">
slouken@521
    22
	    <depend name="zlib.h" />
slouken@521
    23
	    <depend name="zconf.h" />
slouken@521
    24
	    <depend name="crc32.h" />
slouken@521
    25
	</source>
slouken@521
    26
	<source name="gzclose.c">
slouken@521
    27
	    <depend name="zlib.h" />
slouken@521
    28
	    <depend name="zconf.h" />
slouken@521
    29
	    <depend name="gzguts.h" />
slouken@521
    30
	</source>
slouken@521
    31
	<source name="gzlib.c">
slouken@521
    32
	    <depend name="zlib.h" />
slouken@521
    33
	    <depend name="zconf.h" />
slouken@521
    34
	    <depend name="gzguts.h" />
slouken@521
    35
	</source>
slouken@521
    36
	<source name="gzread.c">
slouken@521
    37
	    <depend name="zlib.h" />
slouken@521
    38
	    <depend name="zconf.h" />
slouken@521
    39
	    <depend name="gzguts.h" />
slouken@521
    40
	</source>
slouken@521
    41
	<source name="gzwrite.c">
slouken@521
    42
	    <depend name="zlib.h" />
slouken@521
    43
	    <depend name="zconf.h" />
slouken@521
    44
	    <depend name="gzguts.h" />
slouken@521
    45
	</source>
slouken@521
    46
	<source name="uncompr.c">
slouken@521
    47
	    <depend name="zlib.h" />
slouken@521
    48
	    <depend name="zconf.h" />
slouken@521
    49
	</source>
slouken@521
    50
	<source name="deflate.c">
slouken@521
    51
	    <depend name="zlib.h" />
slouken@521
    52
	    <depend name="zconf.h" />
slouken@521
    53
	    <depend name="zutil.h" />
slouken@521
    54
	    <depend name="deflate.h" />
slouken@521
    55
	</source>
slouken@521
    56
	<source name="trees.c">
slouken@521
    57
	    <depend name="zlib.h" />
slouken@521
    58
	    <depend name="zconf.h" />
slouken@521
    59
	    <depend name="zutil.h" />
slouken@521
    60
	    <depend name="deflate.h" />
slouken@521
    61
	    <depend name="trees.h" />
slouken@521
    62
	</source>
slouken@521
    63
	<source name="zutil.c">
slouken@521
    64
	    <depend name="zlib.h" />
slouken@521
    65
	    <depend name="zconf.h" />
slouken@521
    66
	    <depend name="zutil.h" />
slouken@521
    67
	</source>
slouken@521
    68
	<source name="inflate.c">
slouken@521
    69
	    <depend name="zlib.h" />
slouken@521
    70
	    <depend name="zconf.h" />
slouken@521
    71
	    <depend name="zutil.h" />
slouken@521
    72
	    <depend name="inftrees.h" />
slouken@521
    73
	    <depend name="inflate.h" />
slouken@521
    74
	    <depend name="inffast.h" />
slouken@521
    75
	</source>
slouken@521
    76
	<source name="infback.c">
slouken@521
    77
	    <depend name="zlib.h" />
slouken@521
    78
	    <depend name="zconf.h" />
slouken@521
    79
	    <depend name="zutil.h" />
slouken@521
    80
	    <depend name="inftrees.h" />
slouken@521
    81
	    <depend name="inflate.h" />
slouken@521
    82
	    <depend name="inffast.h" />
slouken@521
    83
	</source>
slouken@521
    84
	<source name="inftrees.c">
slouken@521
    85
	    <depend name="zlib.h" />
slouken@521
    86
	    <depend name="zconf.h" />
slouken@521
    87
	    <depend name="zutil.h" />
slouken@521
    88
	    <depend name="inftrees.h" />
slouken@521
    89
	</source>
slouken@521
    90
	<source name="inffast.c">
slouken@521
    91
	    <depend name="zlib.h" />
slouken@521
    92
	    <depend name="zconf.h" />
slouken@521
    93
	    <depend name="zutil.h" />
slouken@521
    94
	    <depend name="inftrees.h" />
slouken@521
    95
	    <depend name="inflate.h" />
slouken@521
    96
	    <depend name="inffast.h" />
slouken@521
    97
	</source>
slouken@521
    98
    </library>
slouken@521
    99
</package>
slouken@521
   100
slouken@521
   101
<!--
slouken@521
   102
CFLAGS=-O
slouken@521
   103
#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
slouken@521
   104
#CFLAGS=-g -DZLIB_DEBUG
slouken@521
   105
#CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
slouken@521
   106
#           -Wstrict-prototypes -Wmissing-prototypes
slouken@521
   107
slouken@521
   108
# OBJA =
slouken@521
   109
# to use the asm code: make OBJA=match.o
slouken@521
   110
#
slouken@521
   111
match.o: match.S
slouken@521
   112
	$(CPP) match.S > _match.s
slouken@521
   113
	$(CC) -c _match.s
slouken@521
   114
	mv _match.o match.o
slouken@521
   115
	rm -f _match.s
slouken@521
   116
-->