added example of mixing hand written jni code with swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
42d2c33bda
commit
f6f291ac35
6 changed files with 108 additions and 2 deletions
17
SWIG/Examples/java/native/Makefile
Normal file
17
SWIG/Examples/java/native/Makefile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
TOP = ../..
|
||||
SWIG = $(TOP)/../swig
|
||||
SWIGOPT =
|
||||
SRCS =
|
||||
TARGET = libexample
|
||||
INTERFACE = example.i
|
||||
|
||||
all:: java
|
||||
|
||||
java::
|
||||
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' java
|
||||
|
||||
clean::
|
||||
rm -f *_wrap* example.java *.class *.o *~ .~* core *.so *.sl so_locations
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue