r12753: Try to fix the build after a 'make clean'. (the wildcards will not
authorAndrew Bartlett <abartlet@samba.org>
Sat, 7 Jan 2006 00:06:58 +0000 (00:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:49:50 +0000 (13:49 -0500)
expand because they don't exist yet).  Thanks again to HotaruT.

Andrew Bartlett
(This used to be commit d3abfecec5c9468e93d2d40181ce5d20f8135566)

source4/build/smb_build/makefile.pm
source4/librpc/config.mk

index 2e06dc179ac7a39254f41c06306feb48bd34de0d..4bf2e11b6ec967607db411dcf6e6e4d9688484a2 100644 (file)
@@ -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__
 );
index 55b59cbb2620b60c1e5c2915cb74837baa39193a..52f9a7589b0709475458f2c0383246d8aff92962 100644 (file)
@@ -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