diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:25:44 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:25:44 +0200 |
commit | 8286ac511144e4f17d34eac9affb97e50646344a (patch) | |
tree | f1af7320d7b6be6be059216d0ad08ac7b4f73fd0 /xsd/examples/cxx/tree/polymorphism | |
parent | a15cf65c44d5c224169c32ef5495b68c758134b7 (diff) |
Imported Upstream version 4.0.0upstream/4.0.0
Diffstat (limited to 'xsd/examples/cxx/tree/polymorphism')
-rw-r--r-- | xsd/examples/cxx/tree/polymorphism/driver.cxx | 1 | ||||
-rw-r--r-- | xsd/examples/cxx/tree/polymorphism/makefile | 11 | ||||
-rw-r--r-- | xsd/examples/cxx/tree/polymorphism/supermen.xml | 1 | ||||
-rw-r--r-- | xsd/examples/cxx/tree/polymorphism/supermen.xsd | 1 |
4 files changed, 5 insertions, 9 deletions
diff --git a/xsd/examples/cxx/tree/polymorphism/driver.cxx b/xsd/examples/cxx/tree/polymorphism/driver.cxx index 582e2dd..3f1598f 100644 --- a/xsd/examples/cxx/tree/polymorphism/driver.cxx +++ b/xsd/examples/cxx/tree/polymorphism/driver.cxx @@ -1,5 +1,4 @@ // file : examples/cxx/tree/polymorphism/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/polymorphism/makefile b/xsd/examples/cxx/tree/polymorphism/makefile index cde1904..2ee16e7 100644 --- a/xsd/examples/cxx/tree/polymorphism/makefile +++ b/xsd/examples/cxx/tree/polymorphism/makefile @@ -1,6 +1,5 @@ # file : examples/cxx/tree/polymorphism/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,18 +28,18 @@ $(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) gen := $(addprefix $(out_base)/,$(genf)) $(gen): xsd := $(out_root)/xsd/xsd -$(gen): xsd_options := --generate-polymorphic --generate-serialization \ +$(gen): xsd_options += --generate-polymorphic --generate-serialization \ --root-element-last $(gen): $(out_root)/xsd/xsd -$(call include-dep,$(dep)) +$(call include-dep,$(dep),$(obj),$(gen)) # Convenience alias for default target. @@ -70,7 +69,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/polymorphism/supermen.xml b/xsd/examples/cxx/tree/polymorphism/supermen.xml index 5053142..1b5b1df 100644 --- a/xsd/examples/cxx/tree/polymorphism/supermen.xml +++ b/xsd/examples/cxx/tree/polymorphism/supermen.xml @@ -3,7 +3,6 @@ <!-- file : examples/cxx/tree/polymorphism/supermen.xml -author : Boris Kolpackov <boris@codesynthesis.com> copyright : not copyrighted - public domain --> diff --git a/xsd/examples/cxx/tree/polymorphism/supermen.xsd b/xsd/examples/cxx/tree/polymorphism/supermen.xsd index ffdd21c..0d37e3d 100644 --- a/xsd/examples/cxx/tree/polymorphism/supermen.xsd +++ b/xsd/examples/cxx/tree/polymorphism/supermen.xsd @@ -3,7 +3,6 @@ <!-- file : examples/cxx/tree/polymorphism/supermen.xsd -author : Boris Kolpackov <boris@codesynthesis.com> copyright : not copyrighted - public domain --> |