summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-09 17:07:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-09 17:07:02 +0100
commitc8c9d70221b5d5b5e58ebb306911aa2f9b6ac2a6 (patch)
tree1bf5ca52a461cf03a5efb14f8f90f82d66807e25 /source4/build/smb_build
parent9fccd8361320e82a7819e73f44bc62cf37f88c60 (diff)
downloadsamba-c8c9d70221b5d5b5e58ebb306911aa2f9b6ac2a6.tar.gz
samba-c8c9d70221b5d5b5e58ebb306911aa2f9b6ac2a6.tar.bz2
samba-c8c9d70221b5d5b5e58ebb306911aa2f9b6ac2a6.zip
Move first_prereq test to m4 code.
(This used to be commit c0fef09c5d88158b620f38b6f74498a8b6323bd9)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/makefile.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 0b1cc7eac2..5799d89c57 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -111,14 +111,9 @@ __EOD__
sub _prepare_suffix_rules($)
{
my ($self) = @_;
- my $first_prereq = '$*.c';
-
- if ($self->{config}->{GNU_MAKE} eq 'yes') {
- $first_prereq = '$<';
- }
$self->output(<< "__EOD__"
-FIRST_PREREQ = $first_prereq
+FIRST_PREREQ = $self->{config}->{FIRST_PREREQ}
__EOD__
);
@@ -461,7 +456,6 @@ sub Binary($$)
push (@{$self->{torture_progs}}, "$installdir/$ctx->{BINARY}");
}
-
push (@{$self->{binaries}}, "$localdir/$ctx->{BINARY}");
$self->_prepare_list($ctx, "OBJ_LIST");