diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-03-03 23:22:22 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-03-03 23:22:22 +0100 |
commit | 19ca598c9cbd08b3bbb133d8bf4e54b628942015 (patch) | |
tree | a25ce8d4b7f2a99a4fd3a6a76cf511835c45b87e /source4/build/smb_build | |
parent | cf56fb9bb86fa8f8b5180ea13fb47c0cc9a768ee (diff) | |
download | samba-19ca598c9cbd08b3bbb133d8bf4e54b628942015.tar.gz samba-19ca598c9cbd08b3bbb133d8bf4e54b628942015.tar.bz2 samba-19ca598c9cbd08b3bbb133d8bf4e54b628942015.zip |
Remove useless ifs.
(This used to be commit 2e0d65edcf4a7130ea410e870160811a6423bd53)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r-- | source4/build/smb_build/makefile.pm | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 27491a7e9e..f25872d4bf 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -72,17 +72,7 @@ sub _prepare_mk_files($) push (@tmp, $_); } - $self->output(" -ifneq (\$(MAKECMDGOALS),clean) -ifneq (\$(MAKECMDGOALS),distclean) -ifneq (\$(MAKECMDGOALS),realdistclean) -"); $self->output("MK_FILES = " . array2oneperline(\@tmp) . "\n"); - $self->output(" -endif -endif -endif -"); } sub array2oneperline($) @@ -342,7 +332,7 @@ sub CFlags($$) my $cflags = join(' ', @cflags); - $self->output("\$(patsubst %.ho,%.d,\$($key->{NAME}_OBJ_LIST:.o=.d)) \$($key->{NAME}_OBJ_FILES): CFLAGS+= $cflags\n"); + $self->output("\$(patsubst %.ho,%.d,\$($key->{NAME}_OBJ_FILES:.o=.d)) \$($key->{NAME}_OBJ_FILES): CFLAGS+= $cflags\n"); } 1; |