more progress
This commit is contained in:
parent
bda0c4694a
commit
3c99f0b055
@ -31,11 +31,11 @@ python/yap_wrap.o: python/yap_wrap.c
|
||||
java: java/libyap.@SO@ java/yap.java
|
||||
cd java ; $(JAVAC) *.java; $(JAR) cvf yap.jar *.class
|
||||
|
||||
java/libyap.@SO@: java/yap_wrap.o
|
||||
java/libyap.@SO@: jni/yap_wrap.o
|
||||
$(CXX) -shared $(LDSOFLAGS) -L ../.. -lYap -o java/libyap.@SO@ ../../yapi.o java/yap_wrap.o $(LIBS) @JPLLDFLAGS@ -L ../.. -lYap -lpthread
|
||||
|
||||
java/yap_wrap.c: $(srcdir)/yap.i
|
||||
$(SWIG) -c++ -java -outdir java -o $@ $(DEFS) $(CPPFLAGS) -Wall $<
|
||||
jni/yap_wrap.c: $(srcdir)/yap.i
|
||||
$(SWIG) -c++ -java -package pt.up.fc.dcc.yap -outdir src/pt/up/fc/dcc/yap -o $@ $(DEFS) $(CPPFLAGS) -Wall $<
|
||||
|
||||
java/yap_wrap.o: java/yap_wrap.c
|
||||
$(CXX) -c $(CXXFLAGS) @JPLCFLAGS@ $< -o $@
|
||||
|
@ -24,12 +24,13 @@ if test "$PKG_SWIG" != ""; then
|
||||
mkdir -p packages/swig/python
|
||||
mkdir -p packages/swig/R
|
||||
mkdir -p packages/swig/java
|
||||
mkdir -p packages/swig/android
|
||||
mkdir -p packages/swig/src
|
||||
mkdir -p packages/swig/jni
|
||||
|
||||
AC_SUBST(SWIG)
|
||||
AC_SUBST(SWIG_TARGET)
|
||||
AC_SUBST(PKG_SWIG)
|
||||
|
||||
AC_CONFIG_FILES([ packages/swig/Makefile ])
|
||||
AC_CONFIG_FILES([ packages/swig/Makefile packages/swig/jni/Android.mk ])
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user