summaryrefslogtreecommitdiff
path: root/packages/security/iptables/iptables.mk
blob: f5efe6ea541509b3d7a57e697863a0b4e709886d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
################################################################################
# Embtoolkit
# Copyright(C) 2009-2011 Abdoulaye Walsimou GAYE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file         iptables.mk
# \brief	iptables.mk of Embtoolkit
# \author       Averell KINOUANI <a.kinouani@voila.fr>
# \date         May 2012
################################################################################

IPTABLES_NAME		:= iptables
IPTABLES_VERSION	:= $(call embtk_get_pkgversion,iptables)
IPTABLES_SITE		:= ftp://ftp.netfilter.org/pub/iptables/
#IPTABLES_SITE_MIRROR3	:= ftp://ftp.embtoolkit.org/embtoolkit.org/packages-mirror
IPTABLES_PACKAGE	:= iptables-$(IPTABLES_VERSION).tar.bz2
IPTABLES_SRC_DIR	:= $(PACKAGES_BUILD)/iptables-$(IPTABLES_VERSION)
IPTABLES_BUILD_DIR	:= $(PACKAGES_BUILD)/iptables-$(IPTABLES_VERSION)

IPTABLES_BINS		:=
IPTABLES_SBINS		:= iptables ip6tables ip6tables-restore ip6tables-save iptables-restore iptables-save
IPTABLES_INCLUDES	:= ipt_kernel_headers.h  libip6tc.h  libiptc.h  libxtc.h xtables.h xtcshared.h
IPTABLES_LIBS		:= libip4tc.so.0 libip4tc.so.0 libxtables.so.7 
IPTABLES_LIBEXECS	:=
IPTABLES_PKGCONFIGS	:=

IPTABLES_CONFIGURE_ENV	:=
ifeq ($(CONFIG_EMBTK_IPTABLES_HAVE_LIBIPQ),y)
IPTABLES_CONFIGURE_OPTS	:= --enable-libipq
endif
IPTABLES_MAKE_OPTS	:=
IPTABLES_MAKE_DIRS	:=

IPTABLES_DEPS		:=