From now on the code only needs its embedded dependencies and does not
depend any more on external haproxy dependencies. It can now be built
as a standalone project.
endif
CFLAGS += -g -Wall -pthread
-INCS += -I../../include -I$(MOD_DEFENDER_SRC) -I$(APACHE2_INC) -I$(APR_INC) -I$(EVENT_INC)
+INCS += -Iinclude -I$(MOD_DEFENDER_SRC) -I$(APACHE2_INC) -I$(APR_INC) -I$(EVENT_INC)
LIBS += -lpthread $(EVENT_LIB) -levent_pthreads -lapr-1 -laprutil-1 -lstdc++ -lm
CXXFLAGS = -g -std=gnu++11
#include <stdio.h>
#include <stdarg.h>
-#include <haproxy/api.h>
-#include <haproxy/chunk.h>
#include <haproxy/spoe.h>
-#include <haproxy/time.h>
#include <haproxy/tools.h>
#include <http_core.h>
#include <event2/event_struct.h>
#include <event2/thread.h>
-#include <haproxy/chunk.h>
#include <haproxy/list.h>
#include <haproxy/spoe.h>