source: branches/1.3/lang/R/Makefile.in @ 3745

Last change on this file since 3745 was 3745, checked in by gah, 11 years ago
File size: 1.3 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`/$(srcdir)/../../src/core
24corelibdir      = `pwd`/../../src/core
25R_flags         = --configure-args='--with-rappture-include=$(includedir)  \
26                                    --with-rappture-lib=$(libdir)'
27
28RLIB            = R
29
30#       $(MKDIR_P) -m 0755 ${PWD}/build
31#       tar -C ${PWD}/build -clf - . | tar -C $(Rlib) -xpf -
32
33all: $(RLIB)
34
35$(RLIB):
36        tar -C $(srcdir) -clf - Rappture | tar -xpf -
37        $(MKDIR_P) -m 0755 $(RLIB)
38        $(R) CMD build Rappture
39        LD_LIBRARY_PATH=$(libdir) $(R) CMD INSTALL $(R_flags) --library=$(RLIB) Rappture
40
41install: $(RLIB)
42        $(RM) -rf $(libdir)/$(RLIB)
43        $(MKDIR_P) -m 0755 $(RLIB)
44        tar -clf - $(RLIB) | tar -C $(libdir) -xpf - 
45
46clean:
47        $(RM) -r $(RLIB)
48        $(RM) -rf Rappture Rappture_1.0.tar.gz
49
50distclean: clean
Note: See TracBrowser for help on using the repository browser.