Build Foohash class
This commit is contained in:
parent
63bab16fbc
commit
fe6e229f83
|
@ -6,11 +6,16 @@ ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
|
||||||
AM_CXXFLAGS = -std=c++11
|
AM_CXXFLAGS = -std=c++11
|
||||||
bin_PROGRAMS=siccc
|
bin_PROGRAMS=siccc
|
||||||
|
|
||||||
siccc_SOURCES = src/options.c src/sicmain.cc mongoose/mongoose.c
|
BUILT_SOURCES=src/Foohash.H
|
||||||
siccc_CFLAGS =
|
|
||||||
|
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_CXXFLAGS = ${AM_CXXFLAGS} -DDEBUG -ggdb -I./mongoose/ -Darschlecken
|
||||||
siccc_LDFLAGS = -ldl -pthread
|
siccc_LDFLAGS = -ldl -pthread
|
||||||
|
|
||||||
|
src/Foohash.H: src/eventlist.txt
|
||||||
|
gperf -LC++ -ZFoohash -E < $< > $@
|
||||||
|
|
||||||
|
|
||||||
options.c: options.ggo
|
options.c: options.ggo
|
||||||
options.h: options.ggo
|
options.h: options.ggo
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
|
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
|
using std::strcmp;
|
||||||
|
#include "Foohash.H"
|
||||||
|
|
||||||
namespace routerin {
|
namespace routerin {
|
||||||
class EventRouter {
|
class EventRouter {
|
||||||
|
|
||||||
|
@ -24,7 +29,7 @@ class StaticEventHandler:public BaseHandler{
|
||||||
|
|
||||||
///files/<zahl> (index in vector<Sicccobjst>)
|
///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)
|
///static/<mööp.html> (statisches html ausliefern)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue