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 %build_module mmake=workbench-libs-png \
13 modname=png_au modtype=library \
14 files="$(FILES)" linklibname="png"
17 #MM- linklibs: linklibs-png-nostdio
19 USER_CFLAGS += -DPNG_NO_STDIO -DPNG_NO_WRITE_tIME -Wno-implicit-function-declaration
21 %build_linklib mmake=linklibs-png-nostdio libname=png_nostdio \
22 files=$(FILES) objdir=$(OBJDIR)/no_stdio
25 INCLUDE_FILES := png.h pngconf.h pnglibconf.h