Build Foohash class

This commit is contained in:
john stone 2013-11-22 14:03:01 +01:00
parent 63bab16fbc
commit fe6e229f83
2 changed files with 13 additions and 3 deletions

View File

@ -6,11 +6,16 @@ ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
AM_CXXFLAGS = -std=c++11
bin_PROGRAMS=siccc
siccc_SOURCES = src/options.c src/sicmain.cc mongoose/mongoose.c
siccc_CFLAGS =
BUILT_SOURCES=src/Foohash.H
siccc_SOURCES = src/Foohash.H src/options.c src/routerin.cc src/sicmain.cc mongoose/mongoose.c siccc_CFLAGS =
siccc_CXXFLAGS = ${AM_CXXFLAGS} -DDEBUG -ggdb -I./mongoose/ -Darschlecken
siccc_LDFLAGS = -ldl -pthread
src/Foohash.H: src/eventlist.txt
gperf -LC++ -ZFoohash -E < $< > $@
options.c: options.ggo
options.h: options.ggo

View File

@ -1,4 +1,9 @@
#include <cstring>
using std::strcmp;
#include "Foohash.H"
namespace routerin {
class EventRouter {
@ -24,7 +29,7 @@ class StaticEventHandler:public BaseHandler{
///files/<zahl> (index in vector<Sicccobjst>)
///dfiles/<datestring> (files am date hochgeladen)
///date/<datestring> (files am date hochgeladen)
///static/<mööp.html> (statisches html ausliefern)