Rev | Line | |
---|
[2709] | 1 | |
---|
| 2 | bindir = @bindir@ |
---|
| 3 | datadir = @datadir@ |
---|
| 4 | datarootdir = @datarootdir@ |
---|
| 5 | exec_prefix = @exec_prefix@ |
---|
| 6 | includedir = @includedir@ |
---|
| 7 | libdir = @libdir@ |
---|
| 8 | mandir = @mandir@ |
---|
| 9 | prefix = @prefix@ |
---|
| 10 | srcdir = @srcdir@ |
---|
| 11 | |
---|
| 12 | INSTALL = @INSTALL@ |
---|
| 13 | MKDIR_P = @MKDIR_P@ |
---|
| 14 | LN_S = @LN_S@ |
---|
| 15 | INSTALL_PROGRAM = ${INSTALL} -m 755 |
---|
| 16 | INSTALL_DATA = ${INSTALL} -m 644 |
---|
| 17 | INSTALL_SCRIPT = ${INSTALL} -m 644 |
---|
| 18 | RM = rm -f |
---|
| 19 | VPATH = $(srcdir) |
---|
| 20 | |
---|
| 21 | R = @R@ |
---|
| 22 | |
---|
[3749] | 23 | R_flags = --configure-args='--with-rappture-include=$(includedir) \ |
---|
[3746] | 24 | --with-rappture-lib=$(libdir)' |
---|
[2709] | 25 | |
---|
[3725] | 26 | RLIB = R |
---|
[2709] | 27 | |
---|
| 28 | # $(MKDIR_P) -m 0755 ${PWD}/build |
---|
| 29 | # tar -C ${PWD}/build -clf - . | tar -C $(Rlib) -xpf - |
---|
| 30 | |
---|
[3725] | 31 | all: $(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] | 39 | install: $(RLIB) |
---|
| 40 | $(RM) -rf $(libdir)/$(RLIB) |
---|
| 41 | $(MKDIR_P) -m 0755 $(RLIB) |
---|
| 42 | tar -clf - $(RLIB) | tar -C $(libdir) -xpf - |
---|
| 43 | |
---|
[2709] | 44 | clean: |
---|
[3725] | 45 | $(RM) -r $(RLIB) |
---|
| 46 | $(RM) -rf Rappture Rappture_1.0.tar.gz |
---|
[2709] | 47 | |
---|
| 48 | distclean: clean |
---|
Note: See
TracBrowser
for help on using the repository browser.