Files
freeswitch/src/mod/languages/mod_python/Makefile
T
Brian West 08d15071a4 fix spelling, Everyone do not forget to thank Mike for all his hard work.. he need sleep now. ;) ./applications/mod_enum/Makefile
./asr_tts/mod_cepstral/Makefile
./asr_tts/mod_lumenvox/Makefile
./codecs/mod_amr/Makefile
./codecs/mod_g711/Makefile
./codecs/mod_g722/Makefile
./codecs/mod_g723_1/Makefile
./codecs/mod_g726/Makefile
./codecs/mod_g729/Makefile
./codecs/mod_gsm/Makefile
./codecs/mod_ilbc/Makefile
./codecs/mod_lpc10/Makefile
./codecs/mod_speex/Makefile
./directories/mod_ldap/Makefile
./endpoints/mod_dingaling/Makefile
./endpoints/mod_iax/Makefile
./endpoints/mod_portaudio/Makefile
./endpoints/mod_sofia/Makefile
./endpoints/mod_wanpipe/Makefile
./event_handlers/mod_cdr/Makefile
./event_handlers/mod_xmpp_event/Makefile
./event_handlers/mod_zeroconf/Makefile
./formats/mod_shout/Makefile
./formats/mod_sndfile/Makefile
./languages/mod_mono/Makefile
./languages/mod_perl/Makefile
./languages/mod_python/Makefile
./languages/mod_spidermonkey/Makefile
./languages/mod_spidermonkey_core_db/Makefile
./languages/mod_spidermonkey_etpan/Makefile
./languages/mod_spidermonkey_odbc/Makefile
./languages/mod_spidermonkey_skel/Makefile
./languages/mod_spidermonkey_teletone/Makefile
./xml_int/mod_xml_curl/Makefile
./xml_int/mod_xml_rpc/Makefile

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 05:17:17 +00:00

30 lines
937 B
Makefile

# define these targets in your makefile if you wish
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
# and define these variables to impact your build
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
PYMOD=freeswitch
SWIGCFILE=../../../switch_swig.c
SWIGIFILE=../../../switch_swig.i
local_depend:
MAKE=$(MAKE) PY_CFLAGS=-fPIC $(BASE)/build/buildlib.sh $(BASE) install Python-2.4.3.tgz --prefix=$(PREFIX) --enable-threads
reswig:
swig -python -shadow -c++ -o mod_python_wrap.cpp mod_python.i
switch_swig_wrap.o: switch_swig_wrap.c Makefile
$(CC) -w $(CFLAGS) -c $< -o $@
switch_swig.o: $(SWIGCFILE) Makefile
$(CC) -w $(CFLAGS) -c $< -o $@
local_install:
cp -f freeswitch.py $(PREFIX)/lib/python2.4/site-packages/