summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-07-28 21:52:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:10 -0500
commitc9323fd5f848bf05549d9b74cf3cad3074b5d8ea (patch)
tree26a79bb78433e72392c3f20025718d46ad364170 /source4
parent294d2f4f7845cb5a111a3da6f1008ad678dc963d (diff)
downloadsamba-c9323fd5f848bf05549d9b74cf3cad3074b5d8ea.tar.gz
samba-c9323fd5f848bf05549d9b74cf3cad3074b5d8ea.tar.bz2
samba-c9323fd5f848bf05549d9b74cf3cad3074b5d8ea.zip
r8841: disable dependencies for now. To try dependencies, uncomment the 3rd-to-last line of Makefile
(This used to be commit 4faed45851ad83249a9c8778e052a168bf5db2fa)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/makefile.pm9
1 files changed, 2 insertions, 7 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 197f506e2a..530a040565 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -217,15 +217,10 @@ sub _prepare_depend_CC_rule()
{
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 @@ sub _prepare_makefile_in($)
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)) \\