You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
## 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}
|
|
|
|
AM_CXXFLAGS = -std=gnu++11
|
|
bin_PROGRAMS=siccc testfoohash
|
|
BUILT_SOURCES=src/Foohash.H
|
|
|
|
siccc_SOURCES = \
|
|
src/Foohash.H \
|
|
src/options.c \
|
|
src/Routerin.H \
|
|
src/Routerin.cc \
|
|
src/DynamicObjects.cc \
|
|
src/DynamicObjects.H \
|
|
src/sicmain.cc \
|
|
src/StaticFileHandler.H \
|
|
src/StaticFileHandler.cc \
|
|
src/sicccobject.H \
|
|
src/sicccobject.H \
|
|
src/sicccPersister.H \
|
|
src/sicccPersister.cc \
|
|
mongoose/mongoose.c
|
|
siccc_CFLAGS =
|
|
siccc_CXXFLAGS = $(LIBJANSON_CFLAGS) ${AM_CXXFLAGS} -DDEBUG -ggdb -I./mongoose/
|
|
siccc_LDFLAGS = $(LIBJANSON_LIBS) -ldl -pthread
|
|
EXTRA_DIST= static/* src/eventlist.txt
|
|
|
|
GPERFFLAGS = -C -k2 -LC++ -ZFoohash -Kname -H hacksh --null-strings -E -n -t -S1
|
|
|
|
|
|
src/Foohash.H: src/eventrouter.gperf
|
|
$(GPERF) $(GPERFFLAGS) < $< > $@
|
|
|
|
testfoohash_SOURCES= src/testfoohash.cc src/Foohash.H
|
|
testfoohash_CXXFLAGS = ${AM_CXXFLAGS} -DDEBUG -ggdb -O0
|
|
testfoohash_LDFLAGS =
|
|
|
|
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
|
|
|
|
README: README.md
|
|
ln -s
|
|
|
|
ChangeLog: configure.ac README.md
|
|
git log --stat --name-only --date=short --abbrev-commit > ChangeLog
|