681
|
1 # Makefile for octave's scripts/control directory |
|
2 # |
7017
|
3 # Copyright (C) 1994, 1995, 1996, 1997, 2000, 2005, 2007 John W. Eaton |
|
4 # |
7016
|
5 # This file is part of Octave. |
|
6 # |
|
7 # Octave is free software; you can redistribute it and/or modify it |
|
8 # under the terms of the GNU General Public License as published by the |
|
9 # Free Software Foundation; either version 3 of the License, or (at |
|
10 # your option) any later version. |
|
11 # |
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 # for more details. |
|
16 # |
|
17 # You should have received a copy of the GNU General Public License |
|
18 # along with Octave; see the file COPYING. If not, see |
|
19 # <http://www.gnu.org/licenses/>. |
681
|
20 |
682
|
21 TOPDIR = ../.. |
681
|
22 |
|
23 script_sub_dir = control |
|
24 |
|
25 srcdir = @srcdir@ |
|
26 top_srcdir = @top_srcdir@ |
|
27 VPATH = @srcdir@ |
|
28 |
|
29 include $(TOPDIR)/Makeconf |
|
30 |
|
31 INSTALL = @INSTALL@ |
|
32 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
33 INSTALL_DATA = @INSTALL_DATA@ |
|
34 |
3431
|
35 SUBDIRS = base hinf obsolete system util |
681
|
36 |
3429
|
37 DISTSUBDIRS = $(SUBDIRS) |
681
|
38 |
6796
|
39 DISTFILES = $(srcdir)/Makefile.in |
2624
|
40 |
681
|
41 all: |
|
42 .PHONY: all |
|
43 |
3429
|
44 $(SUBDIRS): |
|
45 $(MAKE) -C $@ all |
|
46 .PHONY: $(SUBDIRS) |
681
|
47 |
3429
|
48 install install-strip uninstall clean mostlyclean distclean maintainer-clean:: |
|
49 @$(subdir-for-command) |
|
50 .PHONY: install install-strip uninstall |
|
51 .PHONY: clean mostlyclean distclean maintainer-clean |
681
|
52 |
3429
|
53 tags TAGS: |
|
54 $(SUBDIR_FOR_COMMAND) |
681
|
55 |
3429
|
56 distclean:: |
681
|
57 rm -f Makefile |
|
58 |
3429
|
59 maintainer-clean:: |
|
60 rm -f tags TAGS Makefile |
681
|
61 |
|
62 dist: |
6467
|
63 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/control |
3429
|
64 for dir in $(DISTSUBDIRS); do mkdir ../../`cat ../../.fname`/scripts/control/$$dir; $(MAKE) -C $$dir $@; done |
681
|
65 .PHONY: dist |