Mercurial > pub > dyncall > bindings
annotate java/jdc/Makefile @ 46:c21d1c2c84e1
- removed pydc.py wrapper overhead (which only called pydcext.so functions, directly, anyways)
* implies renaming pydcext.* to pydc.*
* while at it, iterate directly over args that are passed in (before we did extract fptr, sig and a tuple for the args and iterated over latter afterwards); we might have a tiny perf improvement now
- added type stub as package_data
author | Tassilo Philipp |
---|---|
date | Fri, 13 Nov 2020 14:10:31 +0100 |
parents | 4ee8d6aa7721 |
children |
rev | line source |
---|---|
20 | 1 # should be .jnilib on os x, .dll on windows, etc. @@@ |
2 SO=libjdc.so | |
3 | |
4 build: $(SO) | |
5 | |
6 clean: | |
7 rm org_dyncall_DC.h || true | |
8 rm org/dyncall/DC.class || true | |
9 rm $(SO) || true | |
10 | |
11 $(SO): org_dyncall_DC.h org_dyncall_DC.c | |
12 # @@@ support different compilers @@@ esp. on windows | |
21 | 13 $(CC) -shared -fPIC -o $@ org_dyncall_DC.c -ldyncall_s -ldynload_s |
20 | 14 |
15 org_dyncall_DC.h: org/dyncall/DC.class | |
21 | 16 javah -jni org.dyncall.DC |
18
3bfef07b0cd9
- cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff
changeset
|
17 |
22
4ee8d6aa7721
- java binding cleanup, exposed free functions (not very oo, this entire binding)
cslag
parents:
21
diff
changeset
|
18 org/dyncall/DC.class: org/dyncall/DC.java |
20 | 19 cd org/dyncall/ && javac DC.java |
20 | |
21 .PHONY: build clean |