1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
Author: Andreas Beckmann <anbe@debian.org>
Description: make the build verbose and reproducible
--- a/Makefile.in
+++ b/Makefile.in
@@ -12,6 +12,7 @@ HEADERS = mod_log_sql.h \
winconfig.h
CFLAGS = -Wc,-Wall -Wc,-fno-strict-aliasing
+CFLAGS += -Wc,-ffile-prefix-map=$(CURDIR)=.
ifeq (@OOO_MAINTAIN@,1)
CFLAGS += -Wc,-Werror
@@ -114,30 +115,30 @@ all-subdirs install-subdirs activate-sub
done;
TODO: TODO.in
- @./gen_todo.pl
+ ./gen_todo.pl
$(coreTARGET): $(coreSOURCES) $(HEADERS)
- @@APXS_BIN@ -c -o $(coreTARGET) $(coreCFLAGS) $(CFLAGS) \
+ @APXS_BIN@ -c -o $(coreTARGET) $(coreCFLAGS) $(CFLAGS) \
@DEFS@ @AP_DEFS@ $(coreLDADD) $(coreSOURCES)
$(sslTARGET): $(sslSOURCES) $(HEADERS)
- @@APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \
+ @APXS_BIN@ -c -o $(sslTARGET) $(sslCFLAGS) $(CFLAGS) \
@DEFS@ @AP_DEFS@ $(sslLDADD) $(sslSOURCES)
$(mysqlTARGET): $(mysqlSOURCES) $(HEADERS)
- @@APXS_BIN@ -c -o $(mysqlTARGET) $(mysqlCFLAGS) $(CFLAGS) \
+ @APXS_BIN@ -c -o $(mysqlTARGET) $(mysqlCFLAGS) $(CFLAGS) \
@DEFS@ @AP_DEFS@ $(mysqlLDADD) $(mysqlSOURCES)
$(pgsqlTARGET): $(pgsqlSOURCES) $(HEADERS)
- @@APXS_BIN@ -c -o $(pgsqlTARGET) $(pgsqlCFLAGS) $(CFLAGS) \
+ @APXS_BIN@ -c -o $(pgsqlTARGET) $(pgsqlCFLAGS) $(CFLAGS) \
@DEFS@ @AP_DEFS@ $(pgsqlLDADD) $(pgsqlSOURCES)
$(dbiTARGET): $(dbiSOURCES) $(HEADERS)
- @@APXS_BIN@ -c -o $(dbiTARGET) $(dbiCFLAGS) $(CFLAGS) \
+ @APXS_BIN@ -c -o $(dbiTARGET) $(dbiCFLAGS) $(CFLAGS) \
@DEFS@ @AP_DEFS@ $(dbiLDADD) $(dbiSOURCES)
install: $(TARGETS) install-subdirs
- @@APXS_BIN@ -n $(coreNAME) -i $(coreTARGET); \
+ @APXS_BIN@ -n $(coreNAME) -i $(coreTARGET); \
if test @WANT_MYSQL_MOD@ -eq 1; then \
@APXS_BIN@ -n $(mysqlNAME) -i $(mysqlTARGET); \
fi; \
@@ -166,7 +167,7 @@ install: $(TARGETS) install-subdirs
echo "*************************************************************************";
activate: activate-subdirs
- @@APXS_BIN@ -n $(coreNAME) -i -a $(coreTARGET); \
+ @APXS_BIN@ -n $(coreNAME) -i -a $(coreTARGET); \
if test @WANT_SSL_MOD@ -eq 1; then \
@APXS_BIN@ -n $(sslNAME) -i -a $(sslTARGET); \
fi
|