svn commit: samba r6148 - in branches/SAMBA_4_0/source/build/smb_build: .

tpot at samba.org tpot at samba.org
Thu Mar 31 02:40:11 GMT 2005


Author: tpot
Date: 2005-03-31 02:40:08 +0000 (Thu, 31 Mar 2005)
New Revision: 6148

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6148

Log:
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.

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-03-31 02:14:31 UTC (rev 6147)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2005-03-31 02:40:08 UTC (rev 6148)
@@ -600,6 +600,13 @@
 	\@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 \\



More information about the samba-cvs mailing list