aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/build/xsd/common.make
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/build/xsd/common.make')
-rw-r--r--dist/examples/build/xsd/common.make11
1 files changed, 11 insertions, 0 deletions
diff --git a/dist/examples/build/xsd/common.make b/dist/examples/build/xsd/common.make
new file mode 100644
index 0000000..dd65987
--- /dev/null
+++ b/dist/examples/build/xsd/common.make
@@ -0,0 +1,11 @@
+# file : examples/build/xsd/common.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2006 Code Synthesis Tools CC
+# 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)