summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build')
-rwxr-xr-xsource4/build/smb_build/cflags.pm1
-rw-r--r--source4/build/smb_build/makefile.pm9
2 files changed, 4 insertions, 6 deletions
diff --git a/source4/build/smb_build/cflags.pm b/source4/build/smb_build/cflags.pm
index b5525173a0..299cbab025 100755
--- a/source4/build/smb_build/cflags.pm
+++ b/source4/build/smb_build/cflags.pm
@@ -21,6 +21,7 @@ sub create_cflags($$)
my $ofile = $_;
my $dfile = $_;
$dfile =~ s/\.o$/.d/;
+ $dfile =~ s/\.ho$/.d/;
print CFLAGS_TXT "$ofile $dfile: CFLAGS+=$key->{EXTRA_CFLAGS}\n";
}
}
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index aeffc79e4d..3ac4ad53bc 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -509,12 +509,9 @@ sub write($$)
$self->output($self->{mkfile});
if ($self->{developer}) {
- $self->output(<<__EOD__
-
--include \$(DEP_FILES)
-
-__EOD__
-);
+ $self->output("-include \$(DEP_FILES)\n");
+ } else {
+ $self->output("include static_deps.mk\n");
}
open(MAKEFILE,">$file") || die ("Can't open $file\n");