From c9323fd5f848bf05549d9b74cf3cad3074b5d8ea Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 28 Jul 2005 21:52:32 +0000 Subject: r8841: disable dependencies for now. To try dependencies, uncomment the 3rd-to-last line of Makefile (This used to be commit 4faed45851ad83249a9c8778e052a168bf5db2fa) --- source4/build/smb_build/makefile.pm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'source4/build') 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)) \\ -- cgit