Now AM_CFLAGS can be set by modifying GLOBAL_CFLAGS in the root
Makefile.am
This commit is contained in:
parent
f53a46e788
commit
a3678aad5c
12 changed files with 21 additions and 13 deletions
|
@ -1,6 +1,13 @@
|
|||
EXTRA_DIST = reconf
|
||||
SUBDIRS = src test utilities benchmarks
|
||||
AM_CFLAGS = -g -Wall -pedantic -Wconversion
|
||||
export GLOBAL_CFLAGS = -g -Wall -pedantic -std=gnu99 -Winline
|
||||
## GOAL: Make these not warn!
|
||||
#-Wextra -Wno-unused-parameter
|
||||
|
||||
# -feliminate-unused-debug-symbols -feliminate-unused-debug-types -funit-at-a-time -finline-functions -fno-keep-static-consts
|
||||
|
||||
#-funit-at-a-time => -finline-functions-called-once
|
||||
#-Wconversion
|
||||
|
||||
docs:
|
||||
doxygen doc/Doxyfile-api
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#LDADD=$(top_builddir)/build/libdfa.a
|
||||
lib_LIBRARIES=lib2pc.a
|
||||
lib2pc_a_SOURCES=2pc.c
|
||||
AM_CFLAGS= -g -Wall -pedantic -std=gnu99
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
|
|
@ -2,4 +2,4 @@ LDADD=$(top_builddir)/src/libdfa/libdfa.a $(top_builddir)/src/2pc/lib2pc.a
|
|||
SOURCES=cht.c
|
||||
lib_LIBRARIES=libcht.a
|
||||
libcht_a_SOURCES=cht.c cht_client.c cht_server.c cht_message.c
|
||||
AM_CFLAGS= -g -Wall -pedantic -std=gnu99
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
|
|
@ -2,4 +2,4 @@ LDADD=$(top_builddir)/build/libdfa.a $(top_builddir)/build/lib2pc.a
|
|||
SOURCES=cyrusdb_lladd.c
|
||||
lib_LIBRARIES=libcyrusdb_lladd.a
|
||||
libcyrusdb_lladd_a_SOURCES=cyrusdb_lladd.c
|
||||
AM_CFLAGS= -g -Wall -pedantic
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
lib_LIBRARIES=libdfa.a librw.a
|
||||
libdfa_a_SOURCES=libdfa.c monotree.c smash.c callbacks.c messages.c networksetup.c
|
||||
librw_a_SOURCES=rw.c
|
||||
AM_CFLAGS= -g -Wall -pedantic -std=gnu99
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
|
|
@ -20,4 +20,5 @@ liblladd_a_SOURCES=crc32.c lhtable.c common.c stats.c io.c bufferManager.c linke
|
|||
|
||||
# logger/logMemory.c \ ringbuffer.c \ asdfas
|
||||
#operations/lladdhash.c
|
||||
AM_CFLAGS= -g -Wall -pedantic -std=gnu99
|
||||
#AM_CFLAGS= -g -Wall -pedantic -std=gnu99
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
bin_PROGRAMS=getTimeOfDay
|
||||
AM_CFLAGS= -g -Wall -pedantic
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
LDADD=$(top_builddir)/src/2pc/lib2pc.a $(top_builddir)/src/libdfa/libdfa.a \
|
||||
$(top_builddir)/src/lladd/liblladd.a $(top_builddir)/src/pbl/libpbl.a $(top_builddir)/src/libdfa/librw.a -lconfuse
|
||||
bin_PROGRAMS=always_commit
|
||||
AM_CFLAGS= -g -Wall -pedantic -std=gnu99
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@ TESTS=./run
|
|||
LDADD=-lconfuse $(top_builddir)/src/apps/cht/libcht.a $(top_builddir)/src/2pc/lib2pc.a $(top_builddir)/src/libdfa/libdfa.a \
|
||||
$(top_builddir)/src/lladd/liblladd.a $(top_builddir)/src/pbl/libpbl.a $(top_builddir)/src/libdfa/librw.a
|
||||
bin_PROGRAMS=simple cht_server client coordinator subordinate
|
||||
AM_CFLAGS= -g -Wall -pedantic -std=c99
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
LDADD= $(top_builddir)/src/libdfa/libdfa.a $(top_builddir)/src/lladd/liblladd.a $(top_builddir)/src/pbl/libpbl.a $(top_builddir)/src/libdfa/librw.a -lconfuse
|
||||
bin_PROGRAMS=ping_pong_dfa fork_bomb star
|
||||
AM_FLAGS= -g -Wall -pedantic -std=c99
|
||||
AM_FLAGS=${GLOBAL_CFLAGS}
|
||||
if HAVE_LIBCHECK
|
||||
TESTS = check_networksetup ping_pong_dfa
|
||||
else
|
||||
|
@ -9,4 +9,3 @@ endif
|
|||
noinst_PROGRAMS = $(TESTS)
|
||||
#LDADD = @CHECK_LIBS@ $(top_builddir)/src/lladd/liblladd.a $(top_builddir)/src/pbl/libpbl.a $(top_builddir)/src/libdfa/librw.a #-lefence
|
||||
CLEANFILES = check_networksetup.log
|
||||
#AM_CFLAGS= -g -Wall -pedantic -std=gnu99
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
LDADD=$(top_builddir)/src/libdfa/libdfa.a $(top_builddir)/src/lladd/liblladd.a $(top_builddir)/src/pbl/libpbl.a $(top_builddir)/src/libdfa/librw.a
|
||||
bin_PROGRAMS=bit_arithmetic binary_search soundness
|
||||
soundness_SOURCES = soundness.c
|
||||
AM_CFLAGS= -g -Wall -pedantic -std=c99
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
|
|
@ -2,4 +2,4 @@ LDADD=$(top_builddir)/src/2pc/lib2pc.a $(top_builddir)/src/libdfa/libdfa.a \
|
|||
$(top_builddir)/src/lladd/liblladd.a $(top_builddir)/src/pbl/libpbl.a \
|
||||
$(top_builddir)/src/libdfa/librw.a
|
||||
bin_PROGRAMS=logfile_dump run_recovery truncate_log
|
||||
AM_CFLAGS= -g -Wall -pedantic -std=gnu99
|
||||
AM_CFLAGS=${GLOBAL_CFLAGS}
|
||||
|
|
Loading…
Reference in a new issue