summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-03-31 08:50:57 +0200
committerMichael Adam <obnox@samba.org>2009-03-31 08:51:40 +0200
commit9aab2631c6294ebc3e4a7ab2367e22e3d552d41b (patch)
tree5f6c5a752c4f2d2496508df770a967e333026e37 /source3
parentb2e8bc28a5f589b86269907ff384a9e4c1f3aaca (diff)
downloadsamba-9aab2631c6294ebc3e4a7ab2367e22e3d552d41b.tar.gz
samba-9aab2631c6294ebc3e4a7ab2367e22e3d552d41b.tar.bz2
samba-9aab2631c6294ebc3e4a7ab2367e22e3d552d41b.zip
s3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebled
Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index a830033f7a..6434f90389 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1305,6 +1305,21 @@ SHOWFLAGS::
@echo " SHLIBEXT = @SHLIBEXT@"
@echo " SONAMEFLAG = @SONAMEFLAG@"
+# "showcflags" target for debuggin how CFLAGS are composed:
+
+.PHONY: showcflags SHOWCFLAGS
+
+showcflags: SHOWCFLAGS
+
+SHOWCFLAGS::
+ @echo "CFLAGS = $(CFLAGS)"
+ @echo "FLAGS = $(FLAGS)"
+ @echo ""
+ @echo "FLAGS1 = @FLAGS1@"
+ @echo "SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
+ @echo "CPPFLAGS = $(CPPFLAGS)"
+ @echo "ISA = $(ISA)"
+
MAKEDIR = || exec false; \
if test -d "$$dir"; then :; else \
echo mkdir "$$dir"; \