diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-24 14:47:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:09 -0500 |
commit | 0587194725d21ac7858f7cd4b56efdc10f2ebb16 (patch) | |
tree | f24378dd73e778ff2581b14841a1f9b0685194cc /source4/build/smb_build | |
parent | 76ab42061529f026f3cade4ab2b2779dd676a61a (diff) | |
download | samba-0587194725d21ac7858f7cd4b56efdc10f2ebb16.tar.gz samba-0587194725d21ac7858f7cd4b56efdc10f2ebb16.tar.bz2 samba-0587194725d21ac7858f7cd4b56efdc10f2ebb16.zip |
r14693: Automatically update dependencies during compilation
(This used to be commit cea38a2960f9da11bc96f5b05fd5b44b39509cf8)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r-- | source4/build/smb_build/TODO | 1 | ||||
-rw-r--r-- | source4/build/smb_build/makefile.pm | 10 |
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; } |