Author: tridge
Date: 2006-09-06 07:11:09 +0000 (Wed, 06 Sep 2006)
New Revision: 18143

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

Log:

the 'showflags' convention from Samba is useful for the other packages

Modified:
   branches/SAMBA_4_0/source/lib/ldb/Makefile.in
   branches/SAMBA_4_0/source/lib/replace/Makefile.in
   branches/SAMBA_4_0/source/lib/talloc/Makefile.in
   branches/SAMBA_4_0/source/lib/tdb/Makefile.in


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/Makefile.in       2006-09-06 06:47:10 UTC 
(rev 18142)
+++ branches/SAMBA_4_0/source/lib/ldb/Makefile.in       2006-09-06 07:11:09 UTC 
(rev 18143)
@@ -53,8 +53,13 @@
 
 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
        @mkdir -p `dirname [EMAIL PROTECTED]

Modified: branches/SAMBA_4_0/source/lib/replace/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/Makefile.in   2006-09-06 06:47:10 UTC 
(rev 18142)
+++ branches/SAMBA_4_0/source/lib/replace/Makefile.in   2006-09-06 07:11:09 UTC 
(rev 18143)
@@ -17,8 +17,13 @@
 
 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)
        $(INSTALL) libreplace.a $(libdir)

Modified: branches/SAMBA_4_0/source/lib/talloc/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/Makefile.in    2006-09-06 06:47:10 UTC 
(rev 18142)
+++ branches/SAMBA_4_0/source/lib/talloc/Makefile.in    2006-09-06 07:11:09 UTC 
(rev 18143)
@@ -19,8 +19,13 @@
 
 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)
 

Modified: branches/SAMBA_4_0/source/lib/tdb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/Makefile.in       2006-09-06 06:47:10 UTC 
(rev 18142)
+++ branches/SAMBA_4_0/source/lib/tdb/Makefile.in       2006-09-06 07:11:09 UTC 
(rev 18143)
@@ -19,8 +19,13 @@
 
 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
        @mkdir -p `dirname [EMAIL PROTECTED]

Reply via email to