mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
5e4e634625
If `select_from_ports` is evaluated lazily, we might miss a port during the dependency check. A way to prevent this is to use the `:=` operator. Fixes genodelabs/genode#4618
28 lines
881 B
Makefile
28 lines
881 B
Makefile
include $(REP_DIR)/lib/mk/virtualbox5-common.inc
|
|
|
|
ZLIB_DIR = $(VIRTUALBOX_DIR)/src/libs/zlib-1.2.8
|
|
LIBXML_DIR = $(VIRTUALBOX_DIR)/src/libs/libxml2-2.9.4
|
|
|
|
LIBICONV_DIR := $(call select_from_ports,libiconv)
|
|
|
|
INC_DIR += $(ZLIB_DIR)
|
|
INC_DIR += $(LIBXML_DIR)/include
|
|
INC_DIR += $(LIBICONV_DIR)/include/iconv
|
|
|
|
LIBS += stdcxx
|
|
|
|
VBOX_CC_OPT += -DLIBXML_THREAD_ENABLED
|
|
|
|
SRC_C += buf.c catalog.c chvalid.c debugXML.c dict.c encoding.c error.c entities.c
|
|
SRC_C += globals.c hash.c list.c parser.c parserInternals.c pattern.c
|
|
SRC_C += relaxng.c threads.c tree.c uri.c valid.c HTMLtree.c HTMLparser.c
|
|
SRC_C += SAX.c SAX2.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c
|
|
SRC_C += xmlschemastypes.c xmlsave.c xmlstring.c xmlunicode.c xpath.c xpointer.c
|
|
|
|
SRC_CC += Runtime/r3/xml.cpp
|
|
SRC_CC += Runtime/common/string/ministring.cpp
|
|
|
|
vpath %.c $(LIBXML_DIR)
|
|
|
|
CC_CXX_WARN_STRICT =
|