source: branches/1.2/examples/app-fermi/Makefile.in @ 3620

Last change on this file since 3620 was 3620, checked in by gah, 8 years ago

fix: add test for java includes before building java for app-fermi example.

File size: 1.5 KB
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10
11INSTALL         = @INSTALL@
12INSTALL_PROGRAM = ${INSTALL} -m 755
13INSTALL_DATA    = ${INSTALL} -m 644
14INSTALL_SCRIPT  = ${INSTALL} -m 644
15
16CC              = @CC@
17CXX             = @CXX@
18F77             = @F77@
19HAVE_RUBY_H     = @HAVE_RUBY_H@
20JAVAC           = @JAVAC@
21JAVA_INC_DIR    = @JAVA_INC_DIR@
22MEX             = @MEX@
23MKOCTFILE2      = @MKOCTFILE2@
24MKOCTFILE3      = @MKOCTFILE3@
25OCTAVE          = $(MKOCTFILE2) $(MKOCTFILE3)
26PERL            = @PERL@
27PYTHON          = @PYTHON_DISTUTILS@
28PYTHON          = @PYTHON@
29R               = @R@
30RUBY            = @RUBY@
31TCLSH           = @TCLSH@
32
33.PHONY: all install clean distclean tcl cee fortran octave matlab perl python ruby java 2.0 wrapper
34
35LANGS = cee tcl wrapper 2.0
36ifneq ($(F77),)
37    LANGS += fortran
38endif
39ifneq ($(OCTAVE),)
40    LANGS += octave
41endif
42ifneq ($(MEX),)
43    LANGS += matlab
44endif
45ifneq ($(PERL),)
46    LANGS += perl
47endif
48ifneq ($(PYTHON),)
49    LANGS += python
50endif
51ifneq ($(RUBY),)
52  ifeq ($(HAVE_RUBY_H),yes)
53    LANGS += ruby
54  endif
55endif
56ifneq ($(JAVA_INC_DIR),)
57    LANGS += java
58endif
59ifneq ($(R),)
60    LANGS += R
61endif
62
63all:   
64        for i in $(LANGS) ; do \
65           $(MAKE) -C $$i all || exit 1 ; \
66        done
67
68install:
69        for i in $(LANGS) ; do \
70           $(MAKE) -C $$i install || exit 1 ; \
71        done
72
73clean:
74        for i in $(LANGS) ; do \
75           $(MAKE) -C $$i clean || exit 1 ; \
76        done
77
78distclean:
79        for i in $(LANGS) ; do \
80           $(MAKE) -C $$i distclean || exit 1 ; \
81        done
82        $(RM) Makefile
Note: See TracBrowser for help on using the repository browser.