3434
|
1 # Makefile for octave's scripts/control/system directory |
|
2 # |
7016
|
3 # This file is part of Octave. |
|
4 # |
|
5 # Octave is free software; you can redistribute it and/or modify it |
|
6 # under the terms of the GNU General Public License as published by the |
|
7 # Free Software Foundation; either version 3 of the License, or (at |
|
8 # your option) any later version. |
|
9 # |
|
10 # Octave is distributed in the hope that it will be useful, but WITHOUT |
|
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 # for more details. |
|
14 # |
|
15 # You should have received a copy of the GNU General Public License |
|
16 # along with Octave; see the file COPYING. If not, see |
|
17 # <http://www.gnu.org/licenses/>. |
3434
|
18 |
|
19 TOPDIR = ../../.. |
|
20 |
|
21 script_sub_dir = control/system |
|
22 |
|
23 srcdir = @srcdir@ |
|
24 top_srcdir = @top_srcdir@ |
|
25 VPATH = @srcdir@ |
|
26 |
|
27 include $(TOPDIR)/Makeconf |
|
28 |
|
29 INSTALL = @INSTALL@ |
|
30 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
31 INSTALL_DATA = @INSTALL_DATA@ |
|
32 |
6283
|
33 SOURCES = __abcddims__.m __syschnamesl__.m __sysconcat__.m \ |
|
34 __syscont_disc__.m __sysdefioname__.m __sysdefstname__.m \ |
|
35 __sysgroupn__.m __tf2sysl__.m __tfl__.m __zp2ssg2__.m \ |
|
36 abcddim.m buildssic.m c2d.m cellidx.m d2c.m dmr2d.m fir2sys.m \ |
|
37 is_abcd.m is_controllable.m is_detectable.m is_digital.m \ |
|
38 is_observable.m is_sample.m is_signal_list.m is_siso.m \ |
|
39 is_stabilizable.m is_stable.m jet707.m listidx.m moddemo.m \ |
|
40 ord2.m packedform.m parallel.m ss.m ss2sys.m ss2tf.m ss2zp.m \ |
|
41 starp.m sys2fir.m sys2ss.m sys2tf.m sys2zp.m sysadd.m \ |
|
42 sysappend.m syschtsam.m sysconnect.m syscont.m sysdimensions.m \ |
|
43 sysdisc.m sysdup.m sysgetsignals.m sysgettsam.m sysgettype.m \ |
|
44 sysgroup.m sysidx.m sysmin.m sysmult.m sysout.m sysprune.m \ |
|
45 sysreorder.m sysrepdemo.m sysscale.m syssetsignals.m syssub.m \ |
|
46 sysupdate.m tf.m tf2ss.m tf2sys.m tf2zp.m tfout.m ugain.m zp.m \ |
|
47 zp2ss.m zp2sys.m zp2tf.m zpout.m |
3434
|
48 |
6797
|
49 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES)) |
3434
|
50 |
6283
|
51 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
3434
|
52 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
53 |
5597
|
54 all: PKG_ADD |
3434
|
55 .PHONY: all |
|
56 |
|
57 install install-strip: |
4225
|
58 $(do-script-install) |
3434
|
59 .PHONY: install install-strip |
|
60 |
|
61 uninstall: |
4225
|
62 $(do-script-uninstall) |
3434
|
63 .PHONY: uninstall |
|
64 |
|
65 clean: |
|
66 .PHONY: clean |
|
67 |
5597
|
68 PKG_ADD: $(FCN_FILES) |
|
69 @echo "making PKG_ADD" |
|
70 @$(do-mkpkgadd) |
|
71 |
3434
|
72 tags: $(SOURCES) |
|
73 ctags $(SOURCES) |
|
74 |
|
75 TAGS: $(SOURCES) |
|
76 etags $(SOURCES) |
|
77 |
|
78 mostlyclean: clean |
|
79 .PHONY: mostlyclean |
|
80 |
|
81 distclean: clean |
5866
|
82 rm -f Makefile PKG_ADD |
3434
|
83 .PHONY: distclean |
|
84 |
|
85 maintainer-clean: distclean |
|
86 rm -f tags TAGS |
|
87 .PHONY: maintainer-clean |
|
88 |
|
89 dist: |
6467
|
90 ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir) |
3434
|
91 .PHONY: dist |