define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / compiler / zlib / mmakefile.src
blobf961f20ad6a6caed9e751867742805b8e8539098
1 #   $Id$
3 include $(TOP)/config/make.cfg
5 INCLUDE_FILES   := zconf.h zlib.h zutil.h
6 FILES := \
7     adler32 \
8     compress \
9     crc32 \
10     gzio \
11     uncompr \
12     deflate \
13     trees \
14     zutil \
15     inflate \
16     infblock \
17     inftrees \
18     infcodes \
19     infutil \
20     inffast
22 #MM- linklibs-core : linklibs-zlib
23 #MM- linklibs : linklibs-zlib
24 #MM- linklibs-zlib : linklibs-arosz arosz-setup-link
25 #MM linklibs-arosz : includes
26 #MM includes-copy
28 %copy_includes
30 %build_linklib mmake=linklibs-arosz libname=arosz files=$(FILES)
32 $(AROS_LIB)/libz.a : arosz-setup-link
34 #MM
35 arosz-setup-link :
36         @$(RM) $(AROS_LIB)/libz.a
37         @ln -s $(if $(filter aros, $(AROS_HOST_ARCH)),$(AROS_LIB)/libarosz.a,libarosz.a) $(AROS_LIB)/libz.a
38     
39 %common