[Freeswitch-svn] [commit] r4586 - in freeswitch/trunk/src/mod: applications/mod_enum asr_tts/mod_cepstral asr_tts/mod_lumenvox codecs/mod_amr codecs/mod_g711 codecs/mod_g722 codecs/mod_g723_1 codecs/mod_g726 codecs/mod_g729 codecs/mod_gsm codecs/mod_ilbc codecs/mod_lpc10 codecs/mod_speex directories/mod_ldap endpoints/mod_dingaling endpoints/mod_iax endpoints/mod_portaudio endpoints/mod_sofia endpoints/mod_wanpipe event_handlers/mod_cdr event_handlers/mod_xmpp_event event_handlers/mod_zeroconf formats/mod_shout formats/mod_sndfile languages/mod_mono languages/mod_perl languages/mod_python languages/mod_spidermonkey languages/mod_spidermonkey_core_db languages/mod_spidermonkey_etpan languages/mod_spidermonkey_odbc languages/mod_spidermonkey_skel languages/mod_spidermonkey_teletone xml_int/mod_xml_curl xml_int/mod_xml_rpc

Freeswitch SVN mikej at freeswitch.org
Tue Mar 13 14:23:49 EDT 2007


Author: mikej
Date: Tue Mar 13 14:23:49 2007
New Revision: 4586

Modified:
   freeswitch/trunk/src/mod/applications/mod_enum/Makefile
   freeswitch/trunk/src/mod/asr_tts/mod_cepstral/Makefile
   freeswitch/trunk/src/mod/asr_tts/mod_lumenvox/Makefile
   freeswitch/trunk/src/mod/codecs/mod_amr/Makefile
   freeswitch/trunk/src/mod/codecs/mod_g711/Makefile
   freeswitch/trunk/src/mod/codecs/mod_g722/Makefile
   freeswitch/trunk/src/mod/codecs/mod_g723_1/Makefile
   freeswitch/trunk/src/mod/codecs/mod_g726/Makefile
   freeswitch/trunk/src/mod/codecs/mod_g729/Makefile
   freeswitch/trunk/src/mod/codecs/mod_gsm/Makefile
   freeswitch/trunk/src/mod/codecs/mod_ilbc/Makefile
   freeswitch/trunk/src/mod/codecs/mod_lpc10/Makefile
   freeswitch/trunk/src/mod/codecs/mod_speex/Makefile
   freeswitch/trunk/src/mod/directories/mod_ldap/Makefile
   freeswitch/trunk/src/mod/endpoints/mod_dingaling/Makefile
   freeswitch/trunk/src/mod/endpoints/mod_iax/Makefile
   freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile
   freeswitch/trunk/src/mod/endpoints/mod_sofia/Makefile
   freeswitch/trunk/src/mod/endpoints/mod_wanpipe/Makefile
   freeswitch/trunk/src/mod/event_handlers/mod_cdr/Makefile
   freeswitch/trunk/src/mod/event_handlers/mod_xmpp_event/Makefile
   freeswitch/trunk/src/mod/event_handlers/mod_zeroconf/Makefile
   freeswitch/trunk/src/mod/formats/mod_shout/Makefile
   freeswitch/trunk/src/mod/formats/mod_sndfile/Makefile
   freeswitch/trunk/src/mod/languages/mod_mono/Makefile
   freeswitch/trunk/src/mod/languages/mod_perl/Makefile
   freeswitch/trunk/src/mod/languages/mod_python/Makefile
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/Makefile
   freeswitch/trunk/src/mod/languages/mod_spidermonkey_core_db/Makefile
   freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/Makefile
   freeswitch/trunk/src/mod/languages/mod_spidermonkey_odbc/Makefile
   freeswitch/trunk/src/mod/languages/mod_spidermonkey_skel/Makefile
   freeswitch/trunk/src/mod/languages/mod_spidermonkey_teletone/Makefile
   freeswitch/trunk/src/mod/xml_int/mod_xml_curl/Makefile
   freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/Makefile

Log:
add support for doing make from the module directory of the in tree modules.

Modified: freeswitch/trunk/src/mod/applications/mod_enum/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_enum/Makefile	(original)
+++ freeswitch/trunk/src/mod/applications/mod_enum/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_enum
 LOCAL_CFLAGS=-I$(BASE)/libs/udns
 LOCAL_LDFLAGS=
 LOCAL_OBJS=$(BASE)/libs/udns/libudns.a
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/udns && $(MAKE) staticlib

Modified: freeswitch/trunk/src/mod/asr_tts/mod_cepstral/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_cepstral/Makefile	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_cepstral/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,6 +2,7 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 OSARCH=$(shell uname -s)
 # and define these variables to impact your build
+MODNAME=mod_cepstral
 
 ifeq ($(OSARCH),Darwin)
 LOCAL_LDFLAGS += -framework swift
@@ -10,5 +11,5 @@
 LOCAL_CFLAGS += -I/opt/swift/include
 endif
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 

Modified: freeswitch/trunk/src/mod/asr_tts/mod_lumenvox/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_lumenvox/Makefile	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_lumenvox/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,9 +2,10 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_lumenvox
 LOCAL_CFLAGS= -fpermissive -Wno-deprecated -Wno-conversion -fpermissive -Wno-unused -Wno-comment -Wno-sign-compare \
 	-Wno-conversion -Wno-reorder -I/opt/lumenvox/eng\ine_7.0/include
 LOCAL_LDFLAGS= -L/opt/lumenvox/engine_7.0/lib -llv_lvspeechport
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 

Modified: freeswitch/trunk/src/mod/codecs/mod_amr/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_amr/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_amr/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,3 +1,4 @@
+MODNAME=mod_amr
 ifeq ($(shell ls -d $(BASE)/libs/amr),$(BASE)/libs/amr)
 
 LOCAL_CFLAGS += -I$(PREFIX)/include/amr
@@ -9,4 +10,4 @@
 
 endif
 
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules

Modified: freeswitch/trunk/src/mod/codecs/mod_g711/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g711/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_g711/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,9 +2,10 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_g711
 LOCAL_CFLAGS=-I$(BASE)/libs/codec/g7xx/src/include
 LOCAL_LDFLAGS=
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 

Modified: freeswitch/trunk/src/mod/codecs/mod_g722/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g722/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_g722/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_g722
 LOCAL_CFLAGS=-I$(BASE)/libs/codec/g7xx/src/include/
 LOCAL_LDFLAGS=$(BASE)/libs/codec/g7xx/libg7xx.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/codec/g7xx && $(MAKE)

Modified: freeswitch/trunk/src/mod/codecs/mod_g723_1/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g723_1/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_g723_1/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,7 +1,8 @@
+MODNAME=mod_g723_1
 ifeq ($(shell ls -d $(BASE)/libs/libg723_1),$(BASE)/libs/libg723_1)
 LOCAL_CFLAGS += -I$(PREFIX)/include/g723
 LOCAL_LDFLAGS +=-lg723
 else
 LOCAL_CFLAGS += -DG723_PASSTHROUGH
 endif
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules

Modified: freeswitch/trunk/src/mod/codecs/mod_g726/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g726/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_g726/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_g726
 LOCAL_CFLAGS=-I$(BASE)/libs/codec/g726/src
 LOCAL_LDFLAGS=
 LOCAL_OBJS=$(BASE)/libs/codec/g726/libg726.la
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/codec/g726 && $(MAKE)

Modified: freeswitch/trunk/src/mod/codecs/mod_g729/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g729/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_g729/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,3 +1,4 @@
+MODNAME=mod_g729
 ifeq ($(shell ls -d $(BASE)/libs/libg729),$(BASE)/libs/libg729)
 LOCAL_CFLAGS += -I$(PREFIX)/include/libg729
 LOCAL_LDFLAGS +=-lg729
@@ -5,4 +6,4 @@
 LOCAL_CFLAGS += -DG729_PASSTHROUGH
 endif
 
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules

Modified: freeswitch/trunk/src/mod/codecs/mod_gsm/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_gsm/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_gsm/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_gsm
 LOCAL_CFLAGS=-I$(BASE)/libs/codec/gsm/inc
 LOCAL_LDFLAGS=$(BASE)/libs/codec/gsm/libgsm.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/codec/gsm && $(MAKE)

Modified: freeswitch/trunk/src/mod/codecs/mod_ilbc/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_ilbc/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_ilbc/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_ilbc
 LOCAL_CFLAGS=-I$(BASE)/libs/codec/ilbc/src
 LOCAL_LDFLAGS=$(BASE)/libs/codec/ilbc/libilbc.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/codec/ilbc && $(MAKE)

Modified: freeswitch/trunk/src/mod/codecs/mod_lpc10/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_lpc10/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_lpc10/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_lpc10
 LOCAL_CFLAGS=-I$(BASE)/libs/codec/lpc10/src
 LOCAL_LDFLAGS=$(BASE)/libs/codec/lpc10/liblpc10.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/codec/lpc10 && $(MAKE)

Modified: freeswitch/trunk/src/mod/codecs/mod_speex/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_speex/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_speex/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_speex
 LOCAL_CFLAGS=-I$(BASE)/libs/speex/include
 LOCAL_LDFLAGS=$(BASE)/libs/speex/libspeex/libspeex.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/speex && $(MAKE)

Modified: freeswitch/trunk/src/mod/directories/mod_ldap/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/directories/mod_ldap/Makefile	(original)
+++ freeswitch/trunk/src/mod/directories/mod_ldap/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_ldap
 LOCAL_CFLAGS=-DWITH_OPENLDAP -DLDAP_DEPRECATED
 LOCAL_LDFLAGS=-lldap_r -llber
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install openldap-2.3.19.tgz --prefix=$(PREFIX) --disable-bdb --disable-hdb

Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/Makefile	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_dingaling
 LOCAL_CFLAGS=-I$(BASE)/libs/libdingaling/src
 LOCAL_LDFLAGS=$(BASE)/libs/libdingaling/libdingaling.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/iksemel && $(MAKE)

Modified: freeswitch/trunk/src/mod/endpoints/mod_iax/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_iax/Makefile	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_iax/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_iax
 LOCAL_CFLAGS=-I$(BASE)/libs/iax/src
 LOCAL_LDFLAGS=$(BASE)/libs/iax/src/libiax.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/iax && $(MAKE)

Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,6 +2,7 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 OSARCH=$(shell uname -s)
 # and define these variables to impact your build
+MODNAME=mod_portaudio
 LOCAL_CFLAGS=-I. -I$(BASE)/libs/portaudio/include
 LOCAL_LDFLAGS=$(BASE)/libs/portaudio/lib/libportaudio.la
 ifeq ($(OSARCH),Darwin)
@@ -9,7 +10,7 @@
 endif
 LOCAL_OBJS=pablio.o pa_ringbuffer.o
 
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/portaudio && $(MAKE)

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/Makefile	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,3 +1,4 @@
+MODNAME=mod_sofia
 OS_ARCH         := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
 
 LOCAL_CFLAGS  = -I. -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/bnf  -I$(BASE)/libs/sofia-sip/libsofia-sip-ua/features
@@ -16,7 +17,7 @@
 	LOCAL_LDFLAGS +=-framework CoreFoundation -framework SystemConfiguration
 endif
 
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/sofia-sip && $(MAKE)

Modified: freeswitch/trunk/src/mod/endpoints/mod_wanpipe/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_wanpipe/Makefile	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_wanpipe/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,11 +2,12 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_wanpipe
 LOCAL_CFLAGS  =-I/usr/local/include -I/usr/src/libpri -I/usr/src/linux/include -I. -I/usr/include 
 LOCAL_CFLAGS +=-D__LINUX__ -D_REENTRANT -D_GNU_SOURCE -DAFT_A104 -DWANPIPE_TDM_API -I$(switch_srcdir)/libs/libteletone/src
 LOCAL_LDFLAGS=-lsangoma $(BASE)/libs/libteletone/libteletone.la
 LOCAL_OBJS=ss7boost_client.o
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install libsangoma --prefix=$(PREFIX) --with-libpri=/usr/src/libpri

Modified: freeswitch/trunk/src/mod/event_handlers/mod_cdr/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_cdr/Makefile	(original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_cdr/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,6 +2,7 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_cdr
 LOCAL_CFLAGS=
 LOCAL_LDFLAGS=
 LOCAL_OBJS=cdrcontainer.o basecdr.o baseregistry.o pddcdr.o csvcdr.o xmlcdr.o sqlitecdr.o
@@ -15,4 +16,4 @@
   LOCAL_OBJS    += mysqlcdr.o
 endif
 
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules

Modified: freeswitch/trunk/src/mod/event_handlers/mod_xmpp_event/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_xmpp_event/Makefile	(original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_xmpp_event/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_xmpp_event
 LOCAL_CFLAGS=-I$(BASE)/libs/iksemel/include
 LOCAL_LDFLAGS=$(BASE)/libs/iksemel/src/libiksemel.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/iksemel && $(MAKE)

Modified: freeswitch/trunk/src/mod/event_handlers/mod_zeroconf/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_zeroconf/Makefile	(original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_zeroconf/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_zeroconf
 LOCAL_CFLAGS=-I$(PREFIX)/include/howl
 LOCAL_LDFLAGS=-lhowl
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	$(BASE)/build/buildlib.sh $(BASE) install howl-1.0.0.tar.gz --prefix=$(PREFIX)

Modified: freeswitch/trunk/src/mod/formats/mod_shout/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_shout/Makefile	(original)
+++ freeswitch/trunk/src/mod/formats/mod_shout/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,6 +2,7 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_shout
 LAME=lame-3.97
 SHOUT=libshout-2.2.2
 LAMELA=$(BASE)/libs/$(LAME)/libmp3lame/libmp3lame.la
@@ -13,7 +14,7 @@
 LOCAL_OBJS=$(MP3OBJS)
 DEFAULT_ARGS=--prefix=$(PREFIX) --disable-shared --with-pic
 
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 $(LAMELA):
 	MAKE="$(MAKE)" $(BASE)/build/buildlib.sh $(BASE) $(LAME).tar.gz $(DEFAULT_ARGS) --disable-decoder

Modified: freeswitch/trunk/src/mod/formats/mod_sndfile/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_sndfile/Makefile	(original)
+++ freeswitch/trunk/src/mod/formats/mod_sndfile/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MONAME=mod_sndfile
 LOCAL_CFLAGS=-I$(BASE)/libs/libsndfile/src
 LOCAL_LDFLAGS=$(BASE)/libs/libsndfile/src/libsndfile.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/libsndfile && $(MAKE)

Modified: freeswitch/trunk/src/mod/languages/mod_mono/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_mono/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,3 +1,4 @@
+MODNAME=mod_mono
 VERSION = mono-1.1.13.8
 TARBALL = mono-1.1.13.8.tar.gz
 GLIB_TARBALL = glib-2.12.3.tar.gz
@@ -6,7 +7,7 @@
 
 LOCAL_CFLAGS=`$(PREFIX)/bin/pkg-config --cflags mono`
 LOCAL_LDFLAGS=`$(PREFIX)/bin/pkg-config --libs mono`
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) configure install $(GETTEXT_TARBALL) --prefix=$(PREFIX) --with-pic

Modified: freeswitch/trunk/src/mod/languages/mod_perl/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_perl/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_perl/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_perl
 LOCAL_CFLAGS=-DMULTIPLICITY $(shell $(PERL) -MExtUtils::Embed -e ccopts) -DEMBED_PERL
 LOCAL_LDFLAGS=$(shell $(PERL) -MExtUtils::Embed -e ldopts) $(shell $(PERL) -MConfig -e 'print $$Config{libs}')
 LOCAL_OBJS=perlxsi.o
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 PERL        = $(shell which perl)
 PERL_LIBDIR =-L$(shell perl -MConfig -e 'print $$Config{archlib}')/CORE

Modified: freeswitch/trunk/src/mod/languages/mod_python/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_python/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_python/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_python
 LOCAL_CFLAGS=-I$(PREFIX)/include/python2.4/
 LOCAL_LDFLAGS=-lpython2.4 -L$(PREFIX)/lib/python2.4/config/  -lutil -lstdc++
 LOCAL_OBJS=freeswitch_python.o mod_python_wrap.o
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 PYMOD=freeswitch
 

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,9 +1,9 @@
-
+MODNAME=mod_spidermonkey
 include sm.mak
 LOCAL_CFLAGS  += -I$(BASE)/libs/curl/include
 LOCAL_LDFLAGS += $(BASE)/libs/curl/lib/libcurl.la
 
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/curl && $(MAKE)

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey_core_db/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey_core_db/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey_core_db/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,2 +1,3 @@
 include ../mod_spidermonkey/sm.mak
-include $(BASE)/build/modmake.rules
+MODNAME=mod_spidermonkey_core_db
+include ../../../../build/modmake.rules

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/Makefile	Tue Mar 13 14:23:49 2007
@@ -3,10 +3,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_spidermonkey_etpan
 #LOCAL_CFLAGS=
 LOCAL_LDFLAGS+=-letpan
 #LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install libetpan --prefix=$(PREFIX)

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey_odbc/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey_odbc/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey_odbc/Makefile	Tue Mar 13 14:23:49 2007
@@ -3,10 +3,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_spidermonkey_odbc
 #LOCAL_CFLAGS=
 LOCAL_LDFLAGS+=-lodbc
 #LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install unixODBC-2.2.12.tar.gz --prefix=$(PREFIX) --disable-gui --without-x --with-pic

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey_skel/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey_skel/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey_skel/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,3 +1,4 @@
 include ../mod_spidermonkey/sm.mak
-include $(BASE)/build/modmake.rules
+MODNAME=mod_spidermonkey_skel
+include ../../../../build/modmake.rules
 

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey_teletone/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey_teletone/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey_teletone/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,5 +1,5 @@
-
+MODNAME=mod_spidermonkey_teletone
 include ../mod_spidermonkey/sm.mak
 LOCAL_CFLAGS+=-I$(BASE)/libs/libteletone/src
 LOCAL_LDFLAGS+=$(BASE)/libs/libteletone/libteletone.la
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_curl/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_curl/Makefile	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_curl/Makefile	Tue Mar 13 14:23:49 2007
@@ -2,10 +2,11 @@
 # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
 
 # and define these variables to impact your build
+MODNAME=mod_xml_curl
 LOCAL_CFLAGS=-I$(BASE)/libs/curl/include
 LOCAL_LDFLAGS=$(BASE)/libs/curl/lib/libcurl.la
 LOCAL_OBJS=
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/curl && $(MAKE)

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/Makefile	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/Makefile	Tue Mar 13 14:23:49 2007
@@ -1,11 +1,11 @@
-
+MODNAME=mod_xml_rpc
 LOCAL_LDFLAGS  = $(BASE)/libs/xmlrpc-c/src/libxmlrpc.la $(BASE)/libs/xmlrpc-c/src/libxmlrpc_server.la 
 LOCAL_LDFLAGS += $(BASE)/libs/xmlrpc-c/src/libxmlrpc_server_abyss.la $(BASE)/libs/xmlrpc-c/lib/abyss/src/libxmlrpc_abyss.la
 LOCAL_LDFLAGS += $(BASE)/libs/xmlrpc-c/lib/expat/xmlparse/libxmlrpc_xmlparse.la
 
 LOCAL_CFLAGS=-I$(BASE)/libs/xmlrpc-c/include
 
-include $(BASE)/build/modmake.rules
+include ../../../../build/modmake.rules
 
 local_depend:
 	cd $(BASE)/libs/xmlrpc-c && $(MAKE)



More information about the Freeswitch-svn mailing list