summaryrefslogtreecommitdiff
path: root/dist/examples/build/xsd
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/build/xsd')
-rw-r--r--dist/examples/build/xsd/common.make9
-rw-r--r--dist/examples/build/xsd/parser-rules.make21
-rw-r--r--dist/examples/build/xsd/tree-rules.make13
3 files changed, 0 insertions, 43 deletions
diff --git a/dist/examples/build/xsd/common.make b/dist/examples/build/xsd/common.make
deleted file mode 100644
index ccd5a42..0000000
--- a/dist/examples/build/xsd/common.make
+++ /dev/null
@@ -1,9 +0,0 @@
-# file : examples/build/xsd/common.make
-# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
-
-XSD := $(shell if test -x $(root)/../bin/xsd; \
- then echo $(root)/../bin/xsd; \
- else echo xsd; fi)
-
-override CPPFLAGS += $(shell if test -d $(root)/../libxsd; \
- then echo -I$(root)/../libxsd; fi)
diff --git a/dist/examples/build/xsd/parser-rules.make b/dist/examples/build/xsd/parser-rules.make
deleted file mode 100644
index 13addaa..0000000
--- a/dist/examples/build/xsd/parser-rules.make
+++ /dev/null
@@ -1,21 +0,0 @@
-# file : examples/build/xsd/parser-rules.make
-# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
-
-include $(root)/build/xsd/common.make
-
-XML_PARSER := xerces
-
-ifeq ($(XML_PARSER),xerces)
-override LIBS := -lxerces-c $(LIBS)
-else
-override LIBS := -lexpat $(LIBS)
-endif
-
-override XSDFLAGS += --xml-parser $(XML_PARSER)
-
-# Rules.
-#
-.PRECIOUS: %-pskel.hxx %-pskel.ixx %-pskel.cxx
-
-%-pskel.hxx %-pskel.ixx %-pskel.cxx: %.xsd
- $(XSD) cxx-parser $(XSDFLAGS) $<
diff --git a/dist/examples/build/xsd/tree-rules.make b/dist/examples/build/xsd/tree-rules.make
deleted file mode 100644
index 2f188cc..0000000
--- a/dist/examples/build/xsd/tree-rules.make
+++ /dev/null
@@ -1,13 +0,0 @@
-# file : examples/build/xsd/tree-rules.make
-# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
-
-include $(root)/build/xsd/common.make
-
-override LIBS := -lxerces-c $(LIBS)
-
-# Rules.
-#
-.PRECIOUS: %.cxx %.hxx %.ixx
-
-%.cxx %.hxx %.ixx: %.xsd
- $(XSD) cxx-tree $(XSDFLAGS) $<