From 9cf41988ff6cf0647ec4850f25415ba66845fd70 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Tue, 11 Apr 2006 11:37:52 +0000 Subject: r15036: Add out of tree build support and see how buildfarm will respond to make constructs (This used to be commit 9329854489e2c231ffb7986d39009e0936873c11) --- source4/lib/registry/config.mk | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'source4/lib/registry/config.mk') diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk index 5d535e4c58..9cc8c93450 100644 --- a/source4/lib/registry/config.mk +++ b/source4/lib/registry/config.mk @@ -15,11 +15,14 @@ REQUIRED_SUBSYSTEMS = TDR_REGF REQUIRED_SUBSYSTEMS = TDR OBJ_FILES = tdr_regf.o -lib/registry/reg_backend_nt4.c: lib/registry/tdr_regf.c -lib/registry/tdr_regf.c: lib/registry/regf.idl - @CPP="$(CPP)" $(PERL) pidl/pidl $(PIDL_ARGS) \ +# Special support for external builddirs +lib/registry/reg_backend_nt4.c: $(srcdir)/lib/registry/reg_backend_nt4.c +$(srcdir)/lib/registry/reg_backend_nt4.c: lib/registry/tdr_regf.c +lib/registry/tdr_regf.h: lib/registry/tdr_regf.c +lib/registry/tdr_regf.c: $(srcdir)/lib/registry/regf.idl + @CPP="$(CPP)" $(PERL) $(srcdir)/pidl/pidl $(PIDL_ARGS) \ --header --outputdir=lib/registry \ - --tdr-parser -- lib/registry/regf.idl + --tdr-parser -- $^ clean:: @-rm -f lib/registry/regf.h lib/registry/tdr_regf* -- cgit