Last change
on this file since 1095 was
1087,
checked in by dkearney, 16 years ago
|
adjusted how we calculate the library path for perl and ruby bindings
|
File size:
1.2 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 = @HAVE_PYTHON_DISTUTILS@ |
---|
21 | MEX = @MEX@ |
---|
22 | MKOCTFILE = @MKOCTFILE@ |
---|
23 | |
---|
24 | # Rappture requires it. We always build a Tcl language API. |
---|
25 | LANGS = tcl |
---|
26 | |
---|
27 | ifneq ($(PERL),) |
---|
28 | LANGS += perl |
---|
29 | endif |
---|
30 | ifeq ($(PYTHON),yes) |
---|
31 | LANGS += python |
---|
32 | endif |
---|
33 | ifeq ($(RUBY),yes) |
---|
34 | LANGS += ruby |
---|
35 | endif |
---|
36 | ifneq ($(MEX),) |
---|
37 | LANGS += matlab |
---|
38 | endif |
---|
39 | ifneq ($(MKOCTFILE),) |
---|
40 | LANGS += octave |
---|
41 | endif |
---|
42 | |
---|
43 | .PHONY: tcl octave matlab perl python ruby |
---|
44 | |
---|
45 | all: |
---|
46 | for i in $(LANGS) ; do \ |
---|
47 | $(MAKE) -C $$i all || exit 1 ;\ |
---|
48 | done |
---|
49 | |
---|
50 | install: |
---|
51 | for i in $(LANGS) ; do \ |
---|
52 | $(MAKE) -C $$i install || exit 1 ;\ |
---|
53 | done |
---|
54 | |
---|
55 | test: |
---|
56 | for i in $(LANGS) ; do \ |
---|
57 | $(MAKE) -C $$i test || exit 1 ;\ |
---|
58 | done |
---|
59 | |
---|
60 | clean: |
---|
61 | for i in $(LANGS) ; do \ |
---|
62 | $(MAKE) -C $$i clean ;\ |
---|
63 | done |
---|
64 | |
---|
65 | distclean: |
---|
66 | for i in $(LANGS) ; do \ |
---|
67 | $(MAKE) -C $$i distclean ;\ |
---|
68 | done |
---|
69 | $(RM) Makefile *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.