r26602: Revert my previous commit as it only works with GNU make.
[samba.git] / source4 / lib / registry / config.mk
index 71c973f68d449637714f35478283e9d966e61e29..f1f50479cbce66e5070bb5adaf55e6e876ba234a 100644 (file)
@@ -3,16 +3,16 @@ PUBLIC_DEPENDENCIES = TDR
 OBJ_FILES = tdr_regf.o
 
 # Special support for external builddirs
-$(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
+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
        @CPP="$(CPP)" srcdir="$(srcdir)" $(PERL) $(srcdir)/pidl/pidl $(PIDL_ARGS) \
-               --header --outputdir=$(dir) \
-               --tdr-parser -- $(srcdir)/$(dir)/regf.idl
+               --header --outputdir=lib/registry \
+               --tdr-parser -- $(srcdir)/lib/registry/regf.idl
 
 clean::
-       @-rm -f $(dir)/regf.h $(dir)/tdr_regf*
+       @-rm -f lib/registry/regf.h lib/registry/tdr_regf*
 
 ################################################
 # Start SUBSYSTEM registry