svn commit: samba r10043 - in branches/SAMBA_4_0/source: build/smb_build lib/registry

jelmer at samba.org jelmer at samba.org
Mon Sep 5 20:56:28 GMT 2005


Author: jelmer
Date: 2005-09-05 20:56:28 +0000 (Mon, 05 Sep 2005)
New Revision: 10043

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

Log:
Only recompile subsystems that actually need recompilation

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm
   branches/SAMBA_4_0/source/build/smb_build/output.pm
   branches/SAMBA_4_0/source/lib/registry/config.mk


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-09-05 20:36:07 UTC (rev 10042)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-09-05 20:56:28 UTC (rev 10043)
@@ -365,7 +365,7 @@
 
 	my $output = "$ctx->{TYPE}_$ctx->{NAME}_DEPEND_LIST = $tmpdepend\n";
 
-	$output .= "$ctx->{TARGET}: \$($ctx->{TYPE}_$ctx->{NAME}_DEPEND_LIST) \$($ctx->{TYPE}_$ctx->{NAME}_OBJS)\n";
+	$output .= "$ctx->{TARGET}: \$($ctx->{TYPE}_$ctx->{NAME}_OBJS)\n";
 
 	$output .= "\t\@echo \"Pre-Linking $ctx->{TYPE} $ctx->{NAME}\"\n";
 	$output .= "\t@\$(LD) -r \$($ctx->{TYPE}_$ctx->{NAME}_OBJS) -o $ctx->{TARGET}\n";

Modified: branches/SAMBA_4_0/source/build/smb_build/output.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/output.pm	2005-09-05 20:36:07 UTC (rev 10042)
+++ branches/SAMBA_4_0/source/build/smb_build/output.pm	2005-09-05 20:56:28 UTC (rev 10043)
@@ -120,11 +120,6 @@
 	foreach $part (values %{$depend}) {
 		next if not defined($part->{OUTPUT_TYPE});
 
-		foreach (@{$part->{DEPENDENCIES}}) {
-			my $elem = $$_;
-			push(@{$part->{DEPEND_LIST}}, $elem->{TARGET}) if defined($elem->{TARGET});
-		}
-
 		# Always import the CFLAGS and CPPFLAGS of the unique dependencies
 		foreach my $elem (values %{$part->{UNIQUE_DEPENDENCIES}}) {
 			next if $elem == $part;
@@ -134,6 +129,7 @@
 			push(@{$part->{LINK_LIST}}, $elem->{OUTPUT}) if defined($elem->{OUTPUT});
 			push(@{$part->{LINK_FLAGS}}, @{$elem->{LIBS}}) if defined($elem->{LIBS});
 			push(@{$part->{LINK_FLAGS}},@{$elem->{LDFLAGS}}) if defined($elem->{LDFLAGS});
+			push(@{$part->{DEPEND_LIST}}, $elem->{TARGET}) if defined($elem->{TARGET});
 
 			push(@{$part->{SUBSYSTEM_INIT_FUNCTIONS}}, $elem->{INIT_FUNCTION}) if 
 				$part->{OUTPUT_TYPE} eq "BINARY" and 

Modified: branches/SAMBA_4_0/source/lib/registry/config.mk
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/config.mk	2005-09-05 20:36:07 UTC (rev 10042)
+++ branches/SAMBA_4_0/source/lib/registry/config.mk	2005-09-05 20:56:28 UTC (rev 10043)
@@ -16,6 +16,7 @@
 NOPROTO = YES
 INIT_OBJ_FILES = lib/registry/tdr_regf.o
 
+lib/registry/reg_backend_nt4.c: lib/registry/tdr_regf.c
 lib/registry/tdr_regf.c: lib/registry/regf.idl
 	@./pidl/pidl --header --outputdir=lib/registry --parse --tdr-header --tdr-parser -- lib/registry/regf.idl
 



More information about the samba-cvs mailing list