summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/policy/config.mk4
-rw-r--r--source4/lib/registry/config.mk14
2 files changed, 9 insertions, 9 deletions
diff --git a/source4/lib/policy/config.mk b/source4/lib/policy/config.mk
index f404d58377..da9c8daba4 100644
--- a/source4/lib/policy/config.mk
+++ b/source4/lib/policy/config.mk
@@ -3,9 +3,9 @@ CFLAGS = -Iheimdal/lib/roken
OBJ_FILES = lex.o parse_adm.o
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSAMBA-CONFIG LIBTALLOC CHARSET
-lib/policy/lex.l: lib/policy/parse_adm.h
+$(dir)/lex.l: $(dir)/parse_adm.h
-lib/policy/parse_adm.h: lib/policy/parse_adm.c
+$(dir)/parse_adm.h: $(dir)/parse_adm.c
[BINARY::dumpadm]
OBJ_FILES = dumpadm.o
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