svn commit: samba r12753 - in branches/SAMBA_4_0/source: build/smb_build librpc

abartlet at samba.org abartlet at samba.org
Sat Jan 7 00:07:08 GMT 2006


Author: abartlet
Date: 2006-01-07 00:06:58 +0000 (Sat, 07 Jan 2006)
New Revision: 12753

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12753

Log:
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

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm
   branches/SAMBA_4_0/source/librpc/config.mk


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2006-01-06 23:15:06 UTC (rev 12752)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2006-01-07 00:06:58 UTC (rev 12753)
@@ -509,6 +509,7 @@
 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__
 );

Modified: branches/SAMBA_4_0/source/librpc/config.mk
===================================================================
--- branches/SAMBA_4_0/source/librpc/config.mk	2006-01-06 23:15:06 UTC (rev 12752)
+++ branches/SAMBA_4_0/source/librpc/config.mk	2006-01-07 00:06:58 UTC (rev 12753)
@@ -296,10 +296,10 @@
 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
 NOPROTO = YES



More information about the samba-cvs mailing list