genode/libports/lib/mk/expat.mk
Christian Prochaska 4fc9383c31 libports: Expat
This patch adds the "Expat" XML parser library to libports.

Fixes #245.
2012-06-20 19:44:02 +02:00

13 lines
263 B
Makefile

include $(REP_DIR)/lib/import/import-expat.mk
EXPAT_DIR = $(REP_DIR)/contrib/$(EXPAT)
LIBS += libc
SRC_C = xmlparse.c xmlrole.c xmltok.c
CC_OPT += -DHAVE_MEMMOVE -DXML_NS=1 -DXML_DTD=1 -DXML_CONTEXT_BYTES=1024
vpath %.c $(EXPAT_DIR)/lib
SHARED_LIB = yes