svn commit: samba r7311 - in branches/SAMBA_4_0/source/build/smb_build: .

jelmer at samba.org jelmer at samba.org
Sun Jun 5 22:59:34 GMT 2005


Author: jelmer
Date: 2005-06-05 22:59:34 +0000 (Sun, 05 Jun 2005)
New Revision: 7311

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

Log:
Use TARGET_CFLAGS for depend list as well

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-06-05 22:30:20 UTC (rev 7310)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-06-05 22:59:34 UTC (rev 7311)
@@ -364,14 +364,14 @@
 
 	$output = "$ctx->{TYPE}_$ctx->{NAME}_DEPEND_LIST = $tmpdepend\n";
 
-	$output .= "$ctx->{TYPE}_$ctx->{NAME}: \$($ctx->{TYPE}_$ctx->{NAME}_DEPEND_LIST)";
+	$output .= "$ctx->{TYPE}_$ctx->{NAME}: ";
 
 	if (defined ($ctx->{TARGET_CFLAGS})) {
-		$output .= "\n\t@\$(MAKE) \$($ctx->{TYPE}_$ctx->{NAME}_OBJS) TARGET_CFLAGS=\"" . join(' ', @{$ctx->{TARGET_CFLAGS}}) . "\"\n";
-	} else {
-		$output .=" \$($ctx->{TYPE}_$ctx->{NAME}_OBJS)\n";
-	}
+		$output .= "\n\t@\$(MAKE) TARGET_CFLAGS=\"" . join(' ', @{$ctx->{TARGET_CFLAGS}}) . "\" ";
+	} 
 
+	$output .= "\$($ctx->{TYPE}_$ctx->{NAME}_DEPEND_LIST) \$($ctx->{TYPE}_$ctx->{NAME}_OBJS)\n";
+
 	return $output;
 }
 



More information about the samba-cvs mailing list