genode/repos/libports/lib/mk/libpng.mk

16 lines
419 B
Makefile
Raw Normal View History

LIBPNG_DIR := $(call select_from_ports,libpng)/src/lib/libpng
LIBS += libc libm zlib
2011-12-22 15:19:25 +00:00
# find 'config.h'
INC_DIR += $(REP_DIR)/src/lib/libpng
CC_DEF += -DHAVE_CONFIG_H -DPNG_CONFIGURE_LIBPNG
2011-12-22 15:19:25 +00:00
SRC_C = png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c pngwtran.c \
pngmem.c pngerror.c pngpread.c
vpath %.c $(LIBPNG_DIR)
SHARED_LIB = yes