diff options
author | Alexander Bokovoy <ab@samba.org> | 2006-04-11 11:37:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:03 -0500 |
commit | 9cf41988ff6cf0647ec4850f25415ba66845fd70 (patch) | |
tree | b0af5ecca5db64b45b2ab3bf4a83b4050efa18ee /source4/lib/registry | |
parent | 970f7122d9095aa95e0513793f69994e235cb1e0 (diff) | |
download | samba-9cf41988ff6cf0647ec4850f25415ba66845fd70.tar.gz samba-9cf41988ff6cf0647ec4850f25415ba66845fd70.tar.bz2 samba-9cf41988ff6cf0647ec4850f25415ba66845fd70.zip |
r15036: Add out of tree build support and see how buildfarm will respond to make constructs
(This used to be commit 9329854489e2c231ffb7986d39009e0936873c11)
Diffstat (limited to 'source4/lib/registry')
-rw-r--r-- | source4/lib/registry/config.mk | 11 |
1 files changed, 7 insertions, 4 deletions
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* |