svn commit: samba r8841 - in branches/SAMBA_4_0/source/build/smb_build: .

jelmer at samba.org jelmer at samba.org
Thu Jul 28 21:52:32 GMT 2005


Author: jelmer
Date: 2005-07-28 21:52:32 +0000 (Thu, 28 Jul 2005)
New Revision: 8841

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

Log:
disable dependencies for now. To try dependencies, uncomment the 3rd-to-last line of Makefile

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-07-28 21:40:04 UTC (rev 8840)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-07-28 21:52:32 UTC (rev 8841)
@@ -217,15 +217,10 @@
 {
 	return << '__EOD__';
 
-%.d: %.c
+.c.d:
 	@echo "Generating dependencies for $<"
 	@$(CC) -MM -MG -MT $(<:.c=.o) -MF $@ $(CFLAGS) $<
 
-# Ugly fallback used for generating a dependency file when
-# make doesn't know how to build the related C file
-%.d: 
-	@touch $@
-
 __EOD__
 }
 
@@ -865,7 +860,7 @@
 
 	if ($config{developer} eq "yes") {
 		$output .= <<__EOD__
--include \$(_ALL_OBJS_OBJS:.o=.d)
+#-include \$(_ALL_OBJS_OBJS:.o=.d)
 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)) \\



More information about the samba-cvs mailing list