source: trunk/lang/Makefile.in @ 1044

Last change on this file since 1044 was 1035, checked in by gah, 13 years ago

disable ruby interface

File size: 1.7 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
13F77 =           @F77@
14CC =            @CC@
15CXX =           @CXX@
16RUBY =          @RUBY@
17PERL =          @PERL@
18TCLSH =         @TCLSH@
19PYTHON =        @PYTHON@
20MEX =           @MEX@
21MKOCTFILE =     @MKOCTFILE@
22
23# Rappture requires we always build a Tcl language API.
24LANGS = target_tcl
25
26ifneq ($(PERL),)
27  LANGS += target_perl
28endif
29ifneq ($(PYTHON),)
30  LANGS += target_python
31endif
32ifneq ($(MKOCTFILE),)
33  LANGS += target_octave
34endif
35ifneq ($(MEX),)
36  LANGS += target_matlab
37endif
38ifneq ($(RUBY),)
39#  LANGS += target_ruby
40endif
41
42BUILD_TARGETS = $(patsubst target_%,build_%,$(LANGS))
43INSTALL_TARGETS = $(patsubst target_%,install_%,$(LANGS))
44
45all:    $(BUILD_TARGETS)
46
47install: $(INSTALL_TARGETS)
48
49build_python:
50        $(MAKE) -C python all
51build_perl:
52        $(MAKE) -C perl all
53build_tcl:
54        $(MAKE) -C tcl all
55build_matlab:
56        $(MAKE) -C matlab all
57build_octave:
58        $(MAKE) -C octave all
59build_ruby:
60        $(MAKE) -C ruby all
61
62install_python:
63        $(MAKE) -C python install
64install_perl:
65        $(MAKE) -C perl install
66install_tcl:
67        $(MAKE) -C tcl install
68install_matlab:
69        $(MAKE) -C matlab install
70install_octave:
71        $(MAKE) -C octave install
72install_ruby:
73        $(MAKE) -C ruby install
74
75clean:
76        $(MAKE) -C matlab clean
77        $(MAKE) -C octave clean
78        $(MAKE) -C perl clean
79        $(MAKE) -C python clean
80        $(MAKE) -C ruby clean
81        $(MAKE) -C tcl clean
82
83distclean:
84        $(MAKE) -C matlab distclean
85        $(MAKE) -C octave distclean
86        $(MAKE) -C perl distclean
87        $(MAKE) -C python distclean
88        $(MAKE) -C ruby distclean
89        $(MAKE) -C tcl distclean
90        $(RM) Makefile *~
Note: See TracBrowser for help on using the repository browser.