diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-05-14 21:29:29 -0700 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-05-14 21:29:29 -0700 |
commit | e897aa91a2a5c68a2f795f6a0a995600f13a85f8 (patch) | |
tree | 75a17430ba9cec822651b881003f66da8c89d7f9 /xml/makefile | |
parent | 3bf332a7b77e9ce9e5eb0a1dfd5f64f238f4f17f (diff) |
Convert to extension-less headers for API
Diffstat (limited to 'xml/makefile')
-rw-r--r-- | xml/makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xml/makefile b/xml/makefile index 6c8f3b9..52203aa 100644 --- a/xml/makefile +++ b/xml/makefile @@ -5,6 +5,7 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make sources := qname.cxx parser.cxx serializer.cxx value-traits.cxx +xml_headers := content exception forward qname parser serializer value-traits # Expat. # @@ -72,6 +73,12 @@ $(out_base)/: $(studxml.l) # Dist. # + +# Set it for the out_root so that it is visible in examples/tests. See +# Makefile.am for why we need it there. +# +$(our_root)/%.dist: export xml_headers := $(xml_headers) + $(dist): export sources := $(sources) $(dist): export expat_sources := $(expat_sources) $(dist): export expat_headers := $(expat_headers) @@ -89,7 +96,7 @@ $(dist): export interface_version = $(shell sed -e \ $(dist): $(call dist-data,$(sources) $(expat_sources) $(genx_sources)) - $(call dist-data,$(headers) $(expat_headers) $(genx_headers)) + $(call dist-data,$(headers) $(xml_headers) $(expat_headers) $(genx_headers)) $(call dist-data,$(data_dist) details/config.h.in) $(call meta-vc9proj,libstudxml-vc9.vcproj) $(call meta-vc10proj,libstudxml-vc10.vcxproj) |