2 include $(TOP)/config/make.cfg
4 #MM workbench-libs-png : workbench-libs-z
6 FILES := png pngerror \
7 pngget pngmem pngpread pngread pngrio pngrtran pngrutil \
8 pngset pngtrans pngwio pngwrite pngwtran pngwutil
10 USER_CFLAGS := -Wno-deprecated-declarations
12 #MM- core-linklibs : linklibs-png
14 %build_module mmake=workbench-libs-png \
15 modname=png modtype=library \
16 files="$(FILES)" linklibname="png"
19 #MM- linklibs: linklibs-png-nostdio
21 USER_CFLAGS += -DPNG_NO_STDIO -DPNG_NO_WRITE_tIME -Wno-implicit-function-declaration
23 %build_linklib mmake=linklibs-png-nostdio libname=png_nostdio \
24 files=$(FILES) objdir=$(OBJDIR)/no_stdio
27 INCLUDE_FILES := png.h pngconf.h pnglibconf.h