source: branches/r9/lang/R/Makefile.in @ 4943

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