summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-03-31 02:40:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:22 -0500
commitbc345db961ecbec8a47550b3a224f2c6d92e2598 (patch)
tree6a38b629b15d370efd0f4c7b3e0f6816e5da8d4f /source4/build
parentc36387446668b494b68ad5cf44407c9ce7cee497 (diff)
downloadsamba-bc345db961ecbec8a47550b3a224f2c6d92e2598.tar.gz
samba-bc345db961ecbec8a47550b3a224f2c6d92e2598.tar.bz2
samba-bc345db961ecbec8a47550b3a224f2c6d92e2598.zip
r6148: Add a showflags target to display the various compiler flags a la
showlayout. There seems to be a bunch of -D and -I stuff in LD_FLAGS which I don't think should be there. (This used to be commit 87f88aaceeacf57b4a8a31e005894cbff4a21779)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/makefile.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 0f0a60688a..5d567d9b72 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -600,6 +600,13 @@ showlayout:
\@echo \" piddir: \$(PIDDIR)\"
\@echo \" lockdir: \$(LOCKDIR)\"
+showflags:
+ \@echo \"Samba will be compiled with flags:\"
+ \@echo \" CC_FLAGS = \$(CC_FLAGS)\"
+ \@echo \" LD_FLAGS = \$(LD_FLAGS)\"
+ \@echo \" STLD_FLAGS = \$(STLD_FLAGS)\"
+ \@echo \" SHLD_FLAGS = \$(SHLD_FLAGS)\"
+
SBIN_PROGS = bin/smbd
BIN_PROGS = bin/smbclient \\