mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
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
This commit is contained in:
parent
a71d0e5d82
commit
f07c53017c
@ -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
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user