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/parser/polyroot/batman.xml | 1 - xsd/examples/cxx/parser/polyroot/driver.cxx | 1 - xsd/examples/cxx/parser/polyroot/makefile | 11 +++++------ xsd/examples/cxx/parser/polyroot/person.xml | 1 - xsd/examples/cxx/parser/polyroot/superman.xml | 1 - xsd/examples/cxx/parser/polyroot/supermen-pimpl.cxx | 1 - xsd/examples/cxx/parser/polyroot/supermen-pimpl.hxx | 1 - xsd/examples/cxx/parser/polyroot/supermen.xsd | 1 - 8 files changed, 5 insertions(+), 13 deletions(-) (limited to 'xsd/examples/cxx/parser/polyroot') diff --git a/xsd/examples/cxx/parser/polyroot/batman.xml b/xsd/examples/cxx/parser/polyroot/batman.xml index 70abdf7..fad0b71 100644 --- a/xsd/examples/cxx/parser/polyroot/batman.xml +++ b/xsd/examples/cxx/parser/polyroot/batman.xml @@ -3,7 +3,6 @@ diff --git a/xsd/examples/cxx/parser/polyroot/driver.cxx b/xsd/examples/cxx/parser/polyroot/driver.cxx index b04bba5..1c9c778 100644 --- a/xsd/examples/cxx/parser/polyroot/driver.cxx +++ b/xsd/examples/cxx/parser/polyroot/driver.cxx @@ -1,5 +1,4 @@ // file : examples/cxx/parser/polyroot/driver.cxx -// author : Boris Kolpackov // copyright : not copyrighted - public domain #include diff --git a/xsd/examples/cxx/parser/polyroot/makefile b/xsd/examples/cxx/parser/polyroot/makefile index 6b66233..a5a9088 100644 --- a/xsd/examples/cxx/parser/polyroot/makefile +++ b/xsd/examples/cxx/parser/polyroot/makefile @@ -1,6 +1,5 @@ # file : examples/cxx/parser/polyroot/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,17 +28,17 @@ $(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=-pskel.hxx) $(xsd:.xsd=-pskel.ixx) $(xsd:.xsd=-pskel.cxx) gen := $(addprefix $(out_base)/,$(genf)) $(gen): xsd := $(out_root)/xsd/xsd -$(gen): xsd_options := --generate-polymorphic +$(gen): xsd_options += --generate-polymorphic $(gen): $(out_root)/xsd/xsd -$(call include-dep,$(dep)) +$(call include-dep,$(dep),$(obj),$(gen)) # Convenience alias for default target. # @@ -75,7 +74,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/parser/polyroot/person.xml b/xsd/examples/cxx/parser/polyroot/person.xml index 157a5af..f463bea 100644 --- a/xsd/examples/cxx/parser/polyroot/person.xml +++ b/xsd/examples/cxx/parser/polyroot/person.xml @@ -3,7 +3,6 @@ diff --git a/xsd/examples/cxx/parser/polyroot/superman.xml b/xsd/examples/cxx/parser/polyroot/superman.xml index 86d9682..c831f6c 100644 --- a/xsd/examples/cxx/parser/polyroot/superman.xml +++ b/xsd/examples/cxx/parser/polyroot/superman.xml @@ -3,7 +3,6 @@ diff --git a/xsd/examples/cxx/parser/polyroot/supermen-pimpl.cxx b/xsd/examples/cxx/parser/polyroot/supermen-pimpl.cxx index db41ab2..62289e9 100644 --- a/xsd/examples/cxx/parser/polyroot/supermen-pimpl.cxx +++ b/xsd/examples/cxx/parser/polyroot/supermen-pimpl.cxx @@ -1,5 +1,4 @@ // file : examples/cxx/parser/polyroot/supermen-pimpl.cxx -// author : Boris Kolpackov // copyright : not copyrighted - public domain // diff --git a/xsd/examples/cxx/parser/polyroot/supermen-pimpl.hxx b/xsd/examples/cxx/parser/polyroot/supermen-pimpl.hxx index 035d127..49e8c74 100644 --- a/xsd/examples/cxx/parser/polyroot/supermen-pimpl.hxx +++ b/xsd/examples/cxx/parser/polyroot/supermen-pimpl.hxx @@ -1,5 +1,4 @@ // file : examples/cxx/parser/polyroot/supermen-pimpl.hxx -// author : Boris Kolpackov // copyright : not copyrighted - public domain #ifndef SUPERMEN_PIMPL_HXX diff --git a/xsd/examples/cxx/parser/polyroot/supermen.xsd b/xsd/examples/cxx/parser/polyroot/supermen.xsd index 090b662..dc5d439 100644 --- a/xsd/examples/cxx/parser/polyroot/supermen.xsd +++ b/xsd/examples/cxx/parser/polyroot/supermen.xsd @@ -3,7 +3,6 @@ -- cgit v1.2.3