提交 f07c5301 authored 作者: Anthony Minessale's avatar Anthony Minessale

integrate mod_managed into make swigall and fix mod_managed linux build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9815 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a71d0e5d
......@@ -17,5 +17,9 @@ cd src/mod/languages/mod_java
make reswig
cd ../../../..
cd src/mod/languages/mod_managed
make reswig
cd ../../../..
......@@ -4,13 +4,23 @@ MOD_CFLAGS=-D_REENTRANT -pthread -I/opt/mono-1.9/lib/pkgconfig/../../include/mon
BASE=../../../..
VERBOSE=1
include $(BASE)/build/modmake.rules
LOCAL_OBJS=freeswitch_mono.o freeswitch_wrap.o
LOCAL_OBJS=freeswitch_managed.o freeswitch_wrap.o
local_depend: $(LOCAL_OBJS)
freeswitch_mono.o: freeswitch_mono.h freeswitch_mono.cpp
freeswitch_managed.o: freeswitch_managed.h freeswitch_managed.cpp
freeswitch_wrap.o: freeswitch_wrap.cpp
freeswitch_wrap.cpp: freeswitch_wrap.cxx
cp freeswitch_wrap.cxx freeswitch_wrap.cpp
cp freeswitch_wrap.cxx freeswitch_wrap.cpp
reswig: swigclean freeswitch_wrap.cxx
swigclean: clean
rm -f freeswitch_wrap.cxx freeswitch_wrap.cpp managed/swig.cs
freeswitch_wrap.cxx:
swig -I../../../include -v -O -c++ -csharp -namespace FreeSWITCH.Native -dllimport mod_managed freeswitch.i
rm -f ./managed/swig.cs
cat *.cs > ./managed/swig.cs
rm -f *.cs
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论