681
|
1 # |
|
2 # Makefile for octave's scripts/control directory |
|
3 # |
|
4 # John W. Eaton |
1452
|
5 # jwe@bevo.che.wisc.edu |
|
6 # University of Wisconsin-Madison |
681
|
7 # Department of Chemical Engineering |
|
8 |
682
|
9 TOPDIR = ../.. |
681
|
10 |
|
11 script_sub_dir = control |
|
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 |
3431
|
23 SUBDIRS = base hinf obsolete system util |
681
|
24 |
3429
|
25 DISTSUBDIRS = $(SUBDIRS) |
681
|
26 |
3429
|
27 DISTFILES = Makefile.in |
2624
|
28 |
681
|
29 all: |
|
30 .PHONY: all |
|
31 |
3429
|
32 $(SUBDIRS): |
|
33 $(MAKE) -C $@ all |
|
34 .PHONY: $(SUBDIRS) |
681
|
35 |
3429
|
36 install install-strip uninstall clean mostlyclean distclean maintainer-clean:: |
|
37 @$(subdir-for-command) |
|
38 .PHONY: install install-strip uninstall |
|
39 .PHONY: clean mostlyclean distclean maintainer-clean |
681
|
40 |
3429
|
41 tags TAGS: |
|
42 $(SUBDIR_FOR_COMMAND) |
681
|
43 |
3429
|
44 distclean:: |
681
|
45 rm -f Makefile |
|
46 |
3429
|
47 maintainer-clean:: |
|
48 rm -f tags TAGS Makefile |
681
|
49 |
|
50 dist: |
689
|
51 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/control |
3429
|
52 for dir in $(DISTSUBDIRS); do mkdir ../../`cat ../../.fname`/scripts/control/$$dir; $(MAKE) -C $$dir $@; done |
681
|
53 .PHONY: dist |