681
|
1 # |
|
2 # Makefile for octave's scripts/special-matrix directory |
|
3 # |
|
4 # John W. Eaton |
|
5 # jwe@che.utexas.edu |
|
6 # Department of Chemical Engineering |
|
7 # The University of Texas at Austin |
|
8 |
682
|
9 TOPDIR = ../.. |
681
|
10 |
|
11 script_sub_dir = special-matrix |
|
12 |
|
13 srcdir = @srcdir@ |
|
14 top_srcdir = @top_srcdir@ |
|
15 VPATH = @srcdir@ |
|
16 |
|
17 include $(TOPDIR)/Makeconf |
|
18 |
|
19 INSTALL = @INSTALL@ |
|
20 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
21 INSTALL_DATA = @INSTALL_DATA@ |
|
22 |
6283
|
23 SOURCES = hadamard.m hankel.m hilb.m invhilb.m magic.m pascal.m \ |
|
24 rosser.m sylvester_matrix.m toeplitz.m vander.m wilkinson.m |
681
|
25 |
6796
|
26 DISTFILES = $(addprefix $(srcdir)/,Makefile.in $(SOURCES)) |
681
|
27 |
6283
|
28 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
681
|
29 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
30 |
5597
|
31 all: PKG_ADD |
681
|
32 .PHONY: all |
|
33 |
2811
|
34 install install-strip: |
4225
|
35 $(do-script-install) |
2811
|
36 .PHONY: install install-strip |
681
|
37 |
|
38 uninstall: |
4225
|
39 $(do-script-uninstall) |
681
|
40 .PHONY: uninstall |
|
41 |
|
42 clean: |
|
43 .PHONY: clean |
|
44 |
5597
|
45 PKG_ADD: $(FCN_FILES) |
|
46 @echo "making PKG_ADD" |
|
47 @$(do-mkpkgadd) |
|
48 |
681
|
49 tags: $(SOURCES) |
|
50 ctags $(SOURCES) |
|
51 |
|
52 TAGS: $(SOURCES) |
|
53 etags $(SOURCES) |
|
54 |
|
55 mostlyclean: clean |
|
56 .PHONY: mostlyclean |
|
57 |
|
58 distclean: clean |
5866
|
59 rm -f Makefile PKG_ADD |
681
|
60 .PHONY: distclean |
|
61 |
1391
|
62 maintainer-clean: distclean |
681
|
63 rm -f tags TAGS |
1391
|
64 .PHONY: maintainer-clean |
681
|
65 |
|
66 dist: |
6467
|
67 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/special-matrix |
681
|
68 .PHONY: dist |