3434
|
1 # |
|
2 # Makefile for octave's scripts/control/base directory |
|
3 # |
|
4 # John W. Eaton |
|
5 # jwe@bevo.che.wisc.edu |
|
6 # University of Wisconsin-Madison |
|
7 # Department of Chemical Engineering |
|
8 |
|
9 TOPDIR = ../../.. |
|
10 |
|
11 script_sub_dir = control/base |
|
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 = DEMOcontrol.m __bodquist__.m __freqresp__.m \ |
|
24 __stepimp__.m analdemo.m are.m bddemo.m bode.m bode_bounds.m \ |
|
25 controldemo.m ctrb.m damp.m dare.m dcgain.m dgram.m dkalman.m \ |
|
26 dlqe.m dlqr.m dlyap.m dre.m frdemo.m freqchkw.m gram.m \ |
|
27 impulse.m lqe.m lqg.m lqr.m lsim.m ltifr.m lyap.m nichols.m \ |
|
28 nyquist.m obsv.m place.m pzmap.m rldemo.m rlocus.m step.m \ |
|
29 tzero.m tzero2.m |
3434
|
30 |
6796
|
31 DISTFILES = $(addprefix $(srcdir)/,Makefile.in $(SOURCES)) |
3434
|
32 |
6283
|
33 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
3434
|
34 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
35 |
5597
|
36 all: PKG_ADD |
3434
|
37 .PHONY: all |
|
38 |
|
39 install install-strip: |
4225
|
40 $(do-script-install) |
3434
|
41 .PHONY: install install-strip |
|
42 |
|
43 uninstall: |
4225
|
44 $(do-script-uninstall) |
3434
|
45 .PHONY: uninstall |
|
46 |
|
47 clean: |
|
48 .PHONY: clean |
|
49 |
5597
|
50 PKG_ADD: $(FCN_FILES) |
|
51 @echo "making PKG_ADD" |
|
52 @$(do-mkpkgadd) |
|
53 |
3434
|
54 tags: $(SOURCES) |
|
55 ctags $(SOURCES) |
|
56 |
|
57 TAGS: $(SOURCES) |
|
58 etags $(SOURCES) |
|
59 |
|
60 mostlyclean: clean |
|
61 .PHONY: mostlyclean |
|
62 |
|
63 distclean: clean |
5866
|
64 rm -f Makefile PKG_ADD |
3434
|
65 .PHONY: distclean |
|
66 |
|
67 maintainer-clean: distclean |
|
68 rm -f tags TAGS |
|
69 .PHONY: maintainer-clean |
|
70 |
|
71 dist: |
6467
|
72 ln $(DISTFILES) ../../../`cat ../../../.fname`/scripts/$(script_sub_dir) |
3434
|
73 .PHONY: dist |