treebuild.xml 3.1 KB

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