annotate scripts/general/Makefile.in @ 9647:54f45f883a53

optimize & extend randperm
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 16 Sep 2009 13:41:49 +0200
parents 9f870f73ab7d
children b134960cea23
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
1 # Makefile for octave's scripts/general directory
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
2 #
8920
eb63fbe60fab update copyright notices
John W. Eaton <jwe@octave.org>
parents: 8213
diff changeset
3 # Copyright (C) 1994, 1995, 1996, 1997, 2002, 2005, 2006, 2007, 2008
7017
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
4 # John W. Eaton
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
5 #
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
6 # This file is part of Octave.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
7 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
8 # Octave is free software; you can redistribute it and/or modify it
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
9 # under the terms of the GNU General Public License as published by the
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
10 # Free Software Foundation; either version 3 of the License, or (at
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
11 # your option) any later version.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
12 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
13 # Octave is distributed in the hope that it will be useful, but WITHOUT
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
16 # for more details.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
17 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
18 # You should have received a copy of the GNU General Public License
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
19 # along with Octave; see the file COPYING. If not, see
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6868
diff changeset
20 # <http://www.gnu.org/licenses/>.
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
21
682
646ff1b3ff9a [project @ 1994-09-09 15:44:16 by jwe]
jwe
parents: 681
diff changeset
22 TOPDIR = ../..
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
23
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
24 script_sub_dir = general
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
25
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
26 srcdir = @srcdir@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
27 top_srcdir = @top_srcdir@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
28 VPATH = @srcdir@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
29
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
30 include $(TOPDIR)/Makeconf
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
31
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
32 INSTALL = @INSTALL@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
33 INSTALL_PROGRAM = @INSTALL_PROGRAM@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
34 INSTALL_DATA = @INSTALL_DATA@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
35
7657
76e7548add3f genvarname.m: new function
bill@denney.ws
parents: 7627
diff changeset
36 SOURCES = __isequal__.m __splinen__.m accumarray.m arrayfun.m \
76e7548add3f genvarname.m: new function
bill@denney.ws
parents: 7627
diff changeset
37 bicubic.m bitcmp.m bitget.m bitset.m blkdiag.m cart2pol.m \
8213
d5e08881bba8 Add overloading of the colon operator
David Bateman <dbateman@free.fr>
parents: 8212
diff changeset
38 cart2sph.m cellidx.m cell2mat.m celldisp.m circshift.m colon.m common_size.m \
9513
9f870f73ab7d implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents: 9479
diff changeset
39 cplxpair.m cumtrapz.m dblquad.m deal.m del2.m display.m flipdim.m \
9479
d9716e3ee0dd supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents: 8920
diff changeset
40 fliplr.m flipud.m genvarname.m gradient.m idivide.m int2str.m \
7785
9a656cd34f34 Add the interp1q function
David Bateman <dbateman@free.fr>
parents: 7771
diff changeset
41 interp1.m interp1q.m interp2.m interp3.m interpn.m interpft.m \
7658
1ce6460aebdf nargoutchk.m, validatestring.m, addtodate.m: new functions
bill@denney.ws
parents: 7657
diff changeset
42 is_duplicate_entry.m isa.m isdefinite.m isdir.m isequal.m \
1ce6460aebdf nargoutchk.m, validatestring.m, addtodate.m: new functions
bill@denney.ws
parents: 7657
diff changeset
43 isequalwithequalnans.m isscalar.m issquare.m issymmetric.m \
8212
ebf6f6a0f9a7 Allow saving/loading of classes. Add saveobj and loadobj methods
David Bateman <dbateman@free.fr>
parents: 8154
diff changeset
44 isvector.m loadobj.m logical.m logspace.m mod.m nargchk.m \
7658
1ce6460aebdf nargoutchk.m, validatestring.m, addtodate.m: new functions
bill@denney.ws
parents: 7657
diff changeset
45 nargoutchk.m nextpow2.m nthroot.m num2str.m perror.m pol2cart.m \
9647
54f45f883a53 optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents: 9513
diff changeset
46 polyarea.m postpad.m prepad.m quadgk.m quadl.m quadv.m rat.m \
8212
ebf6f6a0f9a7 Allow saving/loading of classes. Add saveobj and loadobj methods
David Bateman <dbateman@free.fr>
parents: 8154
diff changeset
47 rem.m repmat.m rot90.m rotdim.m runlength.m saveobj.m shift.m shiftdim.m \
9479
d9716e3ee0dd supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents: 8920
diff changeset
48 sortrows.m sph2cart.m strerror.m structfun.m subsindex.m \
8212
ebf6f6a0f9a7 Allow saving/loading of classes. Add saveobj and loadobj methods
David Bateman <dbateman@free.fr>
parents: 8154
diff changeset
49 triplequad.m trapz.m tril.m triu.m
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
50
6797
5b00586ccd27 [project @ 2007-07-25 15:49:17 by jwe]
jwe
parents: 6788
diff changeset
51 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES))
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
52
6283
7099f1ae465e [project @ 2007-02-08 08:37:00 by jwe]
jwe
parents: 5866
diff changeset
53 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES))
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
54 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
55
5597
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
56 all: PKG_ADD
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
57 .PHONY: all
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
58
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2624
diff changeset
59 install install-strip:
4225
fa4dfbc33ce5 [project @ 2002-12-18 03:07:48 by jwe]
jwe
parents: 3028
diff changeset
60 $(do-script-install)
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2624
diff changeset
61 .PHONY: install install-strip
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
62
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
63 uninstall:
4225
fa4dfbc33ce5 [project @ 2002-12-18 03:07:48 by jwe]
jwe
parents: 3028
diff changeset
64 $(do-script-uninstall)
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
65 .PHONY: uninstall
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
66
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
67 clean:
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
68 .PHONY: clean
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
69
5597
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
70 PKG_ADD: $(FCN_FILES)
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
71 @echo "making PKG_ADD"
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
72 @$(do-mkpkgadd)
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
73
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
74 tags: $(SOURCES)
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
75 ctags $(SOURCES)
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
76
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
77 TAGS: $(SOURCES)
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
78 etags $(SOURCES)
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
79
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
80 mostlyclean: clean
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
81 .PHONY: mostlyclean
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
82
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
83 distclean: clean
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5597
diff changeset
84 rm -f Makefile PKG_ADD
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
85 .PHONY: distclean
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
86
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 979
diff changeset
87 maintainer-clean: distclean
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
88 rm -f tags TAGS
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 979
diff changeset
89 .PHONY: maintainer-clean
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
90
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
91 dist:
6467
a84de7048629 [project @ 2007-03-27 16:05:15 by jwe]
jwe
parents: 6422
diff changeset
92 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/general
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
93 .PHONY: dist
7698
4584feed3ec4 check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents: 7684
diff changeset
94
4584feed3ec4 check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents: 7684
diff changeset
95 check-m-sources:
4584feed3ec4 check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents: 7684
diff changeset
96 @$(do-check-m-sources)
4584feed3ec4 check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents: 7684
diff changeset
97 .PHONY: check-m-sources