grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / z / mmakefile.src
bloba02390932dea56aeb1b2f5358b4b128ac8efbfb1
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM workbench-libs-z-includes : \
6 #MM     kernel-exec-includes \
7 #MM     kernel-dos-includes \
8 #MM     includes-copy
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
31 %copy_includes
34 #MM
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
39         $(CP) $^ $@
42 %common