681
|
1 # Makefile for octave's scripts/signal 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 = signal |
|
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 |
6283
|
36 SOURCES = arch_fit.m arch_rnd.m arch_test.m arma_rnd.m autocor.m \ |
|
37 autocov.m autoreg_matrix.m bartlett.m blackman.m detrend.m \ |
|
38 diffpara.m durbinlevinson.m fftconv.m fftfilt.m fftshift.m \ |
|
39 filter2.m fractdiff.m freqz.m freqz_plot.m hamming.m hanning.m \ |
|
40 hurst.m ifftshift.m periodogram.m rectangle_lw.m rectangle_sw.m \ |
|
41 sinc.m sinetone.m sinewave.m spectral_adf.m spectral_xdf.m \ |
|
42 spencer.m stft.m synthesis.m triangle_lw.m triangle_sw.m \ |
|
43 unwrap.m yulewalker.m |
681
|
44 |
6797
|
45 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES)) |
681
|
46 |
6283
|
47 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
681
|
48 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
49 |
5597
|
50 all: PKG_ADD |
681
|
51 .PHONY: all |
|
52 |
2811
|
53 install install-strip: |
4225
|
54 $(do-script-install) |
2811
|
55 .PHONY: install install-strip |
681
|
56 |
|
57 uninstall: |
4225
|
58 $(do-script-uninstall) |
681
|
59 .PHONY: uninstall |
|
60 |
|
61 clean: |
|
62 .PHONY: clean |
|
63 |
5597
|
64 PKG_ADD: $(FCN_FILES) |
|
65 @echo "making PKG_ADD" |
|
66 @$(do-mkpkgadd) |
|
67 |
681
|
68 tags: $(SOURCES) |
|
69 ctags $(SOURCES) |
|
70 |
|
71 TAGS: $(SOURCES) |
|
72 etags $(SOURCES) |
|
73 |
|
74 mostlyclean: clean |
|
75 .PHONY: mostlyclean |
|
76 |
|
77 distclean: clean |
5866
|
78 rm -f Makefile PKG_ADD |
681
|
79 .PHONY: distclean |
|
80 |
1391
|
81 maintainer-clean: distclean |
681
|
82 rm -f tags TAGS |
1391
|
83 .PHONY: maintainer-clean |
681
|
84 |
|
85 dist: |
6467
|
86 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/signal |
681
|
87 .PHONY: dist |