annotate R/rdyncall/src/Makevars @ 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 |
0cfcc391201f |
children |
|
rev |
line source |
0
|
1 PKG_CPPFLAGS=-Idyncall/dyncall -Idyncall/dynload -Idyncall/dyncallback
|
|
2 PKG_LIBS=dyncall/dyncall/libdyncall_s.a dyncall/dynload/libdynload_s.a dyncall/dyncallback/libdyncallback_s.a
|
|
3
|
|
4 .PHONY: all mylibs
|
|
5
|
|
6 all: $(SHLIB)
|
|
7 $(SHLIB): mylibs
|
|
8
|
|
9 mylibs:
|
|
10 (cd dyncall ; CC="$(CC)" AR="$(AR)" CFLAGS="-fPIC $(CFLAGS)" CPPFLAGS="-DNDEBUG ${CPPFLAGS}" make -f Makefile.embedded)
|
|
11
|