source: trunk/lang/Makefile.in @ 2298

Last change on this file since 2298 was 2298, checked in by gah, 9 years ago

fixes for grid.sh build for opensees

File size: 1.3 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          = @PYTHON_DISTUTILS@
21MEX             = @MEX@
22OCTAVE          = @OCTAVE_VERSION@
23JAVAC           = @JAVAC@
24
25# Rappture requires it. We always build a Tcl language API.
26LANGS = tcl
27
28ifneq ($(PERL),)
29  LANGS += perl
30endif
31ifeq ($(PYTHON),yes)
32  LANGS += python
33endif
34ifeq ($(RUBY),yes)
35  LANGS += ruby
36endif
37ifneq ($(MEX),)
38  LANGS += matlab
39endif
40ifneq ($(OCTAVE),)
41  LANGS += octave
42endif
43ifneq ($(JAVAC),)
44  LANGS += java
45endif
46
47.PHONY: tcl octave matlab perl python ruby java
48
49all:
50        for i in $(LANGS) ; do \
51          $(MAKE) -C $$i all || exit 1 ;\
52        done
53
54install:
55        for i in $(LANGS) ; do \
56          $(MAKE) -C $$i install || exit 1 ;\
57        done
58
59test:
60        for i in $(LANGS) ; do \
61          $(MAKE) -C $$i test || exit 1 ;\
62        done
63
64clean:
65        for i in $(LANGS) ; do \
66          $(MAKE) -C $$i clean ;\
67        done
68
69distclean:
70        for i in $(LANGS) ; do \
71          $(MAKE) -C $$i distclean ;\
72        done
73        $(RM) Makefile *~
Note: See TracBrowser for help on using the repository browser.