source: trunk/lang/Makefile.in @ 1095

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
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10
11INSTALL         = @INSTALL@
12
13SHELL           = @SHELL@
14F77             = @F77@
15CC              = @CC@
16CXX             = @CXX@
17RUBY            = @HAVE_RUBY_DEVEL@
18PERL            = @PERL@
19TCLSH           = @TCLSH@
20PYTHON          = @HAVE_PYTHON_DISTUTILS@
21MEX             = @MEX@
22MKOCTFILE       = @MKOCTFILE@
23
24# Rappture requires it. We always build a Tcl language API.
25LANGS = tcl
26
27ifneq ($(PERL),)
28  LANGS += perl
29endif
30ifeq ($(PYTHON),yes)
31  LANGS += python
32endif
33ifeq ($(RUBY),yes)
34  LANGS += ruby
35endif
36ifneq ($(MEX),)
37  LANGS += matlab
38endif
39ifneq ($(MKOCTFILE),)
40  LANGS += octave
41endif
42
43.PHONY: tcl octave matlab perl python ruby
44
45all:
46        for i in $(LANGS) ; do \
47          $(MAKE) -C $$i all || exit 1 ;\
48        done
49
50install:
51        for i in $(LANGS) ; do \
52          $(MAKE) -C $$i install || exit 1 ;\
53        done
54
55test:
56        for i in $(LANGS) ; do \
57          $(MAKE) -C $$i test || exit 1 ;\
58        done
59
60clean:
61        for i in $(LANGS) ; do \
62          $(MAKE) -C $$i clean ;\
63        done
64
65distclean:
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.