sic/Makefile.am

57 lines
1.6 KiB
Makefile
Raw Normal View History

2013-11-07 04:27:40 +01:00
## Additional flags to pass to aclocal when it is invoked automatically at
## make time. The ${ACLOCAL_FLAGS} variable is picked up from the environment
## to provide a way for the user to supply additional arguments.
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
2014-01-23 02:23:58 +01:00
AM_CXXFLAGS = -std=gnu++11
2013-11-24 05:46:24 +01:00
bin_PROGRAMS=siccc testfoohash
2013-11-22 14:03:01 +01:00
BUILT_SOURCES=src/Foohash.H
2014-01-23 02:23:58 +01:00
siccc_SOURCES = \
src/Foohash.H \
src/options.c \
src/Routerin.H \
src/Routerin.cc \
src/DynamicObjects.cc \
src/DynamicObjects.H \
2014-01-23 02:23:58 +01:00
src/sicmain.cc \
src/StaticFileHandler.H \
src/StaticFileHandler.cc \
src/sicccobject.H \
src/sicccobject.H \
src/sicccPersister.H \
src/sicccPersister.cc \
2014-01-23 02:23:58 +01:00
mongoose/mongoose.c
siccc_CFLAGS =
2014-05-01 21:50:31 +02:00
siccc_CXXFLAGS = $(LIBJANSON_CFLAGS) ${AM_CXXFLAGS} -DDEBUG -ggdb -I./mongoose/
siccc_LDFLAGS = $(LIBJANSON_LIBS) -ldl -pthread
2013-11-22 14:17:48 +01:00
EXTRA_DIST= static/* src/eventlist.txt
2013-11-28 03:32:05 +01:00
2014-01-23 02:23:58 +01:00
GPERFFLAGS = -C -k2 -LC++ -ZFoohash -Kname -H hacksh --null-strings -E -n -t -S1
2013-11-28 03:32:05 +01:00
src/Foohash.H: src/eventrouter.gperf
$(GPERF) $(GPERFFLAGS) < $< > $@
2013-11-22 14:03:01 +01:00
2013-11-24 05:46:24 +01:00
testfoohash_SOURCES= src/testfoohash.cc src/Foohash.H
testfoohash_CXXFLAGS = ${AM_CXXFLAGS} -DDEBUG -ggdb -O0
2014-01-23 02:23:58 +01:00
testfoohash_LDFLAGS =
2013-11-22 14:03:01 +01:00
2013-11-07 04:27:40 +01:00
options.c: options.ggo
options.h: options.ggo
.ggo.c:
gengetopt -F ${@:%.c=%} < $<
## Define an independent executable script for inclusion in the distribution
## archive. It will not be installed on an end user's system, however.
#dist_noinst_SCRIPTS = autogen.sh
dist-hook: ChangeLog
2014-01-23 02:23:58 +01:00
README: README.md
ln -s
2013-11-07 04:27:40 +01:00
2014-01-23 02:23:58 +01:00
ChangeLog: configure.ac README.md
2013-11-07 04:27:40 +01:00
git log --stat --name-only --date=short --abbrev-commit > ChangeLog