svn commit: samba r14730 - in branches/SAMBA_4_0/source: .

jelmer at samba.org jelmer at samba.org
Sat Mar 25 21:42:29 GMT 2006


Author: jelmer
Date: 2006-03-25 21:42:29 +0000 (Sat, 25 Mar 2006)
New Revision: 14730

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

Log:
Remove dependency information with 'make clean'

Modified:
   branches/SAMBA_4_0/source/main.mk


Changeset:
Modified: branches/SAMBA_4_0/source/main.mk
===================================================================
--- branches/SAMBA_4_0/source/main.mk	2006-03-25 21:02:22 UTC (rev 14729)
+++ branches/SAMBA_4_0/source/main.mk	2006-03-25 21:42:29 UTC (rev 14730)
@@ -250,7 +250,7 @@
 	@echo Removing proto headers
 	@-rm -f $(PROTO_HEADERS)
 
-distclean: clean clean_deps
+distclean: clean
 	-rm -f include/config.h include/smb_build.h
 	-rm -f Makefile 
 	-rm -f config.status
@@ -319,11 +319,11 @@
 
 .c.d:
 	@echo "Generating dependencies for $<"
-	@$(CC) -M -MG -MT $(<:.c=.o) `script/cflags.pl $@` $(CFLAGS) $< -o $@
+	@$(CC) -M -MG -MP -MT $(<:.c=.o) `script/cflags.pl $@` $(CFLAGS) $< -o $@
 
 .c.hd:
 	@echo "Generating dependencies for $<"
-	@$(CC) -M -MG -MT $(<:.c=.ho) `script/cflags.pl $@` $(CFLAGS) $< -o $@
+	@$(CC) -M -MG -MP -MT $(<:.c=.ho) `script/cflags.pl $@` $(CFLAGS) $< -o $@
 
 include/includes.d: include/includes.h
 	@echo "Generating dependencies for $<"
@@ -369,6 +369,6 @@
 DEP_FILES = $(patsubst %.ho,%.hd,$(patsubst %.o,%.d,$(ALL_OBJS))) \
 		   include/includes.d
 
-clean_deps:
+clean::
 	@echo Removing dependency files
 	@rm -f $(DEP_FILES)



More information about the samba-cvs mailing list