summaryrefslogtreecommitdiffstats
path: root/plugin/firewall/iptables/CMakeLists.txt
blob: fa9c4c57ef6547b1e713aeda98d483dec20b1fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
PROJECT(efw-iptables C)
cmake_minimum_required(VERSION 2.6)
SET(efw_ipt_SRC
	 efw-iptables.c
	../eurephiafw_helpers.c
	../../../common/eurephia_log.c
)

INCLUDE_DIRECTORIES(BEFORE ../..)
ADD_LIBRARY(efw-iptables MODULE ${efw_ipt_SRC})
TARGET_LINK_LIBRARIES(efw-iptables pthread rt gcc_s)
SET_TARGET_PROPERTIES(efw-iptables PROPERTIES PREFIX "")
INSTALL(TARGETS efw-iptables LIBRARY DESTINATION ${PREFIX})