From 8286ac511144e4f17d34eac9affb97e50646344a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 23 Jul 2014 15:25:44 +0200 Subject: Imported Upstream version 4.0.0 --- xsd/examples/cxx/tree/custom/taxonomy/driver.cxx | 1 - xsd/examples/cxx/tree/custom/taxonomy/makefile | 15 +++++++-------- .../cxx/tree/custom/taxonomy/people-custom-fwd.hxx | 1 - xsd/examples/cxx/tree/custom/taxonomy/people-custom.cxx | 1 - xsd/examples/cxx/tree/custom/taxonomy/people-custom.hxx | 1 - xsd/examples/cxx/tree/custom/taxonomy/people.xml | 1 - xsd/examples/cxx/tree/custom/taxonomy/people.xsd | 1 - 7 files changed, 7 insertions(+), 14 deletions(-) (limited to 'xsd/examples/cxx/tree/custom/taxonomy') diff --git a/xsd/examples/cxx/tree/custom/taxonomy/driver.cxx b/xsd/examples/cxx/tree/custom/taxonomy/driver.cxx index f102fc3..ec562f6 100644 --- a/xsd/examples/cxx/tree/custom/taxonomy/driver.cxx +++ b/xsd/examples/cxx/tree/custom/taxonomy/driver.cxx @@ -1,5 +1,4 @@ // file : examples/cxx/tree/custom/taxonomy/driver.cxx -// author : Boris Kolpackov // copyright : not copyrighted - public domain #include // std::auto_ptr diff --git a/xsd/examples/cxx/tree/custom/taxonomy/makefile b/xsd/examples/cxx/tree/custom/taxonomy/makefile index ca3327c..5637f17 100644 --- a/xsd/examples/cxx/tree/custom/taxonomy/makefile +++ b/xsd/examples/cxx/tree/custom/taxonomy/makefile @@ -1,6 +1,5 @@ # file : examples/cxx/tree/custom/taxonomy/makefile -# author : Boris Kolpackov -# 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=-fwd.hxx) $(xsd:.xsd=.ixx) $(xsd:.xsd=.cxx) @@ -40,7 +39,7 @@ $(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 \ --generate-forward \ --generate-polymorphic \ @@ -48,12 +47,12 @@ $(gen): xsd_options := \ --custom-type "person=person_impl/person_base" \ --custom-type "superman=superman_impl/superman_base" \ --custom-type "batman=batman_impl/batman_base" \ ---fwd-prologue '\\\#include "people-custom-fwd.hxx"' \ ---hxx-prologue '\\\#include "people-custom.hxx"' +--fwd-prologue '\#include "people-custom-fwd.hxx"' \ +--hxx-prologue '\#include "people-custom.hxx"' $(gen): $(out_root)/xsd/xsd -$(call include-dep,$(dep)) +$(call include-dep,$(dep),$(obj),$(gen)) # Convenience alias for default target. # @@ -88,7 +87,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/taxonomy/people-custom-fwd.hxx b/xsd/examples/cxx/tree/custom/taxonomy/people-custom-fwd.hxx index 973b6e5..2c26bf5 100644 --- a/xsd/examples/cxx/tree/custom/taxonomy/people-custom-fwd.hxx +++ b/xsd/examples/cxx/tree/custom/taxonomy/people-custom-fwd.hxx @@ -1,5 +1,4 @@ // file : examples/cxx/tree/custom/taxonomy/people-custom-fwd.hxx -// author : Boris Kolpackov // copyright : not copyrighted - public domain // Do not include this file directly, use people-fwd.hxx instead. This diff --git a/xsd/examples/cxx/tree/custom/taxonomy/people-custom.cxx b/xsd/examples/cxx/tree/custom/taxonomy/people-custom.cxx index 321d2df..a06a6ea 100644 --- a/xsd/examples/cxx/tree/custom/taxonomy/people-custom.cxx +++ b/xsd/examples/cxx/tree/custom/taxonomy/people-custom.cxx @@ -1,5 +1,4 @@ // file : examples/cxx/tree/custom/taxonomy/people-custom.cxx -// author : Boris Kolpackov // copyright : not copyrighted - public domain #include diff --git a/xsd/examples/cxx/tree/custom/taxonomy/people-custom.hxx b/xsd/examples/cxx/tree/custom/taxonomy/people-custom.hxx index c601061..a60edc8 100644 --- a/xsd/examples/cxx/tree/custom/taxonomy/people-custom.hxx +++ b/xsd/examples/cxx/tree/custom/taxonomy/people-custom.hxx @@ -1,5 +1,4 @@ // file : examples/cxx/tree/custom/taxonomy/people-custom.hxx -// author : Boris Kolpackov // copyright : not copyrighted - public domain // Do not include this file directly, use people.hxx instead. This diff --git a/xsd/examples/cxx/tree/custom/taxonomy/people.xml b/xsd/examples/cxx/tree/custom/taxonomy/people.xml index 5f84855..b53b576 100644 --- a/xsd/examples/cxx/tree/custom/taxonomy/people.xml +++ b/xsd/examples/cxx/tree/custom/taxonomy/people.xml @@ -3,7 +3,6 @@ diff --git a/xsd/examples/cxx/tree/custom/taxonomy/people.xsd b/xsd/examples/cxx/tree/custom/taxonomy/people.xsd index c77a866..1181270 100644 --- a/xsd/examples/cxx/tree/custom/taxonomy/people.xsd +++ b/xsd/examples/cxx/tree/custom/taxonomy/people.xsd @@ -3,7 +3,6 @@ -- cgit v1.2.3