summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-27 18:46:05 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-27 18:46:05 +0200
commitfd03ce3ac31c95ccd6128f4db6ff753c347d18b8 (patch)
treefe65bebae5c88e76c9215209dab6bd62248361d4
parent4053e3c700c0996764585a5c6eaef6b70274537a (diff)
downloadsamba-fd03ce3ac31c95ccd6128f4db6ff753c347d18b8.tar.gz
samba-fd03ce3ac31c95ccd6128f4db6ff753c347d18b8.tar.bz2
samba-fd03ce3ac31c95ccd6128f4db6ff753c347d18b8.zip
Allow external use of regf idl.
(This used to be commit 7b9b3ec02b27852cc32689a44c7f3fbbe43b7c6b)
-rw-r--r--source4/lib/registry/config.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index 44adc53524..fd1fd01a09 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -5,12 +5,11 @@ TDR_REGF_OBJ_FILES = $(libregistrysrcdir)/tdr_regf.o
# Special support for external builddirs
$(libregistrysrcdir)/regf.c: $(libregistrysrcdir)/tdr_regf.c
-$(srcdir)/$(libregistrysrcdir)/regf.c: $(libregistrysrcdir)/tdr_regf.c
$(libregistrysrcdir)/tdr_regf.h: $(libregistrysrcdir)/tdr_regf.c
-$(libregistrysrcdir)/tdr_regf.c: $(srcdir)/$(libregistrysrcdir)/regf.idl
- @CPP="$(CPP)" srcdir="$(srcdir)" $(PERL) $(srcdir)/pidl/pidl $(PIDL_ARGS) \
- --header --outputdir=lib/registry \
- --tdr-parser -- $(srcdir)/$(libregistrysrcdir)/regf.idl
+$(libregistrysrcdir)/tdr_regf.c: $(libregistrysrcdir)/regf.idl
+ @CPP="$(CPP)" $(PERL) $(pidldir)/pidl $(PIDL_ARGS) \
+ --header --outputdir=$(libregistrysrcdir) \
+ --tdr-parser -- $(libregistrysrcdir)/regf.idl
clean::
@-rm -f $(libregistrysrcdir)/regf.h $(libregistrysrcdir)/tdr_regf*