Last change
on this file since 3065 was
3065,
checked in by gah, 12 years ago
|
don't build java binding unless we find jni.h
|
File size:
1.4 KB
|
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 | RUBY = @HAVE_RUBY_DEVEL@ |
---|
18 | PERL = @PERL@ |
---|
19 | TCLSH = @TCLSH@ |
---|
20 | PYTHON = @PYTHON_DISTUTILS@ |
---|
21 | MEX = @MEX@ |
---|
22 | OCTAVE = @OCTAVE_VERSION@ |
---|
23 | JAVA_INC_DIR = @JAVA_INC_DIR@ |
---|
24 | R = @R@ |
---|
25 | |
---|
26 | # Rappture requires it. We always build a Tcl language API. |
---|
27 | LANGS = tcl |
---|
28 | |
---|
29 | ifneq ($(PERL),) |
---|
30 | LANGS += perl |
---|
31 | endif |
---|
32 | ifeq ($(PYTHON),yes) |
---|
33 | LANGS += python |
---|
34 | endif |
---|
35 | ifeq ($(RUBY),yes) |
---|
36 | LANGS += ruby |
---|
37 | endif |
---|
38 | ifneq ($(MEX),) |
---|
39 | LANGS += matlab |
---|
40 | endif |
---|
41 | ifneq ($(OCTAVE),) |
---|
42 | LANGS += octave |
---|
43 | endif |
---|
44 | ifneq ($(JAVA_INC_DIR),) |
---|
45 | LANGS += java |
---|
46 | endif |
---|
47 | ifneq ($(R),) |
---|
48 | LANGS += R |
---|
49 | endif |
---|
50 | |
---|
51 | .PHONY: tcl octave matlab perl python ruby java R |
---|
52 | |
---|
53 | all: |
---|
54 | for i in $(LANGS) ; do \ |
---|
55 | $(MAKE) -C $$i all || exit 1 ;\ |
---|
56 | done |
---|
57 | |
---|
58 | install: |
---|
59 | for i in $(LANGS) ; do \ |
---|
60 | $(MAKE) -C $$i install || exit 1 ;\ |
---|
61 | done |
---|
62 | |
---|
63 | test: |
---|
64 | for i in $(LANGS) ; do \ |
---|
65 | $(MAKE) -C $$i test || exit 1 ;\ |
---|
66 | done |
---|
67 | |
---|
68 | clean: |
---|
69 | for i in $(LANGS) ; do \ |
---|
70 | $(MAKE) -C $$i clean ;\ |
---|
71 | done |
---|
72 | |
---|
73 | distclean: |
---|
74 | for i in $(LANGS) ; do \ |
---|
75 | $(MAKE) -C $$i distclean ;\ |
---|
76 | done |
---|
77 | $(RM) Makefile *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.