Line | |
---|
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 | |
---|
23 | coresrcdir = `pwd`/$(srcdir)/../../src/core |
---|
24 | corelibdir = `pwd`/../../src/core |
---|
25 | R_flags = --configure-args='--with-rappture-include=$(includedir) \ |
---|
26 | --with-rappture-lib=$(libdir)' |
---|
27 | |
---|
28 | RLIB = R |
---|
29 | |
---|
30 | # $(MKDIR_P) -m 0755 ${PWD}/build |
---|
31 | # tar -C ${PWD}/build -clf - . | tar -C $(Rlib) -xpf - |
---|
32 | |
---|
33 | all: $(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 | |
---|
41 | install: $(RLIB) |
---|
42 | $(RM) -rf $(libdir)/$(RLIB) |
---|
43 | $(MKDIR_P) -m 0755 $(RLIB) |
---|
44 | tar -clf - $(RLIB) | tar -C $(libdir) -xpf - |
---|
45 | |
---|
46 | clean: |
---|
47 | $(RM) -r $(RLIB) |
---|
48 | $(RM) -rf Rappture Rappture_1.0.tar.gz |
---|
49 | |
---|
50 | distclean: clean |
---|
Note: See
TracBrowser
for help on using the repository browser.