summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-25 21:42:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:15 -0500
commit766d08d3144873fb240b495e4a7df5c1ddb0235c (patch)
treeee8a24692bf610351d0b8d40456413b05ae1b624
parent36e50ecc04abd678ef9b8a748d87d8fc5242572b (diff)
downloadsamba-766d08d3144873fb240b495e4a7df5c1ddb0235c.tar.gz
samba-766d08d3144873fb240b495e4a7df5c1ddb0235c.tar.bz2
samba-766d08d3144873fb240b495e4a7df5c1ddb0235c.zip
r14730: Remove dependency information with 'make clean'
(This used to be commit 16da854eff726f11971aab8e62098044989e4ccc)
-rw-r--r--source4/main.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 44a1b2e0de..b1d001a2ae 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -250,7 +250,7 @@ clean:: clean_pch
@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 @@ unused_macros:
.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 @@ DOCBOOK_MANPAGE_URL = http://docbook.sourceforge.net/release/xsl/current/manpage
DEP_FILES = $(patsubst %.ho,%.hd,$(patsubst %.o,%.d,$(ALL_OBJS))) \
include/includes.d
-clean_deps:
+clean::
@echo Removing dependency files
@rm -f $(DEP_FILES)