5 include $(TOP)/config/make.cfg
7 #MM- linklibs : linklibs-png
8 #MM- linklibs-pnglib : linklibs-png
9 #MM- linklibs-png : includes
12 INCLUDE_FILES := png.h pngconf.h
33 #MM- linklibs-png : linklibs-png-stdio linklibs-png-nostdio
34 #MM- linklibs-png-clean : linklibs-png-stdio-clean linklibs-png-nostdio-clean
36 USER_INCLUDES := -I$(SRCDIR)/$(CURDIR)/include
37 USER_CFLAGS := -DAROS -DNO_ERRNO_H
39 %build_linklib mmake=linklibs-png-stdio libname=png files=$(FILES)
41 USER_CFLAGS += -DPNG_NO_STDIO
42 %build_linklib mmake=linklibs-png-nostdio libname=png_nostdio files=$(FILES) objdir=$(OBJDIR)/no_stdio