681
|
1 # Makefile for octave's scripts/general 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 = general |
|
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 |
6772
|
33 SOURCES = __isequal__.m __splinen__.m accumarray.m arrayfun.m bicubic.m \ |
|
34 bitcmp.m bitget.m bitset.m blkdiag.m cart2pol.m cart2sph.m cell2mat.m \ |
6868
|
35 celldisp.m circshift.m common_size.m cplxpair.m cumtrapz.m deal.m del2.m \ |
|
36 diff.m flipdim.m fliplr.m flipud.m gradient.m ind2sub.m int2str.m interp1.m \ |
6716
|
37 interp2.m interp3.m interpn.m interpft.m is_duplicate_entry.m isa.m \ |
|
38 isdefinite.m isdir.m isequal.m isequalwithequalnans.m isscalar.m \ |
|
39 issquare.m issymmetric.m isvector.m logical.m logspace.m lookup.m mod.m \ |
6283
|
40 nargchk.m nextpow2.m nthroot.m num2str.m perror.m pol2cart.m \ |
6788
|
41 polyarea.m postpad.m prepad.m quadl.m randperm.m rat.m rem.m \ |
6283
|
42 repmat.m rot90.m rotdim.m shift.m shiftdim.m sortrows.m \ |
6863
|
43 sph2cart.m strerror.m structfun.m sub2ind.m trapz.m tril.m triu.m |
681
|
44 |
6797
|
45 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES)) |
681
|
46 |
6283
|
47 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
681
|
48 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
49 |
5597
|
50 all: PKG_ADD |
681
|
51 .PHONY: all |
|
52 |
2811
|
53 install install-strip: |
4225
|
54 $(do-script-install) |
2811
|
55 .PHONY: install install-strip |
681
|
56 |
|
57 uninstall: |
4225
|
58 $(do-script-uninstall) |
681
|
59 .PHONY: uninstall |
|
60 |
|
61 clean: |
|
62 .PHONY: clean |
|
63 |
5597
|
64 PKG_ADD: $(FCN_FILES) |
|
65 @echo "making PKG_ADD" |
|
66 @$(do-mkpkgadd) |
|
67 |
681
|
68 tags: $(SOURCES) |
|
69 ctags $(SOURCES) |
|
70 |
|
71 TAGS: $(SOURCES) |
|
72 etags $(SOURCES) |
|
73 |
|
74 mostlyclean: clean |
|
75 .PHONY: mostlyclean |
|
76 |
|
77 distclean: clean |
5866
|
78 rm -f Makefile PKG_ADD |
681
|
79 .PHONY: distclean |
|
80 |
1391
|
81 maintainer-clean: distclean |
681
|
82 rm -f tags TAGS |
1391
|
83 .PHONY: maintainer-clean |
681
|
84 |
|
85 dist: |
6467
|
86 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/general |
681
|
87 .PHONY: dist |