summaryrefslogtreecommitdiff
path: root/source4/lib/registry/config.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-25 16:37:02 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-26 11:57:08 -0600
commit251a4e07803d0fa95b1324d60133475ef8c41e79 (patch)
tree8ccf2a83617b582f467952589748bc714fed48ef /source4/lib/registry/config.mk
parent7ff974a226b3dda63a91ef0702b12406e130f809 (diff)
downloadsamba-251a4e07803d0fa95b1324d60133475ef8c41e79.tar.gz
samba-251a4e07803d0fa95b1324d60133475ef8c41e79.tar.bz2
samba-251a4e07803d0fa95b1324d60133475ef8c41e79.zip
r26600: Provide dir variable with current basedir in Makefile.
(This used to be commit b06d3e1a52d6b71a1e3e7a9e0ecf69f3b899ae18)
Diffstat (limited to 'source4/lib/registry/config.mk')
-rw-r--r--source4/lib/registry/config.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index f1f50479cb..71c973f68d 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -3,16 +3,16 @@ PUBLIC_DEPENDENCIES = TDR
OBJ_FILES = tdr_regf.o
# Special support for external builddirs
-lib/registry/regf.c: lib/registry/tdr_regf.c
-$(srcdir)/lib/registry/regf.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
+$(dir)/regf.c: $(dir)/tdr_regf.c
+$(srcdir)/$(dir)/regf.c: $(dir)/tdr_regf.c
+$(dir)/tdr_regf.h: $(dir)/tdr_regf.c
+$(dir)/tdr_regf.c: $(srcdir)/$(dir)/regf.idl
@CPP="$(CPP)" srcdir="$(srcdir)" $(PERL) $(srcdir)/pidl/pidl $(PIDL_ARGS) \
- --header --outputdir=lib/registry \
- --tdr-parser -- $(srcdir)/lib/registry/regf.idl
+ --header --outputdir=$(dir) \
+ --tdr-parser -- $(srcdir)/$(dir)/regf.idl
clean::
- @-rm -f lib/registry/regf.h lib/registry/tdr_regf*
+ @-rm -f $(dir)/regf.h $(dir)/tdr_regf*
################################################
# Start SUBSYSTEM registry