681
|
1 # Makefile for octave's scripts/set 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 = set |
|
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 = complement.m create_set.m intersect.m ismember.m \ |
|
34 setdiff.m setxor.m union.m unique.m |
681
|
35 |
6797
|
36 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES)) |
681
|
37 |
6283
|
38 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
681
|
39 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
40 |
5597
|
41 all: PKG_ADD |
681
|
42 .PHONY: all |
|
43 |
2811
|
44 install install-strip: |
4225
|
45 $(do-script-install) |
2811
|
46 .PHONY: install install-strip |
681
|
47 |
|
48 uninstall: |
4225
|
49 $(do-script-uninstall) |
681
|
50 .PHONY: uninstall |
|
51 |
|
52 clean: |
|
53 .PHONY: clean |
|
54 |
5597
|
55 PKG_ADD: $(FCN_FILES) |
|
56 @echo "making PKG_ADD" |
|
57 @$(do-mkpkgadd) |
|
58 |
681
|
59 tags: $(SOURCES) |
|
60 ctags $(SOURCES) |
|
61 |
|
62 TAGS: $(SOURCES) |
|
63 etags $(SOURCES) |
|
64 |
|
65 mostlyclean: clean |
|
66 .PHONY: mostlyclean |
|
67 |
|
68 distclean: clean |
5866
|
69 rm -f Makefile PKG_ADD |
681
|
70 .PHONY: distclean |
|
71 |
1391
|
72 maintainer-clean: distclean |
681
|
73 rm -f tags TAGS |
1391
|
74 .PHONY: maintainer-clean |
681
|
75 |
|
76 dist: |
6467
|
77 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/set |
681
|
78 .PHONY: dist |