source:
branches/1.3/lang/Makefile.in
@
6221
Last change on this file since 6221 was 3745, checked in by gah, 10 years ago | |
---|---|
File size: 1.4 KB |
Rev | Line | |
---|---|---|
[1018] | 1 | |
2 | bindir = @bindir@ | |
[1087] | 3 | datadir = @datadir@ |
4 | datarootdir = @datarootdir@ | |
[1018] | 5 | exec_prefix = @exec_prefix@ |
6 | includedir = @includedir@ | |
7 | libdir = @libdir@ | |
8 | mandir = @mandir@ | |
9 | prefix = @prefix@ | |
10 | ||
[1087] | 11 | INSTALL = @INSTALL@ |
[1018] | 12 | |
[1087] | 13 | SHELL = @SHELL@ |
14 | F77 = @F77@ | |
15 | CC = @CC@ | |
16 | CXX = @CXX@ | |
[3281] | 17 | HAVE_RUBY_H = @HAVE_RUBY_H@ |
18 | RUBY = @RUBY@ | |
[1087] | 19 | PERL = @PERL@ |
20 | TCLSH = @TCLSH@ | |
[2059] | 21 | PYTHON = @PYTHON_DISTUTILS@ |
[1087] | 22 | MEX = @MEX@ |
[2709] | 23 | OCTAVE = @OCTAVE_VERSION@ |
[3065] | 24 | JAVA_INC_DIR = @JAVA_INC_DIR@ |
[2709] | 25 | R = @R@ |
[1018] | 26 | |
[1059] | 27 | # Rappture requires it. We always build a Tcl language API. |
[1055] | 28 | LANGS = tcl |
[1018] | 29 | |
30 | ifneq ($(PERL),) | |
[1055] | 31 | LANGS += perl |
[1018] | 32 | endif |
[1081] | 33 | ifeq ($(PYTHON),yes) |
[1055] | 34 | LANGS += python |
[1018] | 35 | endif |
[3603] | 36 | ifneq ($(RUBY),) |
[3282] | 37 | ifeq ($(HAVE_RUBY_H),yes) |
38 | LANGS += ruby | |
39 | endif | |
[1018] | 40 | endif |
[1082] | 41 | ifneq ($(MEX),) |
42 | LANGS += matlab | |
43 | endif | |
[2180] | 44 | ifneq ($(OCTAVE),) |
[1082] | 45 | LANGS += octave |
46 | endif | |
[3065] | 47 | ifneq ($(JAVA_INC_DIR),) |
[1722] | 48 | LANGS += java |
49 | endif | |
[2709] | 50 | ifneq ($(R),) |
51 | LANGS += R | |
52 | endif | |
[1018] | 53 | |
[3739] | 54 | .PHONY: all install test clean distclean $(LANGS) |
[1018] | 55 | |
[3742] | 56 | all: |
[3743] | 57 | make -C ../src install |
[3742] | 58 | for i in $(LANGS) ; do \ |
59 | $(MAKE) -C $$i all || exit 1 ;\ | |
60 | done | |
[3739] | 61 | |
[1087] | 62 | install: |
[1055] | 63 | for i in $(LANGS) ; do \ |
64 | $(MAKE) -C $$i install || exit 1 ;\ | |
65 | done | |
[1018] | 66 | |
[1087] | 67 | test: |
[1055] | 68 | for i in $(LANGS) ; do \ |
69 | $(MAKE) -C $$i test || exit 1 ;\ | |
70 | done | |
[1018] | 71 | |
[1087] | 72 | clean: |
[1055] | 73 | for i in $(LANGS) ; do \ |
74 | $(MAKE) -C $$i clean ;\ | |
75 | done | |
[1018] | 76 | |
[1087] | 77 | distclean: |
[1055] | 78 | for i in $(LANGS) ; do \ |
79 | $(MAKE) -C $$i distclean ;\ | |
80 | done | |
[1018] | 81 | $(RM) Makefile *~ |
Note: See TracBrowser
for help on using the repository browser.