Browse Source

* fix build of f2b

master
Alex 'AdUser' Z 9 years ago
parent
commit
423291df9a
  1. 4
      src/CMakeLists.txt
  2. 1
      src/main.c

4
src/CMakeLists.txt

@ -1,6 +1,6 @@
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(SOURCES "main.c" "logfile.c" "log.c" "matches.c" "ipaddr.c" "filelist.c" "config.c" "jail.c" "backend.c")
set(SOURCES "main.c" "logfile.c" "log.c" "matches.c" "ipaddr.c" "filelist.c" "filter.c" "config.c" "jail.c" "backend.c")
add_executable("f2b" ${SOURCES})
target_link_libraries(f2b "dl")
@ -9,7 +9,7 @@ set(SOURCES "backend-test.c" "log.c" "backend.c" "config.c")
add_executable("backend-test" ${SOURCES})
target_link_libraries("backend-test" "dl")
#set(SOURCES "filter-test.c" "log.c" "regexps_posix.c")
#set(SOURCES "filter-test.c" "log.c" "filter.c")
#add_executable("filter-test" ${SOURCES})
install(TARGETS f2b

1
src/main.c

@ -1,7 +1,6 @@
#include "common.h"
#include "logfile.h"
#include "ipaddr.h"
#include "regexps.h"
#include "config.h"
#include "jail.h"
#include "backend.h"

Loading…
Cancel
Save