annotate R/rdyncall/src/Makevars @ 2:a27ef6fdc275

- assume dyncall dir is next to maintainers'
author cslag
date Thu, 31 Dec 2015 20:20:18 +0100
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 PKG_CPPFLAGS=-Idyncall/dyncall -Idyncall/dynload -Idyncall/dyncallback
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 PKG_LIBS=dyncall/dyncall/libdyncall_s.a dyncall/dynload/libdynload_s.a dyncall/dyncallback/libdyncallback_s.a
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 .PHONY: all mylibs
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 all: $(SHLIB)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 $(SHLIB): mylibs
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 mylibs:
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 (cd dyncall ; CC="$(CC)" AR="$(AR)" CFLAGS="-fPIC $(CFLAGS)" CPPFLAGS="-DNDEBUG ${CPPFLAGS}" make -f Makefile.embedded)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11