Module: sip-router
Branch: tma0/iptrtpproxy-v2
Commit: 0e31e1ac3ec7317ecfd944fb9f2c11f55996504f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0e31e1a…
Author: Tomas Mandys <tomas.mandys(a)iptel.org>
Committer: Tomas Mandys <tomas.mandys(a)iptel.org>
Date: Thu Aug 4 15:32:08 2011 +0200
- added xtablesmoduledir macro
---
modules/iptrtpproxy/Makefile | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/modules/iptrtpproxy/Makefile b/modules/iptrtpproxy/Makefile
index 360a2f5..b2d63da 100644
--- a/modules/iptrtpproxy/Makefile
+++ b/modules/iptrtpproxy/Makefile
@@ -7,15 +7,14 @@
#
# select if xtables.h (=0) or iptables.h (=1) header files are installed
-IPT_RTPPROXY_IPTABLES_API=1
+IPT_RTPPROXY_IPTABLES_API=0
# define path to netfilter/iptables source directory
-#iptdir = ~/iptables
-iptdir = /root/netfilter-RTPPROXY-v2
-#iptdir=/mnt/home/tmandys/work/tma/netfilter-RTPPROXY-v2
-#iptdir=$(BUILDHOME)/apps/iptrtpproxy-v2
+iptdir = ~/iptables
#kerneldir=/usr/src/kernels/2.6.18-1.2849prerel3.3.0_63.1.0-i686/include
-kerneldir=/root/iptables-1.4.2/include
+#kerneldir=~/iptables-1.4.2/include
+iptdir = /root/netfilter-RTPPROXY-v2
+xtablesmoduledir=/lib/xtables
include ../../Makefile.defs
auto_gen=
@@ -24,7 +23,8 @@ NAME=iptrtpproxy.so
# -L $(iptdir)/extensions -lext
# look for libipt_RTPPROXY first under /lib/xtables (default install dir)
# and if not found in $(iptdir)/extensions (compile dir)
-LIBS = -L $(iptdir)/libiptc -L $(iptdir)/iptables/extensions -lipt_RTPPROXY
+LIBS = -L $(xtablesmoduledir) -L $(iptdir)/libiptc -L $(iptdir)/iptables/extensions
-lipt_RTPPROXY
+#LIBS+=-L /lib/xtables
INCLUDES = -I $(iptdir)/linux-2.6/include -I $(kerneldir) -I $(iptdir)/iptables/include
ifeq ($(IPT_RTPPROXY_IPTABLES_API),1)