adjust Makefile.am

This commit is contained in:
blastmaster 2014-01-23 02:23:58 +01:00
parent 5cba410e54
commit 48f43be792
1 changed files with 18 additions and 10 deletions

View File

@ -3,18 +3,26 @@
## to provide a way for the user to supply additional arguments. ## to provide a way for the user to supply additional arguments.
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
AM_CXXFLAGS = -std=gnu++11 AM_CXXFLAGS = -std=gnu++11
bin_PROGRAMS=siccc testfoohash bin_PROGRAMS=siccc testfoohash
BUILT_SOURCES=src/Foohash.H BUILT_SOURCES=src/Foohash.H
siccc_SOURCES = src/Foohash.H src/options.c src/Routerin.cc src/sicmain.cc mongoose/mongoose.c src/StaticFileHandler.cc siccc_SOURCES = \
siccc_CFLAGS = src/Foohash.H \
siccc_CXXFLAGS = ${AM_CXXFLAGS} -DDEBUG -ggdb -I./mongoose/ src/options.c \
src/Routerin.H \
src/Routerin.cc \
src/sicmain.cc \
src/MediocreSimpleStaticFileHandler.H \
src/MediocreSimpleStaticFileHandler.cc \
src/UltraSimpleStaticFileHandler.cc \
mongoose/mongoose.c
siccc_CFLAGS =
siccc_CXXFLAGS = ${AM_CXXFLAGS} -DDEBUG -ggdb -I./mongoose/
siccc_LDFLAGS = -ldl -pthread siccc_LDFLAGS = -ldl -pthread
EXTRA_DIST= static/* src/eventlist.txt EXTRA_DIST= static/* src/eventlist.txt
GPERFFLAGS = -C -k2 -LC++ -ZFoohash -Kname -H hacksh --null-strings -E -n -t -S1 GPERFFLAGS = -C -k2 -LC++ -ZFoohash -Kname -H hacksh --null-strings -E -n -t -S1
src/Foohash.H: src/eventrouter.gperf src/Foohash.H: src/eventrouter.gperf
@ -22,7 +30,7 @@ src/Foohash.H: src/eventrouter.gperf
testfoohash_SOURCES= src/testfoohash.cc src/Foohash.H testfoohash_SOURCES= src/testfoohash.cc src/Foohash.H
testfoohash_CXXFLAGS = ${AM_CXXFLAGS} -DDEBUG -ggdb -O0 testfoohash_CXXFLAGS = ${AM_CXXFLAGS} -DDEBUG -ggdb -O0
testfoohash_LDFLAGS = testfoohash_LDFLAGS =
options.c: options.ggo options.c: options.ggo
options.h: options.ggo options.h: options.ggo
@ -36,8 +44,8 @@ options.h: options.ggo
dist-hook: ChangeLog dist-hook: ChangeLog
README: README.md README: README.md
ln -s ln -s
ChangeLog: configure.ac README.md ChangeLog: configure.ac README.md
git log --stat --name-only --date=short --abbrev-commit > ChangeLog git log --stat --name-only --date=short --abbrev-commit > ChangeLog