summaryrefslogtreecommitdiff
path: root/xsd/examples/cxx/parser/library/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/examples/cxx/parser/library/makefile')
-rw-r--r--xsd/examples/cxx/parser/library/makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/xsd/examples/cxx/parser/library/makefile b/xsd/examples/cxx/parser/library/makefile
index e4eec1a..6410cf3 100644
--- a/xsd/examples/cxx/parser/library/makefile
+++ b/xsd/examples/cxx/parser/library/makefile
@@ -1,6 +1,5 @@
# file : examples/cxx/parser/library/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,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-inline --type-map $(src_base)/library.map
+$(gen): xsd_options += --generate-inline --type-map $(src_base)/library.map
$(gen): $(out_root)/xsd/xsd $(src_base)/library.map
-$(call include-dep,$(dep))
+$(call include-dep,$(dep),$(obj),$(gen))
# Convenience alias for default target.
#
@@ -76,7 +75,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.
#