summaryrefslogtreecommitdiff
path: root/xsd/examples/cxx/tree/custom/contacts
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/examples/cxx/tree/custom/contacts')
-rw-r--r--xsd/examples/cxx/tree/custom/contacts/contacts-custom.cxx1
-rw-r--r--xsd/examples/cxx/tree/custom/contacts/contacts-custom.hxx1
-rw-r--r--xsd/examples/cxx/tree/custom/contacts/contacts.xml1
-rw-r--r--xsd/examples/cxx/tree/custom/contacts/contacts.xsd1
-rw-r--r--xsd/examples/cxx/tree/custom/contacts/driver.cxx1
-rw-r--r--xsd/examples/cxx/tree/custom/contacts/makefile13
6 files changed, 6 insertions, 12 deletions
diff --git a/xsd/examples/cxx/tree/custom/contacts/contacts-custom.cxx b/xsd/examples/cxx/tree/custom/contacts/contacts-custom.cxx
index dd7c453..8bb0e22 100644
--- a/xsd/examples/cxx/tree/custom/contacts/contacts-custom.cxx
+++ b/xsd/examples/cxx/tree/custom/contacts/contacts-custom.cxx
@@ -1,5 +1,4 @@
// file : examples/cxx/tree/custom/contacts/contacts-custom.cxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain
#include <ostream>
diff --git a/xsd/examples/cxx/tree/custom/contacts/contacts-custom.hxx b/xsd/examples/cxx/tree/custom/contacts/contacts-custom.hxx
index fdb6810..65d6244 100644
--- a/xsd/examples/cxx/tree/custom/contacts/contacts-custom.hxx
+++ b/xsd/examples/cxx/tree/custom/contacts/contacts-custom.hxx
@@ -1,5 +1,4 @@
// file : examples/cxx/tree/custom/contacts/contacts-custom.hxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain
// Do not include this file directly, use contacts.hxx instead. This
diff --git a/xsd/examples/cxx/tree/custom/contacts/contacts.xml b/xsd/examples/cxx/tree/custom/contacts/contacts.xml
index c6dc38f..331e692 100644
--- a/xsd/examples/cxx/tree/custom/contacts/contacts.xml
+++ b/xsd/examples/cxx/tree/custom/contacts/contacts.xml
@@ -3,7 +3,6 @@
<!--
file : examples/cxx/tree/custom/contacts/contacts.xml
-author : Boris Kolpackov <boris@codesynthesis.com>
copyright : not copyrighted - public domain
-->
diff --git a/xsd/examples/cxx/tree/custom/contacts/contacts.xsd b/xsd/examples/cxx/tree/custom/contacts/contacts.xsd
index da73c78..d6110fe 100644
--- a/xsd/examples/cxx/tree/custom/contacts/contacts.xsd
+++ b/xsd/examples/cxx/tree/custom/contacts/contacts.xsd
@@ -3,7 +3,6 @@
<!--
file : examples/cxx/tree/custom/contacts/contacts.xsd
-author : Boris Kolpackov <boris@codesynthesis.com>
copyright : not copyrighted - public domain
-->
diff --git a/xsd/examples/cxx/tree/custom/contacts/driver.cxx b/xsd/examples/cxx/tree/custom/contacts/driver.cxx
index 9015e87..ae8a2da 100644
--- a/xsd/examples/cxx/tree/custom/contacts/driver.cxx
+++ b/xsd/examples/cxx/tree/custom/contacts/driver.cxx
@@ -1,5 +1,4 @@
// file : examples/cxx/tree/custom/contacts/driver.cxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain
#include <memory> // std::auto_ptr
diff --git a/xsd/examples/cxx/tree/custom/contacts/makefile b/xsd/examples/cxx/tree/custom/contacts/makefile
index e279634..ec9d902 100644
--- a/xsd/examples/cxx/tree/custom/contacts/makefile
+++ b/xsd/examples/cxx/tree/custom/contacts/makefile
@@ -1,6 +1,5 @@
# file : examples/cxx/tree/custom/contacts/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,7 +28,7 @@ $(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)
genf := $(xsd:.xsd=.hxx) $(xsd:.xsd=.ixx) $(xsd:.xsd=.cxx)
@@ -40,14 +39,14 @@ $(gen): xsd := $(out_root)/xsd/xsd
# We have to double-escape '#' because the message function
# (which is used in command scripts) expands things twice.
#
-$(gen): xsd_options := \
+$(gen): xsd_options += \
--generate-inline \
--custom-type contact=/contact_base \
---hxx-epilogue '\\\#include "contacts-custom.hxx"'
+--hxx-epilogue '\#include "contacts-custom.hxx"'
$(gen): $(out_root)/xsd/xsd
-$(call include-dep,$(dep))
+$(call include-dep,$(dep),$(obj),$(gen))
# Convenience alias for default target.
#
@@ -80,7 +79,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.
#