mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-05 06:25:33 +00:00
Update java bindings for new version of uc_mem_map
This commit is contained in:
parent
85ad7725da
commit
1d6bd17a13
12 changed files with 55 additions and 42 deletions
13
bindings/java/Makefile
Normal file → Executable file
13
bindings/java/Makefile
Normal file → Executable file
|
|
@ -1,3 +1,6 @@
|
|||
|
||||
.PHONY: gen_const clean
|
||||
|
||||
JAVA_HOME := $(shell jrunscript -e 'java.lang.System.out.println(java.lang.System.getProperty("java.home"));')
|
||||
|
||||
JAVA_INC := $(shell realpath $(JAVA_HOME)/../include)
|
||||
|
|
@ -63,3 +66,13 @@ jar: jarfiles
|
|||
install: lib jar
|
||||
cp libunicorn_java$(LIB_EXT) $(JAVA_HOME)/lib/ext
|
||||
cp $(JARFILE) $(JAVA_HOME)/lib/ext
|
||||
|
||||
gen_const:
|
||||
cd .. && python const_generator.py java
|
||||
|
||||
clean:
|
||||
rm unicorn/*.class
|
||||
rm samples/*.class
|
||||
rm *.so
|
||||
rm *.dylib
|
||||
rm *.dll
|
||||
Loading…
Add table
Add a link
Reference in a new issue