6823
|
1 # Makefile for octave's scripts/geometry directory |
|
2 # |
7017
|
3 # Copyright (C) 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/>. |
6823
|
20 |
|
21 TOPDIR = ../.. |
|
22 |
|
23 script_sub_dir = geometry |
|
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 |
7557
|
35 SOURCES = \ |
|
36 convhull.m \ |
|
37 delaunay3.m \ |
|
38 delaunayn.m \ |
|
39 delaunay.m \ |
|
40 dsearch.m \ |
|
41 dsearchn.m \ |
|
42 griddata.m \ |
|
43 griddata3.m \ |
|
44 griddatan.m \ |
|
45 inpolygon.m \ |
|
46 rectint.m \ |
|
47 trimesh.m \ |
|
48 triplot.m \ |
|
49 tsearchn.m \ |
|
50 voronoi.m \ |
|
51 voronoin.m |
6823
|
52 |
|
53 DISTFILES = $(addprefix $(srcdir)/,Makefile.in $(SOURCES)) |
|
54 |
|
55 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
|
56 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
57 |
|
58 all: PKG_ADD |
|
59 .PHONY: all |
|
60 |
|
61 install install-strip: |
|
62 $(do-script-install) |
|
63 .PHONY: install install-strip |
|
64 |
|
65 uninstall: |
|
66 $(do-script-uninstall) |
|
67 .PHONY: uninstall |
|
68 |
|
69 clean: |
|
70 .PHONY: clean |
|
71 |
|
72 PKG_ADD: $(FCN_FILES) |
|
73 @echo "making PKG_ADD" |
|
74 @$(do-mkpkgadd) |
|
75 |
|
76 tags: $(SOURCES) |
|
77 ctags $(SOURCES) |
|
78 |
|
79 TAGS: $(SOURCES) |
|
80 etags $(SOURCES) |
|
81 |
|
82 mostlyclean: clean |
|
83 .PHONY: mostlyclean |
|
84 |
|
85 distclean: clean |
|
86 rm -f Makefile PKG_ADD |
|
87 .PHONY: distclean |
|
88 |
|
89 maintainer-clean: distclean |
|
90 rm -f tags TAGS |
|
91 .PHONY: maintainer-clean |
|
92 |
|
93 dist: |
|
94 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/geometry |
|
95 .PHONY: dist |