summaryrefslogtreecommitdiffstats
path: root/plugin/firewall/iptables/CMakeLists.txt
blob: 103eea9057cdf989412a41eca7765507ccedec57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
PROJECT(eurephiafw-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})