pelims for java esl (needs work any voulenteers?)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13950 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-06-25 16:02:37 +00:00
parent 52febfcb76
commit 75c545d97a
8 changed files with 1412 additions and 0 deletions

25
libs/esl/java/Makefile Normal file
View File

@@ -0,0 +1,25 @@
LOCAL_CFLAGS=-I../src/include -I/usr/java/jdk1.6.0_14/include -I/usr/java/jdk1.6.0_14/include/linux
GCC_WARNING_JUNK=-w
CLASSES=org/freeswitch/esl/*
all: esl.jar
esl_wrap.cpp:
swig -module esl -java -c++ $(LOCAL_CFLAGS) -package org.freeswitch.esl -outdir org/freeswitch/esl -o esl_wrap.cpp ../ESL.i
esl_wrap.o: esl_wrap.cpp
$(CXX) $(CXX_CFLAGS) $(LOCAL_CFLAGS) $(CXXFLAGS) $(GCC_WARNING_JUNK) $(PERL_INC) -c esl_wrap.cpp -o esl_wrap.o
esl.jar: esl_wrap.o
mkdir -p classes
javac -sourcepath org -d classes $(CLASSES)
jar cf esl.jar -C classes org
clean:
rm -f *.o *.so *~ *.jar
swigclean:
rm -f esl_wrap.*
reswig: swigclean esl_wrap.cpp