[Freeswitch-trunk] [commit] r14053 - in freeswitch/trunk: . src/mod/event_handlers/mod_radius_cdr
FreeSWITCH SVN
intralanman at freeswitch.org
Tue Jun 30 10:59:18 PDT 2009
Author: intralanman
Date: Tue Jun 30 12:59:18 2009
New Revision: 14053
Log:
replace mod_radius_cdr's Makefile.am with Makefile that pulls freeradius-client source when needed
Added:
freeswitch/trunk/src/mod/event_handlers/mod_radius_cdr/Makefile
Removed:
freeswitch/trunk/src/mod/event_handlers/mod_radius_cdr/Makefile.am
Modified:
freeswitch/trunk/configure.in
Modified: freeswitch/trunk/configure.in
==============================================================================
--- freeswitch/trunk/configure.in (original)
+++ freeswitch/trunk/configure.in Tue Jun 30 12:59:18 2009
@@ -752,7 +752,6 @@
src/mod/Makefile
src/mod/endpoints/mod_sofia/Makefile
src/mod/asr_tts/mod_unimrcp/Makefile
- src/mod/event_handlers/mod_radius_cdr/Makefile
src/mod/languages/mod_java/Makefile
src/mod/languages/mod_python/Makefile
src/mod/event_handlers/mod_erlang_event/Makefile
Added: freeswitch/trunk/src/mod/event_handlers/mod_radius_cdr/Makefile
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/event_handlers/mod_radius_cdr/Makefile Tue Jun 30 12:59:18 2009
@@ -0,0 +1,24 @@
+RADCLIENT_VERSION=1.1.6
+RADCLIENT=freeradius-client-$(RADCLIENT_VERSION)
+RADCLIENT_DIR=$(switch_srcdir)/libs/$(RADCLIENT)
+RADCLIENT_LIBDIR=$(RADCLIENT_DIR)/lib
+RADCLIENT_LA=${RADCLIENT_LIBDIR}/libfreeradius-client.la
+
+LOCAL_CFLAGS=-I$(RADCLIENT_DIR)/include
+LOCAL_LIBADD=$(RADCLIENT_LA)
+
+BASE=../../../..
+include $(BASE)/build/modmake.rules
+
+$(RADCLIENT_DIR):
+ $(GETLIB) $(RADCLIENT).tar.gz
+
+$(RADCLIENT_DIR)/Makefile: $(RADCLIENT_DIR)
+ cd $(RADCLIENT_DIR) && ./configure --disable-shared
+ $(TOUCH_TARGET)
+
+$(RADCLIENT_LA): $(RADCLIENT_DIR)/Makefile
+ cd $(RADCLIENT_DIR) && CFLAGS=$(CFLAGS) $(MAKE)
+ $(TOUCH_TARGET)
+
+
More information about the Freeswitch-trunk
mailing list