source: trunk/lang/Makefile.in @ 2709

Last change on this file since 2709 was 2709, checked in by dkearney, 9 years ago

adding R bindings with app-fermi example.

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