annotate R/rdyncall/src/Makevars @ 12:079718588eb6
made erlang binding work with system *installed* dyncall:
- made build use static libraries (used .o files directly)
- removed custom flags for include path and relying on CFLAGS now
- change cc to $(CC)
- readme update with build instructions, etc.
author |
cslag |
date |
Sat, 26 Mar 2016 15:55:50 +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
|