summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-06 07:11:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:40 -0500
commited356c798974a302036b7e68c7e6b703c50bf09d (patch)
tree748f7656ae6c919876b988df9325d346c5463982 /source4
parenteb1def379e12264438504402a543490a06036e00 (diff)
downloadsamba-ed356c798974a302036b7e68c7e6b703c50bf09d.tar.gz
samba-ed356c798974a302036b7e68c7e6b703c50bf09d.tar.bz2
samba-ed356c798974a302036b7e68c7e6b703c50bf09d.zip
r18143: the 'showflags' convention from Samba is useful for the other packages
(This used to be commit a4d1f1d2229e1a0b1523bf14fab59278207abbc0)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/Makefile.in7
-rw-r--r--source4/lib/replace/Makefile.in7
-rw-r--r--source4/lib/talloc/Makefile.in7
-rw-r--r--source4/lib/tdb/Makefile.in7
4 files changed, 24 insertions, 4 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index af47667bed..f25a676723 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -53,7 +53,12 @@ EXAMPLES = examples/ldbreader examples/ldifreader
DIRS = lib bin common ldb_tdb ldb_ldap ldb_sqlite3 modules tools examples tdb talloc
-all: dirs $(OBJS) $(LDB_LIB) $(BINS) $(EXAMPLES) manpages
+all: showflags dirs $(OBJS) $(LDB_LIB) $(BINS) $(EXAMPLES) manpages
+
+showflags:
+ @echo 'ldb will be compiled with flags:'
+ @echo ' CFLAGS = $(CFLAGS)'
+ @echo ' LIBS = $(LIBS)'
.c.o:
@echo Compiling $*.c
diff --git a/source4/lib/replace/Makefile.in b/source4/lib/replace/Makefile.in
index 502dacbd2a..b2075d953b 100644
--- a/source4/lib/replace/Makefile.in
+++ b/source4/lib/replace/Makefile.in
@@ -17,7 +17,12 @@ CFLAGS=-I. -I@libreplacedir@ @CFLAGS@
OBJS = @LIBREPLACEOBJ@
-all: libreplace.a testsuite
+all: showflags libreplace.a testsuite
+
+showflags:
+ @echo 'libreplace will be compiled with flags:'
+ @echo ' CFLAGS = $(CFLAGS)'
+ @echo ' LIBS = $(LIBS)'
install: all
mkdir -p $(libdir)
diff --git a/source4/lib/talloc/Makefile.in b/source4/lib/talloc/Makefile.in
index 73336c2933..4effa96415 100644
--- a/source4/lib/talloc/Makefile.in
+++ b/source4/lib/talloc/Makefile.in
@@ -19,7 +19,12 @@ EXTRA_TARGETS = @DOC_TARGET@
LIBOBJ = @TALLOCOBJ@ @LIBREPLACEOBJ@
-all: libtalloc.a testsuite $(EXTRA_TARGETS)
+all: showflags libtalloc.a testsuite $(EXTRA_TARGETS)
+
+showflags:
+ @echo 'talloc will be compiled with flags:'
+ @echo ' CFLAGS = $(CFLAGS)'
+ @echo ' LIBS = $(LIBS)'
testsuite: $(LIBOBJ) testsuite.o
$(CC) $(CFLAGS) -o testsuite testsuite.o $(LIBOBJ) $(LIBS)
diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in
index 64a6dc0891..d305518370 100644
--- a/source4/lib/tdb/Makefile.in
+++ b/source4/lib/tdb/Makefile.in
@@ -19,7 +19,12 @@ TDB_OBJ = @TDBOBJ@ @LIBREPLACEOBJ@
DIRS = lib bin common tools examples
-all: dirs $(PROGS)
+all: showflags dirs $(PROGS)
+
+showflags:
+ @echo 'tdb will be compiled with flags:'
+ @echo ' CFLAGS = $(CFLAGS)'
+ @echo ' LIBS = $(LIBS)'
.c.o:
@echo Compiling $*.c