genode/repos/libports/lib/mk/libpng.mk
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

17 lines
427 B
Makefile

LIBPNG = libpng-1.4.1
LIBPNG_DIR = $(REP_DIR)/contrib/$(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