summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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"; \