|
|
@ -1,6 +1,6 @@ |
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
|
|
|
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}) |
|
|
|
add_executable("f2b" ${SOURCES}) |
|
|
|
target_link_libraries(f2b "dl") |
|
|
|
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}) |
|
|
|
add_executable("backend-test" ${SOURCES}) |
|
|
|
target_link_libraries("backend-test" "dl") |
|
|
|
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}) |
|
|
|
#add_executable("filter-test" ${SOURCES}) |
|
|
|
|
|
|
|
|
|
|
|
install(TARGETS f2b |
|
|
|
install(TARGETS f2b |
|
|
|