Line | |
---|
1 | |
---|
2 | bindir = @bindir@ |
---|
3 | datadir = @datadir@ |
---|
4 | datarootdir = @datarootdir@ |
---|
5 | exec_prefix = @exec_prefix@ |
---|
6 | includedir = @includedir@ |
---|
7 | libdir = @libdir@ |
---|
8 | mandir = @mandir@ |
---|
9 | prefix = @prefix@ |
---|
10 | |
---|
11 | INSTALL = @INSTALL@ |
---|
12 | |
---|
13 | F77 = @F77@ |
---|
14 | CC = @CC@ |
---|
15 | CXX = @CXX@ |
---|
16 | RUBY = @RUBY@ |
---|
17 | PERL = @PERL@ |
---|
18 | TCLSH = @TCLSH@ |
---|
19 | PYTHON = @PYTHON@ |
---|
20 | MEX = @MEX@ |
---|
21 | MKOCTFILE = @MKOCTFILE@ |
---|
22 | |
---|
23 | # Rappture requires we always build a Tcl language API. |
---|
24 | LANGS = target_tcl |
---|
25 | |
---|
26 | ifneq ($(MKOCTFILE),) |
---|
27 | LANGS += target_octave |
---|
28 | endif |
---|
29 | ifneq ($(MEX),) |
---|
30 | LANGS += target_matlab |
---|
31 | endif |
---|
32 | ifneq ($(PERL),) |
---|
33 | LANGS += target_perl |
---|
34 | endif |
---|
35 | ifneq ($(PYTHON),) |
---|
36 | LANGS += target_python |
---|
37 | endif |
---|
38 | ifneq ($(RUBY),) |
---|
39 | # LANGS += target_ruby |
---|
40 | endif |
---|
41 | |
---|
42 | BUILD_TARGETS = $(patsubst target_%,build_%,$(LANGS)) |
---|
43 | INSTALL_TARGETS = $(patsubst target_%,install_%,$(LANGS)) |
---|
44 | |
---|
45 | all: $(BUILD_TARGETS) |
---|
46 | |
---|
47 | install: $(INSTALL_TARGETS) |
---|
48 | |
---|
49 | build_python: |
---|
50 | $(MAKE) -C python all |
---|
51 | build_perl: |
---|
52 | $(MAKE) -C perl all |
---|
53 | build_tcl: |
---|
54 | $(MAKE) -C tcl all |
---|
55 | build_matlab: |
---|
56 | $(MAKE) -C matlab all |
---|
57 | build_octave: |
---|
58 | $(MAKE) -C octave all |
---|
59 | build_ruby: |
---|
60 | $(MAKE) -C ruby all |
---|
61 | |
---|
62 | install_python: |
---|
63 | $(MAKE) -C python install |
---|
64 | install_perl: |
---|
65 | $(MAKE) -C perl install |
---|
66 | install_tcl: |
---|
67 | $(MAKE) -C tcl install |
---|
68 | install_matlab: |
---|
69 | $(MAKE) -C matlab install |
---|
70 | install_octave: |
---|
71 | $(MAKE) -C octave install |
---|
72 | install_ruby: |
---|
73 | $(MAKE) -C ruby install |
---|
74 | |
---|
75 | clean: |
---|
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 | |
---|
83 | distclean: |
---|
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.