diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-10-15 06:27:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-10-15 06:27:35 +0200 |
commit | ccb45f5515e31f394f5164d8675b43f6b3f8b66c (patch) | |
tree | 3a03f47b3d887e8709c8766521d88b7d9db1363d | |
parent | e90e03ef9627d2feb5886f6bb8966ab4a6652ca9 (diff) |
Fix broken makefiles
-rw-r--r-- | pgsql/index/makefile | 4 | ||||
-rw-r--r-- | pgsql/template/makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/pgsql/index/makefile b/pgsql/index/makefile index 7ac33a9..a4e89e8 100644 --- a/pgsql/index/makefile +++ b/pgsql/index/makefile @@ -6,7 +6,9 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make cxx_tun := driver.cxx odb_hdr := test.hxx -cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) +genf := $(call odb-gen,$(odb_hdr)) +gen := $(addprefix $(out_base)/,$(genf)) +cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) $(filter %.o,$(gen:.cxx=.o)) cxx_od := $(cxx_obj:.o=.o.d) common.l := $(out_root)/libcommon/common/common.l diff --git a/pgsql/template/makefile b/pgsql/template/makefile index 53e817c..5a86b91 100644 --- a/pgsql/template/makefile +++ b/pgsql/template/makefile @@ -6,7 +6,9 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make cxx_tun := driver.cxx odb_hdr := test.hxx -cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) +genf := $(call odb-gen,$(odb_hdr)) +gen := $(addprefix $(out_base)/,$(genf)) +cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) $(filter %.o,$(gen:.cxx=.o)) cxx_od := $(cxx_obj:.o=.o.d) common.l := $(out_root)/libcommon/common/common.l |