summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-07 09:38:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:50 -0500
commitaf1b64c92fe5d8164a654865930bf2fd85b03b28 (patch)
treecfe9056c07b76b6fcc414155c94c1fe5dd93e78b /source4/main.mk
parentdf35c7612f960cca13bb86029b35749ecd90254f (diff)
downloadsamba-af1b64c92fe5d8164a654865930bf2fd85b03b28.tar.gz
r18210: - reenable autodependencies
- and add -MT $@ to the dependency generation to notice changes in depdendecies of header files you may need a 'make clean' or at least you need to remove heimdal_build/replace.hd metze (This used to be commit 5ecf98cc189039023ff0a97f43eba7fb2c2cdc46)
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/main.mk b/source4/main.mk
index cb8dbc18485..84a8f60544e 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -317,15 +317,15 @@ unused_macros:
.c.d:
@echo "Generating dependencies for $<"
- @$(CC) -M -MG -MP -MT $(<:.c=.o) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
+ @$(CC) -M -MG -MP -MT $(<:.c=.o) -MT $@ `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
.c.hd:
@echo "Generating host-compiler dependencies for $<"
- @$(CC) -M -MG -MP -MT $(<:.c=.ho) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
+ @$(CC) -M -MG -MP -MT $(<:.c=.ho) -MT $@ `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
include/includes.d: include/includes.h
@echo "Generating dependencies for $<"
- @$(CC) -M -MG -MT include/includes.h.gch $(CFLAGS) $< -o $@
+ @$(CC) -M -MG -MT include/includes.h.gch -MT $@ $(CFLAGS) $< -o $@
.c.o:
@if test -n "$(CC_CHECKER)"; then \