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