From ccb45f5515e31f394f5164d8675b43f6b3f8b66c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Oct 2013 06:27:35 +0200 Subject: Fix broken makefiles --- pgsql/index/makefile | 4 +++- pgsql/template/makefile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'pgsql') 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 -- cgit v1.1