681
|
1 # Makefile for octave's scripts/statistics 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/>. |
681
|
18 |
682
|
19 TOPDIR = ../.. |
681
|
20 |
|
21 script_sub_dir = statistics |
|
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 |
6796
|
33 DISTFILES = $(srcdir)/Makefile.in |
681
|
34 |
3191
|
35 SUBDIRS = base distributions models tests |
|
36 |
|
37 DISTSUBDIRS = $(SUBDIRS) |
681
|
38 |
3191
|
39 all: $(SUBDIRS) |
681
|
40 .PHONY: all |
|
41 |
3191
|
42 $(SUBDIRS): |
3297
|
43 $(MAKE) -C $@ all |
3191
|
44 .PHONY: $(SUBDIRS) |
681
|
45 |
3191
|
46 install install-strip uninstall clean mostlyclean distclean maintainer-clean:: |
|
47 @$(subdir-for-command) |
|
48 .PHONY: install install-strip uninstall |
|
49 .PHONY: clean mostlyclean distclean maintainer-clean |
|
50 |
3429
|
51 tags TAGS: |
3191
|
52 $(SUBDIR_FOR_COMMAND) |
|
53 |
|
54 distclean:: |
681
|
55 rm -f Makefile |
|
56 |
3191
|
57 maintainer-clean:: |
|
58 rm -f tags TAGS Makefile |
681
|
59 |
|
60 dist: |
6467
|
61 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/statistics |
3297
|
62 for dir in $(DISTSUBDIRS); do mkdir ../../`cat ../../.fname`/scripts/statistics/$$dir; $(MAKE) -C $$dir $@; done |
681
|
63 .PHONY: dist |