summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/Makefile1
-rw-r--r--source4/build/smb_build/makefile.pm8
2 files changed, 1 insertions, 8 deletions
diff --git a/source4/Makefile b/source4/Makefile
index f9a753eb67..1fddfefce3 100644
--- a/source4/Makefile
+++ b/source4/Makefile
@@ -23,7 +23,6 @@ default: all
include rules.mk
include data.mk
-include extra_cflags.txt
DEFAULT_HEADERS = $(srcdir)/lib/util/dlinklist.h \
$(srcdir)/version.h
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 902e8f7f42..c5cc3d3e8c 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -442,13 +442,7 @@ sub CFlags($$)
my $cflags = join(' ', @cflags);
- foreach (@{$key->{OBJ_LIST}}) {
- my $ofile = $_;
- my $dfile = $_;
- $dfile =~ s/\.o$/.d/;
- $dfile =~ s/\.ho$/.d/;
- $self->output("$ofile $dfile: CFLAGS+= $cflags\n");
- }
+ $self->output("\$(patsubst %.ho,%.d,\$(key->{NAME}_OBJ_FILES:.o=.d)) \$($key->{NAME}_OBJ_FILES): CFLAGS+= $cflags\n");
}
1;