3 include $(SRCDIR)/config/aros.cfg
5 #MM workbench-libs-z-includes : \
6 #MM kernel-exec-includes \
7 #MM kernel-dos-includes \
10 #MM workbench-libs-z : workbench-libs-z-pc
12 FILES := adler32 crc32 deflate infback inffast inflate inftrees trees \
13 zutil compress uncompr gzclose gzlib gzread gzwrite \
14 contrib/blast/blast contrib/infback9/infback9 contrib/infback9/inftree9
16 USER_CFLAGS := -DSTDC -DAMIGA -DZ_HAVE_UNISTD_H
18 %build_module mmake=workbench-libs-z \
19 modname=z1 modtype=library \
20 files="$(FILES)" linklibname=z
23 #MM- linklibs: linklibs-z-static
25 USER_CFLAGS := -DSTDC -DAMIGA -DZ_HAVE_UNISTD_H -DNO_STRERROR
27 %build_linklib mmake=linklibs-z-static libname=z.static files="$(FILES)"
30 INCLUDE_FILES := zlib.h zconf.h
35 workbench-libs-z-pc : $(AROS_LIB)/pkgconfig/zlib.pc
37 $(AROS_LIB)/pkgconfig/zlib.pc : $(SRCDIR)/$(CURDIR)/zlib.pc.aros
38 @$(IF) $(TEST) ! -d $(AROS_LIB)/pkgconfig ; then $(MKDIR) $(AROS_LIB)/pkgconfig ; else $(NOP) ; fi