diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-12 17:25:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-12 17:25:13 +0200 |
commit | fa6bcd50cec6ad1cc683d3575ff3a3d3d49a3bb5 (patch) | |
tree | a562bc49e89051680bd16264514894ba4e96ba13 | |
parent | dd2c489a9ae68c67a2d7fa8f61dd3af6cdb12977 (diff) |
Distribute generated code from out_base
-rw-r--r-- | odb/makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/odb/makefile b/odb/makefile index 08bd9c5..56053eb 100644 --- a/odb/makefile +++ b/odb/makefile @@ -136,15 +136,19 @@ $(install): $(odb) # $(dist): export plugin_sources := $(cxx_ptun) $(dist): export driver_sources := $(cxx_dtun) -$(dist): export common_sources := $(cxx_ctun) $(cli_tun:.cli=.cxx) -$(dist): export headers = $(subst $(src_base)/,,$(shell find $(src_base) \ +$(dist): common_sources_dist := $(cxx_ctun) +$(dist): export common_sources := $(common_sources_dist) $(cli_tun:.cli=.cxx) +$(dist): headers_dist = $(subst $(src_base)/,,$(shell find $(src_base) \ -name '*.hxx' -o -name '*.ixx' -o -name '*.txx')) +$(dist): gen_headers := $(cli_tun:.cli=.hxx) $(cli_tun:.cli=.ixx) +$(dist): export headers = $(headers_dist) $(gen_headers) +$(dist): gen_dist := $(gen) $(dist): data_dist := $(cli_tun) $(dist): export extra_dist := $(data_dist) $(dist): $(gen) $(call dist-data,$(plugin_sources) $(driver_sources) \ -$(common_sources) $(headers) $(data_dist)) +$(common_sources_dist) $(headers_dist) $(gen_dist) $(data_dist)) $(call meta-automake) # Clean. |