source: trunk/lang/Makefile.in @ 5732

Last change on this file since 5732 was 3749, checked in by gah, 11 years ago

fix Makefiles (one more time)

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