[Freeswitch-svn] [commit] r14051 - freeswitch/trunk/contrib/cparker/mod_xml_radius

FreeSWITCH SVN intralanman at freeswitch.org
Tue Jun 30 09:48:44 PDT 2009


Author: intralanman
Date: Tue Jun 30 11:48:44 2009
New Revision: 14051

Log:
add working Makefile that pulls freeradius-client source

Added:
   freeswitch/trunk/contrib/cparker/mod_xml_radius/Makefile
Removed:
   freeswitch/trunk/contrib/cparker/mod_xml_radius/Makefile.am

Added: freeswitch/trunk/contrib/cparker/mod_xml_radius/Makefile
==============================================================================
--- (empty file)
+++ freeswitch/trunk/contrib/cparker/mod_xml_radius/Makefile	Tue Jun 30 11:48:44 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-svn mailing list