Author: tridge Date: 2005-07-13 08:07:30 +0000 (Wed, 13 Jul 2005) New Revision: 13
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=smb-build&rev=13 Log: this seems to be portable to aix, solaris and linux Modified: trunk/build/smb_build/makefile.pm Changeset: Modified: trunk/build/smb_build/makefile.pm =================================================================== --- trunk/build/smb_build/makefile.pm 2005-07-13 07:49:50 UTC (rev 12) +++ trunk/build/smb_build/makefile.pm 2005-07-13 08:07:30 UTC (rev 13) @@ -198,16 +198,12 @@ my $flagsstr = ""; my $output; -# I know the EXTRA_CFLAGS and shell below looks redundent, but it isn't -# each works with a different type of make - $output = << "__EOD__"; # $comment -EXTRA_CFLAGS=script/cflags.sh \$\@ .$src.$dst: [EMAIL PROTECTED] $message \$\*.$src - \$(CC) \$(TARGET_CFLAGS) \$(EXTRA_CFLAGS:sh) \$(shell script/cflags.sh \$\@) \$(CFLAGS) $flags -c \$< -o \$\@ + \$(CC) \$(TARGET_CFLAGS) `script/cflags.sh [EMAIL PROTECTED] \$(CFLAGS) $flags -c \$< -o \$\@ [EMAIL PROTECTED]@ -mv `echo \$\@ | sed 's%^.*/%%g'` \$\@ __EOD__