3227
|
1 # Makefile for octave's scripts/quaternion 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/>. |
3227
|
18 |
|
19 TOPDIR = ../.. |
|
20 |
|
21 script_sub_dir = quaternion |
|
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 = demoquat.m qconj.m qcoordinate_plot.m qderiv.m \ |
|
34 qderivmat.m qinv.m qmult.m qtrans.m qtransv.m qtransvmat.m \ |
|
35 quaternion.m |
3227
|
36 |
6797
|
37 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES)) |
3227
|
38 |
6283
|
39 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
3227
|
40 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
41 |
5597
|
42 all: PKG_ADD |
3227
|
43 .PHONY: all |
|
44 |
|
45 install install-strip: |
4225
|
46 $(do-script-install) |
3227
|
47 .PHONY: install install-strip |
|
48 |
|
49 uninstall: |
4225
|
50 $(do-script-uninstall) |
3227
|
51 .PHONY: uninstall |
|
52 |
|
53 clean: |
|
54 .PHONY: clean |
|
55 |
5597
|
56 PKG_ADD: $(FCN_FILES) |
|
57 @echo "making PKG_ADD" |
|
58 @$(do-mkpkgadd) |
|
59 |
3227
|
60 tags: $(SOURCES) |
|
61 ctags $(SOURCES) |
|
62 |
|
63 TAGS: $(SOURCES) |
|
64 etags $(SOURCES) |
|
65 |
|
66 mostlyclean: clean |
|
67 .PHONY: mostlyclean |
|
68 |
|
69 distclean: clean |
5866
|
70 rm -f Makefile PKG_ADD |
3227
|
71 .PHONY: distclean |
|
72 |
|
73 maintainer-clean: distclean |
|
74 rm -f tags TAGS |
|
75 .PHONY: maintainer-clean |
|
76 |
|
77 dist: |
6467
|
78 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/quaternion |
3227
|
79 .PHONY: dist |