summaryrefslogtreecommitdiff
path: root/xsd/examples/cxx/tree/custom/double
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/examples/cxx/tree/custom/double')
-rw-r--r--xsd/examples/cxx/tree/custom/double/double-custom.cxx1
-rw-r--r--xsd/examples/cxx/tree/custom/double/double-custom.hxx1
-rw-r--r--xsd/examples/cxx/tree/custom/double/driver.cxx1
-rw-r--r--xsd/examples/cxx/tree/custom/double/makefile16
-rw-r--r--xsd/examples/cxx/tree/custom/double/order.xsd1
5 files changed, 7 insertions, 13 deletions
diff --git a/xsd/examples/cxx/tree/custom/double/double-custom.cxx b/xsd/examples/cxx/tree/custom/double/double-custom.cxx
index 78904a0..6aad908 100644
--- a/xsd/examples/cxx/tree/custom/double/double-custom.cxx
+++ b/xsd/examples/cxx/tree/custom/double/double-custom.cxx
@@ -1,5 +1,4 @@
// file : examples/cxx/tree/custom/double/double-custom.cxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain
// Include xml-schema.hxx instead of double-custom.hxx here.
diff --git a/xsd/examples/cxx/tree/custom/double/double-custom.hxx b/xsd/examples/cxx/tree/custom/double/double-custom.hxx
index 17d9a44..1516211 100644
--- a/xsd/examples/cxx/tree/custom/double/double-custom.hxx
+++ b/xsd/examples/cxx/tree/custom/double/double-custom.hxx
@@ -1,5 +1,4 @@
// file : examples/cxx/tree/custom/double/double-custom.hxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain
// Do not include this file directly, use xml-schema.hxx instead. This
diff --git a/xsd/examples/cxx/tree/custom/double/driver.cxx b/xsd/examples/cxx/tree/custom/double/driver.cxx
index 2e5b44d..8b102a5 100644
--- a/xsd/examples/cxx/tree/custom/double/driver.cxx
+++ b/xsd/examples/cxx/tree/custom/double/driver.cxx
@@ -1,5 +1,4 @@
// file : examples/cxx/tree/custom/double/driver.cxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain
#include <iostream>
diff --git a/xsd/examples/cxx/tree/custom/double/makefile b/xsd/examples/cxx/tree/custom/double/makefile
index 5bd4f71..2eed216 100644
--- a/xsd/examples/cxx/tree/custom/double/makefile
+++ b/xsd/examples/cxx/tree/custom/double/makefile
@@ -1,6 +1,5 @@
# file : examples/cxx/tree/custom/double/makefile
-# author : Boris Kolpackov <boris@codesynthesis.com>
-# copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
+# copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC
# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../../build/bootstrap.make
@@ -29,26 +28,25 @@ $(call import,\
#
$(driver): $(obj) $(xerces_c.l)
-$(obj) $(dep): cpp_options := -I$(src_root)/libxsd
+$(obj) $(dep): cpp_options := -I$(out_base) -I$(src_base) -I$(src_root)/libxsd
$(obj) $(dep): $(xerces_c.l.cpp-options)
$(out_base)/xml-schema.hxx: $(out_root)/xsd/xsd
$(call message,xsd $(src_base)/xml-schema.xsd,\
$(out_root)/xsd/xsd cxx-tree --output-dir $(out_base) --generate-xml-schema \
--generate-serialization --custom-type double=double \
---hxx-epilogue '\#include "double-custom.hxx"' xml-schema.xsd)
+--hxx-epilogue '#include "double-custom.hxx"' xml-schema.xsd)
genf := $(xsd:.xsd=.hxx) $(xsd:.xsd=.ixx) $(xsd:.xsd=.cxx)
gen := $(addprefix $(out_base)/,$(genf))
$(gen): xsd := $(out_root)/xsd/xsd
-
-$(gen): xsd_options := \
---generate-serialization --extern-xml-schema xml-schema.xsd
+$(gen): xsd_options += --generate-serialization \
+--extern-xml-schema xml-schema.xsd
$(gen): $(out_root)/xsd/xsd
-$(call include-dep,$(dep))
+$(call include-dep,$(dep),$(obj),$(gen))
# Convenience alias for default target.
#
@@ -79,7 +77,7 @@ $(dist): $(dist-common)
$(dist-win): $(dist-common)
$(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt)
- $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt)
+ $(call message,,todos $(dist_prefix)/$(path)/README.txt)
# Clean.
#
diff --git a/xsd/examples/cxx/tree/custom/double/order.xsd b/xsd/examples/cxx/tree/custom/double/order.xsd
index 0d7fe05..9cf1a1d 100644
--- a/xsd/examples/cxx/tree/custom/double/order.xsd
+++ b/xsd/examples/cxx/tree/custom/double/order.xsd
@@ -3,7 +3,6 @@
<!--
file : examples/cxx/tree/custom/double/order.xsd
-author : Boris Kolpackov <boris@codesynthesis.com>
copyright : not copyrighted - public domain
-->