genode/repos/libports/lib/mk/libpng.mk
Norman Feske 366bba0227 Exclude higher-level repos from strict warnings
This is a follow-up commit to "Increase default warning level", which
overrides Genode's new default warning level for targets contained in
higher-level repositories. By explicitly whitelisting all those targets,
we can selectively adjust them to the new strictness over time - by
looking out for 'CC_CXX_WARN_STRICT' in the target description files.

Issue #465
2018-01-17 12:14:36 +01:00

18 lines
441 B
Makefile

LIBPNG_DIR := $(call select_from_ports,libpng)/src/lib/libpng
LIBS += libc libm zlib
# find 'config.h'
INC_DIR += $(REP_DIR)/src/lib/libpng
CC_DEF += -DHAVE_CONFIG_H -DPNG_CONFIGURE_LIBPNG
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
CC_CXX_WARN_STRICT =