[sr-dev] git:master: * Fixed Makefiles of Radius related modules, which did not include
Juha Heinanen
jh at tutpro.com
Fri May 29 08:24:52 CEST 2009
Module: sip-router
Branch: master
Commit: ecdcd5fabcfb5c6dada2ca3ee2acb1c92ba21c91
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ecdcd5fabcfb5c6dada2ca3ee2acb1c92ba21c91
Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date: Fri May 29 09:23:09 2009 +0300
* Fixed Makefiles of Radius related modules, which did not include
Makefile.radius.
---
modules/auth_radius/Makefile | 5 +++--
modules/misc_radius/Makefile | 9 ++-------
modules/peering/Makefile | 5 +++--
3 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/modules/auth_radius/Makefile b/modules/auth_radius/Makefile
index b6f0758..4dde7ed 100644
--- a/modules/auth_radius/Makefile
+++ b/modules/auth_radius/Makefile
@@ -6,13 +6,14 @@
# WARNING: do not run this directly, it should be run by the master Makefile
include ../../Makefile.defs
+include ../../Makefile.radius
+
auto_gen=
NAME=auth_radius.so
-DEFS+=-I$(LOCALBASE)/include
-LIBS=-L$(LOCALBASE)/lib $(RADIUS_LIB)
DEFS+=-DOPENSER_MOD_INTERFACE
SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/kcore/kcore
+
include ../../Makefile.modules
diff --git a/modules/misc_radius/Makefile b/modules/misc_radius/Makefile
index dc10c03..8d10177 100644
--- a/modules/misc_radius/Makefile
+++ b/modules/misc_radius/Makefile
@@ -3,16 +3,11 @@
# WARNING: do not run this directly, it should be run by the master Makefile
include ../../Makefile.defs
+include ../../Makefile.radius
+
auto_gen=
NAME=misc_radius.so
-# Comment the next two line and uncomment the following two if you want
-# to enable Radius support
-DEFS+= -DWITH_RADIUS_SUPPORT -I$(LOCALBASE)/include
-LIBS=-L$(LOCALBASE)/lib $(RADIUS_LIB)
-
DEFS+=-DOPENSER_MOD_INTERFACE
-SERLIBPATH=../../lib
-SER_LIBS+=$(SERLIBPATH)/kcore/kcore
include ../../Makefile.modules
diff --git a/modules/peering/Makefile b/modules/peering/Makefile
index 7b8425a..a6291e3 100644
--- a/modules/peering/Makefile
+++ b/modules/peering/Makefile
@@ -5,13 +5,14 @@
# WARNING: do not run this directly, it should be run by the master Makefile
include ../../Makefile.defs
+include ../../Makefile.radius
+
auto_gen=
NAME=peering.so
-DEFS+= -DWITH_RADIUS_SUPPORT -I$(LOCALBASE)/include
-LIBS=-L$(LOCALBASE)/lib $(RADIUS_LIB)
DEFS+=-DOPENSER_MOD_INTERFACE
SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/kcore/kcore
+
include ../../Makefile.modules
More information about the sr-dev
mailing list