681
|
1 # Makefile for octave's scripts/polynomial directory |
|
2 # |
7017
|
3 # Copyright (C) 1994, 1995, 1996, 1997, 2002, 2005, 2006, 2007 |
|
4 # John W. Eaton |
|
5 # |
7016
|
6 # This file is part of Octave. |
|
7 # |
|
8 # Octave is free software; you can redistribute it and/or modify it |
|
9 # under the terms of the GNU General Public License as published by the |
|
10 # Free Software Foundation; either version 3 of the License, or (at |
|
11 # your option) any later version. |
|
12 # |
|
13 # Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 # for more details. |
|
17 # |
|
18 # You should have received a copy of the GNU General Public License |
|
19 # along with Octave; see the file COPYING. If not, see |
|
20 # <http://www.gnu.org/licenses/>. |
681
|
21 |
682
|
22 TOPDIR = ../.. |
681
|
23 |
|
24 script_sub_dir = polynomial |
|
25 |
|
26 srcdir = @srcdir@ |
|
27 top_srcdir = @top_srcdir@ |
|
28 VPATH = @srcdir@ |
|
29 |
|
30 include $(TOPDIR)/Makeconf |
|
31 |
|
32 INSTALL = @INSTALL@ |
|
33 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
34 INSTALL_DATA = @INSTALL_DATA@ |
|
35 |
6964
|
36 SOURCES = compan.m conv.m deconv.m mkpp.m mpoles.m pchip.m poly.m \ |
6853
|
37 polyder.m polyderiv.m polyfit.m polygcd.m polyint.m \ |
6283
|
38 polyout.m polyreduce.m polyval.m polyvalm.m ppval.m residue.m \ |
|
39 roots.m spline.m unmkpp.m |
681
|
40 |
6797
|
41 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES)) |
681
|
42 |
6283
|
43 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
681
|
44 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
45 |
5597
|
46 all: PKG_ADD |
681
|
47 .PHONY: all |
|
48 |
2811
|
49 install install-strip: |
4225
|
50 $(do-script-install) |
2811
|
51 .PHONY: install install-strip |
681
|
52 |
|
53 uninstall: |
4225
|
54 $(do-script-uninstall) |
681
|
55 .PHONY: uninstall |
|
56 |
|
57 clean: |
|
58 .PHONY: clean |
|
59 |
5597
|
60 PKG_ADD: $(FCN_FILES) |
|
61 @echo "making PKG_ADD" |
|
62 @$(do-mkpkgadd) |
|
63 |
681
|
64 tags: $(SOURCES) |
|
65 ctags $(SOURCES) |
|
66 |
|
67 TAGS: $(SOURCES) |
|
68 etags $(SOURCES) |
|
69 |
|
70 mostlyclean: clean |
|
71 .PHONY: mostlyclean |
|
72 |
|
73 distclean: clean |
5866
|
74 rm -f Makefile PKG_ADD |
681
|
75 .PHONY: distclean |
|
76 |
1391
|
77 maintainer-clean: distclean |
681
|
78 rm -f tags TAGS |
1391
|
79 .PHONY: maintainer-clean |
681
|
80 |
|
81 dist: |
6467
|
82 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/polynomial |
681
|
83 .PHONY: dist |