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 | |
---|
11 | INSTALL = @INSTALL@ |
---|
12 | |
---|
13 | SHELL = @SHELL@ |
---|
14 | F77 = @F77@ |
---|
15 | CC = @CC@ |
---|
16 | CXX = @CXX@ |
---|
17 | HAVE_RUBY_H = @HAVE_RUBY_H@ |
---|
18 | RUBY = @RUBY@ |
---|
19 | PERL = @PERL@ |
---|
20 | TCLSH = @TCLSH@ |
---|
21 | PYTHON = @PYTHON_DISTUTILS@ |
---|
22 | MEX = @MEX@ |
---|
23 | OCTAVE = @OCTAVE_VERSION@ |
---|
24 | JAVA_INC_DIR = @JAVA_INC_DIR@ |
---|
25 | R = @R@ |
---|
26 | |
---|
27 | # Rappture requires it. We always build a Tcl language API. |
---|
28 | LANGS = tcl |
---|
29 | |
---|
30 | ifneq ($(PERL),) |
---|
31 | LANGS += perl |
---|
32 | endif |
---|
33 | ifeq ($(PYTHON),yes) |
---|
34 | LANGS += python |
---|
35 | endif |
---|
36 | ifneq ($(RUBY),) |
---|
37 | ifeq ($(HAVE_RUBY_H),yes) |
---|
38 | LANGS += ruby |
---|
39 | endif |
---|
40 | endif |
---|
41 | ifneq ($(MEX),) |
---|
42 | LANGS += matlab |
---|
43 | endif |
---|
44 | ifneq ($(OCTAVE),) |
---|
45 | LANGS += octave |
---|
46 | endif |
---|
47 | ifneq ($(JAVA_INC_DIR),) |
---|
48 | LANGS += java |
---|
49 | endif |
---|
50 | ifneq ($(R),) |
---|
51 | LANGS += R |
---|
52 | endif |
---|
53 | |
---|
54 | .PHONY: all install test clean distclean $(LANGS) |
---|
55 | |
---|
56 | all: |
---|
57 | make -C ../src install |
---|
58 | for i in $(LANGS) ; do \ |
---|
59 | $(MAKE) -C $$i all || exit 1 ;\ |
---|
60 | done |
---|
61 | |
---|
62 | install: |
---|
63 | for i in $(LANGS) ; do \ |
---|
64 | $(MAKE) -C $$i install || exit 1 ;\ |
---|
65 | done |
---|
66 | |
---|
67 | test: |
---|
68 | for i in $(LANGS) ; do \ |
---|
69 | $(MAKE) -C $$i test || exit 1 ;\ |
---|
70 | done |
---|
71 | |
---|
72 | clean: |
---|
73 | for i in $(LANGS) ; do \ |
---|
74 | $(MAKE) -C $$i clean ;\ |
---|
75 | done |
---|
76 | |
---|
77 | distclean: |
---|
78 | for i in $(LANGS) ; do \ |
---|
79 | $(MAKE) -C $$i distclean ;\ |
---|
80 | done |
---|
81 | $(RM) Makefile *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.