summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/TODO1
-rw-r--r--source4/build/smb_build/makefile.pm10
2 files changed, 7 insertions, 4 deletions
diff --git a/source4/build/smb_build/TODO b/source4/build/smb_build/TODO
index de6a1a101d..616c53201b 100644
--- a/source4/build/smb_build/TODO
+++ b/source4/build/smb_build/TODO
@@ -1,3 +1,4 @@
+- pregenerate more stuff (IDL, manpages, lex/yacc?)
- saner names for:
libcli.so.0.0.1 (rename to libsmb?)
libcli_cldap.so.0.0.1 (rename to libcldap?)
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 36a3834e40..972153662d 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -41,15 +41,17 @@ sub new($$$)
$self->output("################################################\n");
$self->output("\n");
- if (!$self->{automatic_deps}) {
- $self->output("ALL_PREDEP = proto\n");
- }
-
$self->output("default: all\n\n");
$self->_prepare_path_vars();
$self->_prepare_compiler_linker();
+ if (!$self->{automatic_deps}) {
+ $self->output("ALL_PREDEP = proto\n");
+ } else {
+ $self->output("CFLAGS += -MD\n");
+ }
+
return $self;
}