diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 48b868a..0000000 --- a/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -topdir = . - -directories = database/sqlite firewall/iptables - -objs = eurephiadb.o eurephia_log.o eurephia_values.o eurephiadb_session.o sha512.o passwd.o \ - eurephia-auth.o eurephia.o certinfo.o eurephia_getsym.o eurephiafw.o eurephiafw_helpers.o - -#programs = eurephiadb-testprog -testprog_obj = eurephiadb-testprog.o eurephiadb.o eurephia_log.o sha512.o eurephiadb_session.o - -CFLAGS += -I. -LDFLAGS += -lpthread -lrt -lgcc_s -lcrypto - -ifeq (${EUREPHIAMW},enabled) - objs += memwatch.o - testprog_obj += memwatch.o - CFLAGS += -DMEMWATCH -endif - -ifeq (${DRIVERMW},enabled) - objs += memwatch.o -endif - -CFLAGS += -fPIC -LDFLAGS += -ldl - -include ${topdir}/Makefile.global - - -.PHONY : ${directories} - -all : -ifndef OPENVPN_SRC_DIR - @echo "Invokce with make OPENVPN_SRC_DIR=<path to openvpn source>" -else - make do-real-all -endif - - -do-real-all : ${objs} ${directories} eurephia-auth.so - -${directories} : - make -C $@ - -eurephia-auth.so : ${objs} - ${CC} -fPIC -g -shared -Wall ${LDFLAGS} -o $@ $^ - -eurephiadb-testprog : ${testprog_obj} - ${CC} -o $@ -g ${LDFLAGS} $^ - -clean : clean-dir - rm -f ${objs} *.so ${programs} memwatch.log *~ - -clean-dir : - @for i in ${directories} ; do make -C $$i clean ; done - |