summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-01-07 00:06:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:50 -0500
commitcaa913ead4c17ff775e6dd8db47ed48cde1421c2 (patch)
tree8d64a50f7d7af5fb57095c41729391f43cec80bb
parentfc6f41d70da2c092fae39a9caee4c32977b42999 (diff)
downloadsamba-caa913ead4c17ff775e6dd8db47ed48cde1421c2.tar.gz
samba-caa913ead4c17ff775e6dd8db47ed48cde1421c2.tar.bz2
samba-caa913ead4c17ff775e6dd8db47ed48cde1421c2.zip
r12753: Try to fix the build after a 'make clean'. (the wildcards will not
expand because they don't exist yet). Thanks again to HotaruT. Andrew Bartlett (This used to be commit d3abfecec5c9468e93d2d40181ce5d20f8135566)
-rw-r--r--source4/build/smb_build/makefile.pm1
-rw-r--r--source4/librpc/config.mk6
2 files changed, 4 insertions, 3 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 2e06dc179a..4bf2e11b6e 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -509,6 +509,7 @@ sub write($$)
IDL_FILES = \$(wildcard librpc/idl/*.idl)
\$(patsubst librpc/idl/%.idl,librpc/gen_ndr/ndr_%.c,\$(IDL_FILES)) \\
\$(patsubst librpc/idl/%.idl,librpc/gen_ndr/ndr_\%_c.c,\$(IDL_FILES)) \\
+\$(patsubst librpc/idl/%.idl,librpc/gen_ndr/ndr_\%_ejs.c,\$(IDL_FILES)) \\
\$(patsubst librpc/idl/%.idl,librpc/gen_ndr/ndr_%.h,\$(IDL_FILES)): idl
__EOD__
);
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 55b59cbb26..52f9a7589b 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -296,9 +296,9 @@ OBJ_FILES = gen_ndr/ndr_winsrepl.o
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR NDR_NBT
-librpc/gen_ndr/tables.c: librpc/gen_ndr/ndr_*.h
- @$(PERL) librpc/tables.pl --output=librpc/gen_ndr/tables.c \
- librpc/gen_ndr/ndr_*.h
+librpc/gen_ndr/tables.c: $(patsubst librpc/idl/%.idl,librpc/gen_ndr/ndr_%.h,$(IDL_FILES))
+ @$(PERL) librpc/tables.pl --output=librpc/gen_ndr/tables.c $^
+
[SUBSYSTEM::NDR_IFACE_TABLE]
OBJ_FILES = gen_ndr/tables.o