genode/repos/libports/lib/mk/expat.mk
Christian Prochaska 520b69ef0d libports: update expat port
Fixes #4183
2021-05-31 15:19:44 +02:00

16 lines
378 B
Makefile

include $(select_from_repositories,lib/import/import-expat.mk)
EXPAT_DIR := $(call select_from_ports,expat)/src/lib/expat/contrib
INC_DIR += $(EXPAT_DIR)
LIBS += libc
SRC_C = xmlparse.c xmlrole.c xmltok.c
CC_OPT += -DHAVE_MEMMOVE -DXML_NS=1 -DXML_DTD=1 -DXML_CONTEXT_BYTES=1024 -DHAVE_ARC4RANDOM_BUF
vpath %.c $(EXPAT_DIR)/lib
SHARED_LIB = yes
CC_CXX_WARN_STRICT =