Mercurial > octave-nkf
annotate src/Makefile.am @ 15075:b62b0b85369c
move more files to corefcn directory
* bitfcns.cc, mappers.cc, sparse.cc, strfns.cc, syscalls.cc: Move to
corefcn diretory.
* src/Makefile.am (DIST_SRC): Remove bitfcns.cc, mappers.cc,
sparse.cc, strfns.cc, and syscalls.cc from the list.
* src/corefcn/module.mk (COREFCN_SRC): Add bitfcns.cc, mappers.cc,
sparse.cc, strfns.cc, and syscalls.cc to the list
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 31 Jul 2012 20:46:47 -0400 |
parents | aa64715164dc |
children | 000587f92082 |
rev | line source |
---|---|
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # Makefile for octave's src directory |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
14023
diff
changeset
|
3 # Copyright (C) 1993-2012 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 # This file is part of Octave. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
6 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 # Octave is free software; you can redistribute it and/or modify it |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 # under the terms of the GNU General Public License as published by the |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 # Free Software Foundation; either version 3 of the License, or (at |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 # your option) any later version. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
11 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 # for more details. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
16 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 # along with Octave; see the file COPYING. If not, see |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 # <http://www.gnu.org/licenses/>. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
21 include $(top_srcdir)/build-aux/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
14397
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14348
diff
changeset
|
23 ## Search local directories before those specified by the user. |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 AM_CPPFLAGS = \ |
14397
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14348
diff
changeset
|
25 -I../libgnu -I$(top_srcdir)/libgnu \ |
10061
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10051
diff
changeset
|
26 -I$(top_srcdir)/libcruft/misc \ |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10051
diff
changeset
|
27 -I../liboctave -I$(top_srcdir)/liboctave \ |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
28 -Ioctave-value -I$(srcdir)/octave-value \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
29 -Iparse-tree -I$(srcdir)/parse-tree \ |
14397
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14348
diff
changeset
|
30 -I. -I$(srcdir) \ |
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14348
diff
changeset
|
31 @CPPFLAGS@ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 AUTOMAKE_OPTIONS = subdir-objects |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 |
12727
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
35 octlib_LTLIBRARIES = liboctinterp.la |
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
36 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
37 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
38 bin_PROGRAMS = \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
39 mkoctfile \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
40 octave \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
41 octave-config |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
42 |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
43 mkoctfile_SOURCES = |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
44 nodist_mkoctfile_SOURCES = mkoctfile.cc |
12767
e548ef3eb399
maint: link mkoctfile and octave-config with gnulib and $(LIBS)
John W. Eaton <jwe@octave.org>
parents:
12762
diff
changeset
|
45 mkoctfile_LDADD = ../libgnu/libgnu.la $(LIBS) |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
46 |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
47 octave_config_SOURCES = |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
48 nodist_octave_config_SOURCES = octave-config.cc |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
49 octave_config_LDADD = corefcn/libcorefcn.la ../libgnu/libgnu.la $(LIBS) |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
50 |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
51 BUILT_SOURCES_EXTRA = \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
52 mkoctfile.cc \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
53 octave-config.cc |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
54 else |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
55 bin_PROGRAMS = \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
56 octave |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
57 |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
58 bin_SCRIPTS = \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
59 mkoctfile \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
60 octave-config |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
61 endif |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
62 |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
63 ## Order matters here. Leave builtins.cc last, because it depends on |
9906 | 64 ## $(DEF_FILES), and building those requires all the sources |
9911
ac7606d51a3d
src/Makefile.in (BUILT_SOURCES): include graphics-props.cc in the list
John W. Eaton <jwe@octave.org>
parents:
9907
diff
changeset
|
65 ## (except builtins.cc) to be available. |
9906 | 66 BUILT_SOURCES = \ |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
67 $(BUILT_SOURCES_EXTRA) \ |
9906 | 68 defaults.h \ |
69 graphics.h \ | |
9911
ac7606d51a3d
src/Makefile.in (BUILT_SOURCES): include graphics-props.cc in the list
John W. Eaton <jwe@octave.org>
parents:
9907
diff
changeset
|
70 graphics-props.cc \ |
9906 | 71 lex.cc \ |
72 mxarray.h \ | |
73 oct-conf.h \ | |
74 oct-errno.cc \ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
75 oct-gperf.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
76 oct-parse.cc \ |
9906 | 77 ops.cc \ |
78 version.h \ | |
79 builtins.cc | |
80 | |
81 BUILT_DISTFILES = \ | |
82 oct-gperf.h \ | |
83 oct-parse.h | |
84 | |
12727
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
85 ## Files that are created during build process and installed, |
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
86 ## BUT not distributed in tarball. |
9906 | 87 BUILT_NODISTFILES = \ |
88 defaults.h \ | |
89 graphics.h \ | |
90 oct-conf.h \ | |
91 oct-errno.cc \ | |
92 ops.cc \ | |
93 mxarray.h \ | |
94 version.h \ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
95 $(OPT_HANDLERS) \ |
9906 | 96 $(OPT_INC) \ |
12720
ccfe03bebeba
src/Makefile.am: Fixes to get 'make dist' working
Rik <octave@nomad.inbox5.com>
parents:
12717
diff
changeset
|
97 $(ALL_DEF_FILES) \ |
9906 | 98 builtins.cc |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
99 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
100 EXTRA_DIST = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
101 Makefile.in \ |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
102 defaults.in.h \ |
9927
ecbf1577200c
Distribute DOCSTRINGS to prevent unnecessary documentation rebuild
Rik <rdrider0-list@yahoo.com>
parents:
9917
diff
changeset
|
103 DOCSTRINGS \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
104 find-defun-files.sh \ |
14649
5fa6a41d4fbe
build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents:
14630
diff
changeset
|
105 gendoc.pl \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
106 genprops.awk \ |
10035
66d56fb7cbb8
wrapper for gl2ps.c so config.h is included before oter headers
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
107 gl2ps.c \ |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
108 graphics.in.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
109 mk-errno-list \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
110 mk-pkg-add \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
111 mkbuiltins \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
112 mkdefs \ |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
113 mkoctfile.in.cc \ |
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
114 mkoctfile.in.sh \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
115 mkops \ |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
116 mxarray.in.h \ |
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
117 oct-conf.in.h \ |
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
118 oct-errno.in.cc \ |
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
119 octave-config.in.cc \ |
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
120 octave-config.in.sh \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
121 octave.gperf \ |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
122 version.in.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
123 $(BUILT_DISTFILES) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
124 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
125 OPT_HANDLERS = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
126 DASPK-opts.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
127 DASRT-opts.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
128 DASSL-opts.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
129 LSODE-opts.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
130 Quad-opts.cc |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
131 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
132 OPT_INC = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
133 ../liboctave/DASPK-opts.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
134 ../liboctave/DASRT-opts.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
135 ../liboctave/DASSL-opts.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
136 ../liboctave/LSODE-opts.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
137 ../liboctave/Quad-opts.h |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
138 |
15016
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
139 JIT_INCLUDES = \ |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
140 jit-util.h \ |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
141 jit-typeinfo.h \ |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
142 jit-ir.h \ |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
143 pt-jit.h |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
144 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
145 octinclude_HEADERS = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
146 Cell.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
147 builtins.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
148 c-file-ptr-stream.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
149 comment-list.h \ |
11512
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11243
diff
changeset
|
150 cutils.h \ |
13294
7dce7e110511
make concatenation of class objects work
John W. Eaton <jwe@octave.org>
parents:
13141
diff
changeset
|
151 data.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
152 debug.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
153 defun-dld.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
154 defun-int.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
155 defun.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
156 dirfns.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
157 display.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
158 dynamic-ld.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
159 error.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
160 file-io.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
161 gl-render.h \ |
9798
2d6a5af744b6
printing for fltk backend using gl2ps
Shai Ayal <shaiay@users.sourceforge.net>
parents:
9794
diff
changeset
|
162 gl2ps.h \ |
2d6a5af744b6
printing for fltk backend using gl2ps
Shai Ayal <shaiay@users.sourceforge.net>
parents:
9794
diff
changeset
|
163 gl2ps-renderer.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
164 graphics-props.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
165 gripes.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
166 help.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
167 input.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
168 lex.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
169 load-path.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
170 load-save.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
171 ls-ascii-helper.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
172 ls-hdf5.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
173 ls-mat-ascii.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
174 ls-mat4.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
175 ls-mat5.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
176 ls-oct-ascii.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
177 ls-oct-binary.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
178 ls-utils.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
179 mex.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
180 mexproto.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
181 oct-errno.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
182 oct-fstrm.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
183 oct-gperf.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
184 oct-hdf5.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
185 oct-hist.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
186 oct-iostrm.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
187 oct-lvalue.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
188 oct-map.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
189 oct-obj.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
190 oct-prcstrm.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
191 oct-procbuf.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
192 oct-stdstrm.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
193 oct-stream.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
194 oct-strstrm.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
195 oct.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
196 octave.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
197 ops.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
198 pager.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
199 parse.h \ |
14329
8d1ae996c122
also save and restore symbol table context in parser (bug #35448)
John W. Eaton <jwe@octave.org>
parents:
14295
diff
changeset
|
200 parse-private.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
201 pr-output.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
202 procstream.h \ |
13906
155e9c625761
maint: distribute profiler.h
John W. Eaton <jwe@octave.org>
parents:
13294
diff
changeset
|
203 profiler.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
204 sighandlers.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
205 siglist.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
206 sparse-xdiv.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
207 sparse-xpow.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
208 symtab.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
209 sysdep.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
210 token.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
211 toplev.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
212 txt-eng-ft.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
213 txt-eng.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
214 unwind-prot.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
215 utils.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
216 variables.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
217 xdiv.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
218 xnorm.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
219 xpow.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
220 zfstream.h \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
221 $(OV_INCLUDES) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
222 $(OV_SPARSE_INCLUDES) \ |
15016
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
223 $(PT_INCLUDES) \ |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
224 $(JIT_INCLUDES) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
225 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
226 nodist_octinclude_HEADERS = \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
227 defaults.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
228 graphics.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
229 oct-conf.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
230 mxarray.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
231 version.h |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
232 |
15016
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
233 JIT_SRC = \ |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
234 jit-util.cc \ |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
235 jit-typeinfo.cc \ |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
236 jit-ir.cc \ |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
237 pt-jit.cc |
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
238 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
239 DIST_SRC = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
240 Cell.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
241 c-file-ptr-stream.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
242 comment-list.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
243 cutils.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
244 data.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
245 debug.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
246 defaults.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
247 defun.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
248 dirfns.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
249 display.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
250 dynamic-ld.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
251 error.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
252 file-io.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
253 gl-render.cc \ |
9798
2d6a5af744b6
printing for fltk backend using gl2ps
Shai Ayal <shaiay@users.sourceforge.net>
parents:
9794
diff
changeset
|
254 gl2ps-renderer.cc \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
255 graphics.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
256 gripes.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
257 help.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
258 input.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
259 lex.ll \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
260 load-path.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
261 load-save.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
262 ls-ascii-helper.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
263 ls-hdf5.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
264 ls-mat-ascii.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
265 ls-mat4.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
266 ls-mat5.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
267 ls-oct-ascii.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
268 ls-oct-binary.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
269 ls-utils.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
270 matherr.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
271 mex.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
272 oct-fstrm.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
273 oct-hist.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
274 oct-iostrm.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
275 oct-lvalue.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
276 oct-map.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
277 oct-obj.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
278 oct-parse.yy \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
279 oct-prcstrm.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
280 oct-procbuf.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
281 oct-stream.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
282 oct-strstrm.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
283 octave.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
284 pager.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
285 pr-output.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
286 procstream.cc \ |
12783
ad9263d965dc
First experimental profiler implementation with flat profile.
Daniel Kraft <d@domob.eu>
parents:
12772
diff
changeset
|
287 profiler.cc \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
288 sighandlers.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
289 siglist.c \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
290 sparse-xdiv.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
291 sparse-xpow.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
292 symtab.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
293 sysdep.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
294 token.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
295 toplev.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
296 txt-eng-ft.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
297 unwind-prot.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
298 utils.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
299 variables.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
300 xdiv.cc \ |
10035
66d56fb7cbb8
wrapper for gl2ps.c so config.h is included before oter headers
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
301 xgl2ps.c \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
302 xnorm.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
303 xpow.cc \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
304 zfstream.cc \ |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
305 $(COREFCN_SRC) \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
306 $(OCTAVE_VALUE_SRC) \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
307 $(PARSE_TREE_SRC) \ |
15016
005cb78e1dd1
Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents:
14916
diff
changeset
|
308 $(JIT_SRC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
309 |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
310 noinst_LTLIBRARIES = |
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
311 |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
312 include parse-tree/module.mk |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
313 include octave-value/module.mk |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
314 include operators/module.mk |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
315 include template-inst/module.mk |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
316 include corefcn/module.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
317 include DLD-FUNCTIONS/module.mk |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
318 |
10448 | 319 $(srcdir)/DLD-FUNCTIONS/module.mk: $(srcdir)/DLD-FUNCTIONS/config-module.sh $(srcdir)/DLD-FUNCTIONS/config-module.awk $(srcdir)/DLD-FUNCTIONS/module-files |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
320 $(srcdir)/DLD-FUNCTIONS/config-module.sh $(top_srcdir) |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
321 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
322 if AMCOND_ENABLE_DYNAMIC_LINKING |
12162
c9f42acd84e2
Use Makefile rules based on timestamp files for src/DLD-FUNCTIONS/*.oct
John W. Eaton <jwe@octave.org>
parents:
11576
diff
changeset
|
323 OCT_FILES = $(DLD_FUNCTIONS_LIBS:.la=.oct) |
12163
55ebf5df9ea6
Use Automake and GNU Make variables for increased portability in DLD-FUNCTIONS/*.oct creation
Rik <octave@nomad.inbox5.com>
parents:
12162
diff
changeset
|
324 OCT_STAMP_FILES = $(subst DLD-FUNCTIONS/,DLD-FUNCTIONS/$(am__leading_dot),$(DLD_FUNCTIONS_LIBS:.la=.oct-stamp)) |
14295
21572e9bd365
make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
325 DLD_LIBOCTINTERP_LIBADD = liboctinterp.la |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
326 else |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
327 OCT_FILES = |
12162
c9f42acd84e2
Use Makefile rules based on timestamp files for src/DLD-FUNCTIONS/*.oct
John W. Eaton <jwe@octave.org>
parents:
11576
diff
changeset
|
328 OCT_STAMP_FILES = |
14295
21572e9bd365
make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
329 DLD_LIBOCTINTERP_LIBADD = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
330 endif |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
331 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
332 liboctinterp_la_SOURCES = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
333 $(DIST_SRC) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
334 $(OPERATORS_SRC) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
335 $(TEMPLATE_INST_SRC) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
336 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
337 nodist_liboctinterp_la_SOURCES = \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
338 builtins.cc \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
339 defaults.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
340 graphics.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
341 mxarray.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
342 oct-conf.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
343 oct-errno.cc \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
344 ops.cc \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
345 version.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
346 $(OPT_INC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
347 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
348 liboctinterp_la_CPPFLAGS = @OCTINTERP_DLL_DEFS@ $(AM_CPPFLAGS) |
9906 | 349 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
350 include link-deps.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
351 |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
352 liboctinterp_la_LIBADD = \ |
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
353 ../liboctave/liboctave.la \ |
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
354 ../libcruft/libcruft.la \ |
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
355 $(LIBOCTINTERP_LINK_DEPS) |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9798
diff
changeset
|
356 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
357 # Increment these as needed and according to the rules in the libtool manual: |
14192
5d5400bd1f62
maint: update library version numbers for release
John W. Eaton <jwe@octave.org>
parents:
14138
diff
changeset
|
358 liboctinterp_current = 1 |
14348 | 359 liboctinterp_revision = 1 |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
360 liboctinterp_age = 0 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
361 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
362 liboctinterp_version_info = $(liboctinterp_current):$(liboctinterp_revision):$(liboctinterp_age) |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
363 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
364 liboctinterp_la_LDFLAGS = \ |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
365 -version-info $(liboctinterp_version_info) \ |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
366 $(NO_UNDEFINED_LDFLAG) \ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
367 -bindir $(bindir) \ |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
368 $(LIBOCTINTERP_LINK_OPTS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
369 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
370 display.df display.lo: CPPFLAGS += $(X11_FLAGS) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
371 |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
372 ## FIXME: Does this rule need to be uncommented? |
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
373 #fft.df fft.lo fft2.df fft2.lo fftn.df fftn.lo: CPPFLAGS += $(FFTW_XCPPFLAGS) |
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
374 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
375 octave_SOURCES = main.c |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
376 |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
377 octave_LDADD = \ |
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
378 liboctinterp.la \ |
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
379 ../liboctave/liboctave.la \ |
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
380 ../libcruft/libcruft.la \ |
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
381 $(OCTAVE_LINK_DEPS) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
382 |
13024
f3c53fea9fb5
maint: more linking tweaks
John W. Eaton <jwe@octave.org>
parents:
13022
diff
changeset
|
383 octave_LDFLAGS = \ |
f3c53fea9fb5
maint: more linking tweaks
John W. Eaton <jwe@octave.org>
parents:
13022
diff
changeset
|
384 $(NO_UNDEFINED_LDFLAG) \ |
f3c53fea9fb5
maint: more linking tweaks
John W. Eaton <jwe@octave.org>
parents:
13022
diff
changeset
|
385 $(OCTAVE_LINK_OPTS) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
386 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
387 ## Section for defining and creating DEF_FILES |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
388 SRC_DEF_FILES := $(shell $(srcdir)/find-defun-files.sh "$(srcdir)" $(DIST_SRC)) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
389 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
390 DLD_FUNCTIONS_DEF_FILES = $(DLD_FUNCTIONS_SRC:.cc=.df) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
391 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
392 ## builtins.cc depends on $(DEF_FILES), so DEF_FILES should only include |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
393 ## .df files that correspond to sources included in liboctave. |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
394 if AMCOND_ENABLE_DYNAMIC_LINKING |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
395 DEF_FILES = $(SRC_DEF_FILES) |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
396 else |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
397 DEF_FILES = $(SRC_DEF_FILES) $(DLD_FUNCTIONS_DEF_FILES) |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
398 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
399 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
400 ALL_DEF_FILES = $(SRC_DEF_FILES) $(DLD_FUNCTIONS_DEF_FILES) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
401 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
402 $(SRC_DEF_FILES): mkdefs Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
403 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
404 $(DEF_FILES): $(OPT_HANDLERS) $(OPT_INC) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
405 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
406 DLL_CDEFS = @OCTINTERP_DLL_DEFS@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
407 DLL_CXXDEFS = @OCTINTERP_DLL_DEFS@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
408 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
409 ## Rule to build a DEF file from a .cc file |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
410 %.df: %.cc |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
411 $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
412 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
413 -DMAKE_BUILTINS $< | $(srcdir)/mkdefs $(srcdir) $< > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
414 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
415 |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
416 ## Special rules: |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
417 ## Mostly for sources which must be built before rest of compilation. |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
418 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
419 ## defaults.h and oct-conf.h must depend on Makefile. Calling configure |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
420 ## may change default/config values. However, calling configure will also |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
421 ## regenerate the Makefiles from Makefile.am and trigger the rules below. |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
422 defaults.h: defaults.in.h Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
423 @$(do_subst_default_vals) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
424 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
425 graphics.h: graphics.in.h genprops.awk Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
426 $(AWK) -f $(srcdir)/genprops.awk $< > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
427 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
428 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
429 oct-conf.h: oct-conf.in.h Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
430 @$(do_subst_config_vals) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
431 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
432 ## Don't use a pipeline to process gperf output since if gperf |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
433 ## is missing but sed is not, the exit status of the pipeline |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
434 ## will still be success and we will end up creating an empty |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
435 ## oct-gperf.h file. |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
436 oct-gperf.h: octave.gperf |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
437 $(GPERF) -t -C -D -G -L C++ -Z octave_kw_hash $< > $@-t1 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
438 $(SED) 's,lookup\[,gperf_lookup[,' < $@-t1 > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
439 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
440 rm -f $@-t1 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
441 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
442 mxarray.h: mxarray.in.h Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
443 $(SED) < $< \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
444 -e "s|%OCTAVE_IDX_TYPE%|${OCTAVE_IDX_TYPE}|" > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
445 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
446 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
447 version.h: version.in.h Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
448 $(SED) < $< \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
449 -e "s|%OCTAVE_API_VERSION_NUMBER%|${OCTAVE_API_VERSION_NUMBER}|" \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
450 -e "s|%OCTAVE_API_VERSION%|\"${OCTAVE_API_VERSION}\"|" \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
451 -e "s|%OCTAVE_COPYRIGHT%|\"${OCTAVE_COPYRIGHT}\"|" \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
452 -e "s|%OCTAVE_RELEASE_DATE%|\"${OCTAVE_RELEASE_DATE}\"|" \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
453 -e "s|%OCTAVE_VERSION%|\"${OCTAVE_VERSION}\"|" > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
454 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
455 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
456 builtins.cc: $(DEF_FILES) mkbuiltins |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
457 $(srcdir)/mkbuiltins $(DEF_FILES) > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
458 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
459 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
460 graphics-props.cc: graphics.in.h genprops.awk Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
461 $(AWK) -v emit_graphics_props=1 -f $(srcdir)/genprops.awk $< > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
462 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
463 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
464 ops.cc: $(OPERATORS_SRC) mkops |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
465 $(srcdir)/mkops $(OPERATORS_SRC) > $@-t |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
466 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
467 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
468 oct-errno.cc: oct-errno.in.cc Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
469 if test -n "$(PERL)"; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
470 $(srcdir)/mk-errno-list --perl "$(PERL)" < $< > $@-t; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
471 elif test -n "$(PYTHON)"; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
472 $(srcdir)/mk-errno-list --python "$(PYTHON)" < $< > $@-t; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
473 else \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
474 $(SED) '/@SYSDEP_ERRNO_LIST@/D' $< > $@-t; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
475 fi |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
476 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
477 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
478 $(OPT_HANDLERS) : %.cc : $(top_srcdir)/liboctave/%.in $(top_srcdir)/build-aux/mk-opts.pl |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
479 $(PERL) $(top_srcdir)/build-aux/mk-opts.pl --opt-handler-fcns $< > $@-t |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
480 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
481 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
482 $(OPT_INC) : %.h : %.in |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
483 $(MAKE) -C $(@D) $(@F) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
484 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
485 if AMCOND_ENABLE_DYNAMIC_LINKING |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
486 DLD_FUNCTIONS_PKG_ADD_FILE = DLD-FUNCTIONS/PKG_ADD |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
487 |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
488 DLD-FUNCTIONS/PKG_ADD: $(DLD_FUNCTIONS_DEF_FILES) mk-pkg-add |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
489 $(srcdir)/mk-pkg-add $(DLD_FUNCTIONS_DEF_FILES) > $@-t |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
490 mv $@-t $@ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
491 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
492 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
493 lex.lo lex.o oct-parse.lo oct-parse.o: \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
494 AM_CXXFLAGS := $(filter-out -Wold-style-cast, $(AM_CXXFLAGS)) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
495 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
496 __fltk_uigetfile__.lo __fltk_uigetfile__.o: \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
497 AM_CXXFLAGS := $(filter-out $(DLL_CXXDEFS), $(AM_CXXFLAGS) $(GRAPHICS_CFLAGS)) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
498 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
499 __init_fltk__.lo __init_fltk__.o: \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
500 AM_CXXFLAGS := $(filter-out $(DLL_CXXDEFS), $(AM_CXXFLAGS) $(GRAPHICS_CFLAGS)) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
501 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
502 if AMCOND_BUILD_DOCS |
14649
5fa6a41d4fbe
build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents:
14630
diff
changeset
|
503 .DOCSTRINGS: $(ALL_DEF_FILES) gendoc.pl |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
504 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
505 cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
506 touch -r $(srcdir)/DOCSTRINGS DOCSTRINGS; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
507 fi |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
508 @echo "creating .DOCSTRINGS from .cc source files" |
14649
5fa6a41d4fbe
build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents:
14630
diff
changeset
|
509 @$(PERL) $(srcdir)/gendoc.pl $(ALL_DEF_FILES) > $@ |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
510 $(top_srcdir)/build-aux/move-if-change $@ DOCSTRINGS |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
511 touch $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
512 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
513 all-local: $(OCT_STAMP_FILES) $(DLD_FUNCTIONS_PKG_ADD_FILE) .DOCSTRINGS |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
514 else |
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
515 all-local: $(OCT_STAMP_FILES) $(DLD_FUNCTIONS_PKG_ADD_FILE) |
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
516 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
517 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
518 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
519 octave-config.cc: octave-config.in.cc Makefile |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
520 @$(do_subst_default_vals) |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
521 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
522 mkoctfile.cc: mkoctfile.in.cc Makefile |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
523 @$(do_subst_config_vals) |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
524 else |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
525 octave-config: octave-config.in.sh Makefile |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
526 @$(do_subst_default_vals) |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
527 chmod a+rx $@ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
528 |
14547
1bf39e944e43
rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents:
14432
diff
changeset
|
529 mkoctfile: mkoctfile.in.sh Makefile |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
530 @$(do_subst_config_vals) |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
531 chmod a+rx $@ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
532 endif |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
533 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
534 install-exec-hook: make-version-links |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
535 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
536 install-data-hook: install-oct |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
537 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
538 uninstall-local: remove-version-links uninstall-oct |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
539 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
540 make-version-links: |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
541 cd $(DESTDIR)$(bindir) && \ |
12754
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
542 for f in $(basename $(bin_PROGRAMS)); do \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
543 mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
544 $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
545 done |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
546 if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
547 cd $(DESTDIR)$(bindir) && \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
548 for f in $(basename $(bin_SCRIPTS)); do \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
549 mv $$f $$f-$(version) && \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
550 $(LN_S) $$f-$(version) $$f; \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
551 done |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
552 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
553 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
554 remove-version-links: |
12754
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
555 for f in $(basename $(bin_PROGRAMS)); do \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
556 rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
557 done |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
558 if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
559 for f in $(basename $(bin_SCRIPTS)); do \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
560 rm -f $(DESTDIR)$(bindir)/$$f-$(version); \ |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
561 done |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
562 endif |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
563 |
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
564 .PHONY: make-version-links remove-version-links |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
565 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
566 if AMCOND_ENABLE_DYNAMIC_LINKING |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
567 install-oct: |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12730
diff
changeset
|
568 $(top_srcdir)/build-aux/mkinstalldirs $(DESTDIR)$(octfiledir) |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
569 if [ -n "`cat $(DLD_FUNCTIONS_PKG_ADD_FILE)`" ]; then \ |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
570 $(INSTALL_DATA) $(DLD_FUNCTIONS_PKG_ADD_FILE) $(DESTDIR)$(octfiledir)/PKG_ADD; \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
571 fi |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
572 cd $(DESTDIR)$(octlibdir) && \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
573 for ltlib in $(DLD_FUNCTIONS_LIBS); do \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
574 f=`echo $$ltlib | $(SED) 's,.*/,,'`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
575 dl=`$(SED) -n -e "s/dlname='\([^']*\)'/\1/p" < $$f`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
576 if [ -n "$$dl" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
577 $(INSTALL_PROGRAM) $$dl $(DESTDIR)$(octfiledir)/`echo $$f | $(SED) 's,^lib,,; s,\.la$$,.oct,'`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
578 else \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
579 echo "error: dlname is empty in $$ltlib!"; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
580 exit 1; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
581 fi; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
582 lnames=`$(SED) -n -e "s/library_names='\([^']*\)'/\1/p" < $$f`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
583 if [ -n "$$lnames" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
584 rm -f $$f $$lnames $$dl; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
585 fi \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
586 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
587 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
588 uninstall-oct: |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
589 for f in $(notdir $(OCT_FILES)); do \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
590 rm -f $(DESTDIR)$(octfiledir)/$$f; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
591 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
592 rm -f $(DESTDIR)$(octfiledir)/PKG_ADD |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
593 endif |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
594 .PHONY: install-oct uninstall-oct |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
595 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
596 CLEANFILES = \ |
12754
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
597 $(bin_SCRIPTS) \ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
598 $(DLD_FUNCTIONS_PKG_ADD_FILE) \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
599 graphics-props.cc \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
600 oct-parse.output |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
601 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
602 DISTCLEANFILES = \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
603 .DOCSTRINGS \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
604 DOCSTRINGS \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
605 $(BUILT_NODISTFILES) \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
606 $(OCT_FILES) \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
607 $(OCT_STAMP_FILES) |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
608 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
609 MAINTAINERCLEANFILES = \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
610 $(BUILT_DISTFILES) |