source: trunk/lang/R/Makefile.in @ 3717

Last change on this file since 3717 was 3717, checked in by gah, 8 years ago

fixes for R build, can now make clean, make

File size: 1.1 KB
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10srcdir          = @srcdir@
11
12INSTALL         = @INSTALL@
13MKDIR_P         = @MKDIR_P@
14LN_S            = @LN_S@
15INSTALL_PROGRAM = ${INSTALL} -m 755
16INSTALL_DATA    = ${INSTALL} -m 644
17INSTALL_SCRIPT  = ${INSTALL} -m 644
18RM              = rm -f
19VPATH           = $(srcdir)
20
21R               = @R@
22
23coresrcdir      = ${PWD}/../../rappture/src/core
24corelibdir      = ${PWD}/../src/core
25R_flags         = --configure-args='--with-rappture-include=$(coresrcdir)\
26                                    --with-rappture-lib=$(corelibdir)'
27
28Rlib            = $(libdir)/R
29
30#       $(MKDIR_P) -m 0755 ${PWD}/build
31#       tar -C ${PWD}/build -clf - . | tar -C $(Rlib) -xpf -
32
33all:
34        $(R) CMD build $(srcdir)/Rappture
35        tar xvzf Rappture_1.0.tar.gz
36
37install:
38        $(MKDIR_P) -m 0755 $(Rlib)
39        $(R) CMD INSTALL $(R_flags) --library=$(Rlib) Rappture
40
41clean:
42        $(RM) -rf Rappture ${PWD}/build
43
44distclean: clean
Note: See TracBrowser for help on using the repository browser.