mirror of
https://github.com/samba-team/samba.git
synced 2025-08-24 21:49:29 +03:00
r18143: the 'showflags' convention from Samba is useful for the other packages
(This used to be commit a4d1f1d222
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
eb1def379e
commit
ed356c7989
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user