aboutsummaryrefslogtreecommitdiff
path: root/dist/libxsde/xsde/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/libxsde/xsde/makefile')
-rw-r--r--dist/libxsde/xsde/makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/dist/libxsde/xsde/makefile b/dist/libxsde/xsde/makefile
index a134d29..1e3db26 100644
--- a/dist/libxsde/xsde/makefile
+++ b/dist/libxsde/xsde/makefile
@@ -9,6 +9,12 @@ EXTRA_CPPFLAGS := -I..
src := c/expat/xmlparse.c c/expat/xmlrole.c c/expat/xmltok.c
src += c/genx/genx.c c/genx/char-props.c
+ifneq ($(XSDE_PARSER_VALIDATION)$(XSDE_SERIALIZER_VALIDATION),nn)
+ifeq ($(XSDE_REGEXP),y)
+src += c/regexp/chvalid.c c/regexp/xmlunicode.c c/regexp/xmlregexp.c
+endif
+endif
+
ifeq ($(XSDE_CUSTOM_ALLOCATOR),y)
ifeq ($(XSDE_DEFAULT_ALLOCATOR),y)
src += allocator.c
@@ -563,6 +569,9 @@ endif
ifeq ($(XSDE_SERIALIZER_VALIDATION),y)
@echo $(h)define XSDE_SERIALIZER_VALIDATION >>$@
endif
+ifeq ($(XSDE_REGEXP),y)
+ @echo $(h)define XSDE_REGEXP >>$@
+endif
ifeq ($(XSDE_REUSE_STYLE),mixin)
@echo $(h)define XSDE_REUSE_STYLE_MIXIN >>$@
else