annotate src/Makefile.am @ 13022:05534f03377d

maint: ensure we always link with local libtool libraries * libcruft/Makefile.in (libcruft_LIBADD): List Octave's libtool libraries here. * libcruft/link-deps.mk (LIBCRUFT_LINK_DEPS): Not here. * liboctave/Makefile.in (liboctave_LIBADD): List Octave's libtool libraries here. * liboctave/link-deps.mk (LIBOCTAVE_LINK_DEPS): Not here. * src/Makefile.in (LIBOCTAVE_LIBADD, octave_LDADD): List Octave's libtool libraries here. * src/link-deps.mk (LIBOCTINTERP_LINK_DEPS): Not here.
author John W. Eaton <jwe@octave.org>
date Sun, 28 Aug 2011 11:27:40 -0400
parents 6b0798860fa4
children f3c53fea9fb5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 #
11523
fd0a3ac60b0e update copyright notices
John W. Eaton <jwe@octave.org>
parents: 11512
diff changeset
3 # Copyright (C) 1993-2011 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.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 #
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.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 #
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.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 #
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
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 AM_CPPFLAGS = \
10061
ec0c445d0d6f include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents: 10051
diff changeset
24 @CPPFLAGS@ -I../libgnu -I$(top_srcdir)/libgnu \
ec0c445d0d6f include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents: 10051
diff changeset
25 -I$(top_srcdir)/libcruft/misc \
ec0c445d0d6f include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents: 10051
diff changeset
26 -I../liboctave -I$(top_srcdir)/liboctave \
ec0c445d0d6f include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents: 10051
diff changeset
27 -I. -I$(srcdir)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 AUTOMAKE_OPTIONS = subdir-objects
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30
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
31 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
32
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
33 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
34 bin_PROGRAMS = \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
35 mkoctfile \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
36 octave \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
37 octave-config
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
38
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
39 mkoctfile_SOURCES =
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
40 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
41 mkoctfile_LDADD = ../libgnu/libgnu.la $(LIBS)
12733
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 octave_config_SOURCES =
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
44 nodist_octave_config_SOURCES = octave-config.cc
12767
e548ef3eb399 maint: link mkoctfile and octave-config with gnulib and $(LIBS)
John W. Eaton <jwe@octave.org>
parents: 12762
diff changeset
45 octave_config_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 BUILT_SOURCES_EXTRA = \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
48 mkoctfile.cc \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
49 octave-config.cc
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
50 else
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
51 bin_PROGRAMS = \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
52 octave
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
53
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
54 bin_SCRIPTS = \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
55 mkoctfile \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
56 octave-config
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
57 endif
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
58
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
59 ## Order matters here. Leave builtins.cc last, because it depends on
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
60 ## $(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
61 ## (except builtins.cc) to be available.
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
62 BUILT_SOURCES = \
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
63 $(BUILT_SOURCES_EXTRA) \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
64 defaults.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
65 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
66 graphics-props.cc \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
67 lex.cc \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
68 mxarray.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
69 oct-conf.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
70 oct-errno.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 oct-gperf.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 oct-parse.cc \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
73 ops.cc \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
74 version.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
75 builtins.cc
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
76
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
77 BUILT_DISTFILES = \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
78 oct-gperf.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
79 oct-parse.h
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
80
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
81 ## 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
82 ## BUT not distributed in tarball.
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
83 BUILT_NODISTFILES = \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
84 defaults.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
85 graphics.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
86 oct-conf.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
87 oct-errno.cc \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
88 ops.cc \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
89 mxarray.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
90 version.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91 $(OPT_HANDLERS) \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
92 $(OPT_INC) \
12720
ccfe03bebeba src/Makefile.am: Fixes to get 'make dist' working
Rik <octave@nomad.inbox5.com>
parents: 12717
diff changeset
93 $(ALL_DEF_FILES) \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
94 builtins.cc
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
95
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96 EXTRA_DIST = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97 Makefile.in \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
98 defaults.h.in \
9927
ecbf1577200c Distribute DOCSTRINGS to prevent unnecessary documentation rebuild
Rik <rdrider0-list@yahoo.com>
parents: 9917
diff changeset
99 DOCSTRINGS \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100 find-defun-files.sh \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101 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
102 gl2ps.c \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
103 graphics.h.in \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
104 mk-errno-list \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105 mk-pkg-add \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
106 mkbuiltins \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107 mkdefs \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
108 mkgendoc \
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
109 mkoctfile.cc.in \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
110 mkoctfile.in \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
111 mkops \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
112 mxarray.h.in \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
113 oct-conf.h.in \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
114 oct-errno.cc.in \
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
115 octave-config.cc.in \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
116 octave-config.in \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
117 octave.gperf \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
118 version.h.in \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
119 $(BUILT_DISTFILES)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
120
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
121 OPT_HANDLERS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
122 DASPK-opts.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123 DASRT-opts.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 DASSL-opts.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
125 LSODE-opts.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
126 Quad-opts.cc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
128 OPT_INC = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
129 ../liboctave/DASPK-opts.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
130 ../liboctave/DASRT-opts.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
131 ../liboctave/DASSL-opts.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
132 ../liboctave/LSODE-opts.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
133 ../liboctave/Quad-opts.h
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
134
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
135 OV_INTTYPE_INC = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136 ov-base-int.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
137 ov-base-int.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138 ov-int-traits.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
139 ov-int16.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
140 ov-int32.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141 ov-int64.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
142 ov-int8.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
143 ov-intx.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
144 ov-uint16.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
145 ov-uint32.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
146 ov-uint64.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147 ov-uint8.h
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
149 OV_INCLUDES = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150 ov-base-diag.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
151 ov-base-diag.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
152 ov-base-mat.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153 ov-base-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
154 ov-base-scalar.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155 ov-base-scalar.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
156 ov-base.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
157 ov-bool-mat.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
158 ov-bool-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159 ov-bool.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
160 ov-builtin.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
161 ov-cell.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162 ov-ch-mat.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
163 ov-class.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164 ov-colon.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165 ov-complex.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
166 ov-cs-list.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
167 ov-cx-diag.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168 ov-cx-mat.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
169 ov-dld-fcn.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
170 ov-fcn-handle.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
171 ov-fcn-inline.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172 ov-fcn.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
173 ov-float.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
174 ov-flt-complex.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175 ov-flt-cx-diag.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
176 ov-flt-cx-mat.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
177 ov-flt-re-diag.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
178 ov-flt-re-mat.h \
10325
8b3cfc1288e2 implement lazy index conversions
Jaroslav Hajek <highegg@gmail.com>
parents: 10264
diff changeset
179 ov-lazy-idx.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
180 ov-mex-fcn.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
181 ov-null-mat.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
182 ov-perm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183 ov-range.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 ov-re-diag.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185 ov-re-mat.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
186 ov-scalar.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187 ov-str-mat.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 ov-struct.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
189 ov-type-conv.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
190 ov-typeinfo.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191 ov-usr-fcn.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192 ov.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
193 $(OV_INTTYPE_INC)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
194
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
195 OV_SPARSE_INCLUDES = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 ov-base-sparse.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 ov-bool-sparse.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198 ov-cx-sparse.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199 ov-re-sparse.h
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
201 PT_INCLUDES = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 pt-all.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203 pt-arg-list.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204 pt-assign.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205 pt-binop.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
206 pt-bp.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207 pt-cbinop.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 pt-cell.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209 pt-check.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210 pt-cmd.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 pt-colon.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 pt-const.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
213 pt-decl.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
214 pt-eval.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
215 pt-except.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
216 pt-exp.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
217 pt-fcn-handle.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
218 pt-id.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219 pt-idx.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
220 pt-jump.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
221 pt-loop.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
222 pt-mat.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
223 pt-misc.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
224 pt-pr-code.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
225 pt-select.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
226 pt-stmt.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
227 pt-unop.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
228 pt-walk.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
229 pt.h
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
230
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
231 octinclude_HEADERS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
232 Cell.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
233 base-list.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
234 builtins.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
235 c-file-ptr-stream.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
236 comment-list.h \
11512
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents: 11243
diff changeset
237 cutils.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
238 debug.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
239 defun-dld.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
240 defun-int.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
241 defun.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
242 dirfns.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
243 display.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
244 dynamic-ld.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
245 error.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
246 file-io.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
247 gl-render.h \
9798
2d6a5af744b6 printing for fltk backend using gl2ps
Shai Ayal <shaiay@users.sourceforge.net>
parents: 9794
diff changeset
248 gl2ps.h \
2d6a5af744b6 printing for fltk backend using gl2ps
Shai Ayal <shaiay@users.sourceforge.net>
parents: 9794
diff changeset
249 gl2ps-renderer.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
250 graphics-props.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
251 gripes.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
252 help.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
253 input.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
254 lex.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
255 load-path.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
256 load-save.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
257 ls-ascii-helper.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
258 ls-hdf5.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
259 ls-mat-ascii.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
260 ls-mat4.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
261 ls-mat5.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
262 ls-oct-ascii.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
263 ls-oct-binary.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
264 ls-utils.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
265 mex.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
266 mexproto.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
267 oct-errno.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
268 oct-fstrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
269 oct-gperf.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
270 oct-hdf5.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
271 oct-hist.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
272 oct-iostrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
273 oct-lvalue.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
274 oct-map.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
275 oct-obj.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
276 oct-prcstrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
277 oct-procbuf.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
278 oct-stdstrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
279 oct-stream.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
280 oct-strstrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
281 oct.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
282 octave.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
283 ops.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
284 pager.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
285 parse.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
286 pr-output.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287 procstream.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
288 sighandlers.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
289 siglist.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
290 sparse-xdiv.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
291 sparse-xpow.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
292 symtab.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293 sysdep.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
294 token.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
295 toplev.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296 txt-eng-ft.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
297 txt-eng.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
298 unwind-prot.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
299 utils.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
300 variables.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
301 xdiv.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
302 xnorm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
303 xpow.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
304 zfstream.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
305 $(OV_INCLUDES) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
306 $(OV_SPARSE_INCLUDES) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
307 $(PT_INCLUDES)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
308
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
309 nodist_octinclude_HEADERS = \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
310 defaults.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
311 graphics.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
312 oct-conf.h \
12783
ad9263d965dc First experimental profiler implementation with flat profile.
Daniel Kraft <d@domob.eu>
parents: 12772
diff changeset
313 profiler.h \
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
314 mxarray.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
315 version.h
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
316
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
317 OV_INTTYPE_SRC = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
318 ov-int16.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
319 ov-int32.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
320 ov-int64.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
321 ov-int8.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
322 ov-uint16.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323 ov-uint32.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
324 ov-uint64.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
325 ov-uint8.cc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
326
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
327 OV_SPARSE_SRC = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
328 ov-base-sparse.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
329 ov-bool-sparse.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
330 ov-cx-sparse.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
331 ov-re-sparse.cc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
332
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
333 OV_SRC = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
334 ov-base.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
335 ov-bool-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
336 ov-bool.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
337 ov-builtin.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338 ov-cell.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
339 ov-ch-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
340 ov-class.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
341 ov-colon.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
342 ov-complex.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
343 ov-cs-list.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
344 ov-cx-diag.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
345 ov-cx-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
346 ov-dld-fcn.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
347 ov-fcn-handle.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
348 ov-fcn-inline.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
349 ov-fcn.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
350 ov-float.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
351 ov-flt-complex.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
352 ov-flt-cx-diag.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
353 ov-flt-cx-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
354 ov-flt-re-diag.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
355 ov-flt-re-mat.cc \
10325
8b3cfc1288e2 implement lazy index conversions
Jaroslav Hajek <highegg@gmail.com>
parents: 10264
diff changeset
356 ov-lazy-idx.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
357 ov-mex-fcn.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
358 ov-null-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
359 ov-perm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
360 ov-range.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
361 ov-re-diag.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
362 ov-re-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
363 ov-scalar.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
364 ov-str-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
365 ov-struct.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
366 ov-typeinfo.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
367 ov-usr-fcn.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
368 ov.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
369 $(OV_INTTYPE_SRC) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
370 $(OV_SPARSE_SRC)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
371
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
372 PT_SRC = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
373 pt-arg-list.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
374 pt-assign.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
375 pt-binop.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
376 pt-bp.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
377 pt-cbinop.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
378 pt-cell.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
379 pt-check.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
380 pt-cmd.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
381 pt-colon.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
382 pt-const.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
383 pt-decl.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
384 pt-eval.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
385 pt-except.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
386 pt-exp.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
387 pt-fcn-handle.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
388 pt-id.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
389 pt-idx.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
390 pt-jump.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
391 pt-loop.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
392 pt-mat.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
393 pt-misc.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
394 pt-pr-code.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
395 pt-select.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
396 pt-stmt.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
397 pt-unop.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
398 pt.cc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
399
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
400 DIST_SRC = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
401 Cell.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
402 bitfcns.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
403 c-file-ptr-stream.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
404 comment-list.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
405 cutils.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
406 data.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
407 debug.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
408 defaults.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
409 defun.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
410 dirfns.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
411 display.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
412 dynamic-ld.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
413 error.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
414 file-io.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
415 gl-render.cc \
9798
2d6a5af744b6 printing for fltk backend using gl2ps
Shai Ayal <shaiay@users.sourceforge.net>
parents: 9794
diff changeset
416 gl2ps-renderer.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
417 graphics.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
418 gripes.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
419 help.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
420 input.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
421 lex.ll \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
422 load-path.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
423 load-save.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
424 ls-ascii-helper.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
425 ls-hdf5.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
426 ls-mat-ascii.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
427 ls-mat4.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
428 ls-mat5.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
429 ls-oct-ascii.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
430 ls-oct-binary.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
431 ls-utils.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
432 mappers.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
433 matherr.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
434 mex.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
435 oct-fstrm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
436 oct-hist.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
437 oct-iostrm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
438 oct-lvalue.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
439 oct-map.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
440 oct-obj.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
441 oct-parse.yy \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
442 oct-prcstrm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
443 oct-procbuf.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
444 oct-stream.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
445 oct-strstrm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
446 octave.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
447 pager.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
448 pr-output.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
449 procstream.cc \
12783
ad9263d965dc First experimental profiler implementation with flat profile.
Daniel Kraft <d@domob.eu>
parents: 12772
diff changeset
450 profiler.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
451 sighandlers.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
452 siglist.c \
11097
ffb2f1ef2097 make issparse, sparse, and spalloc built-in functions
John W. Eaton <jwe@octave.org>
parents: 11016
diff changeset
453 sparse.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
454 sparse-xdiv.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
455 sparse-xpow.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
456 strfns.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
457 symtab.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
458 syscalls.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
459 sysdep.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
460 token.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
461 toplev.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
462 txt-eng-ft.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
463 unwind-prot.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
464 utils.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
465 variables.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
466 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
467 xgl2ps.c \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
468 xnorm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
469 xpow.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
470 zfstream.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
471 $(OV_SRC) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
472 $(PT_SRC)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
473
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
474 include DLD-FUNCTIONS/module.mk
10376
1ed7cc046c52 Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents: 10342
diff changeset
475
10448
f123146f1820 src/Makefile.am: typo
John W. Eaton <jwe@octave.org>
parents: 10376
diff changeset
476 $(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
477 $(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
478
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
479 include OPERATORS/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
480 include TEMPLATE-INST/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
481
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
482 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
483 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
484 OCT_STAMP_FILES = $(subst DLD-FUNCTIONS/,DLD-FUNCTIONS/$(am__leading_dot),$(DLD_FUNCTIONS_LIBS:.la=.oct-stamp))
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
485 else
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
486 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
487 OCT_STAMP_FILES =
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
488 endif
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
489
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
490 liboctinterp_la_SOURCES = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
491 $(DIST_SRC) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
492 $(OPERATORS_SRC) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
493 $(TEMPLATE_INST_SRC)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
494
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
495 nodist_liboctinterp_la_SOURCES = \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
496 builtins.cc \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
497 defaults.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
498 graphics.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
499 mxarray.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
500 oct-conf.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
501 oct-errno.cc \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
502 ops.cc \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
503 version.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
504 $(OPT_INC)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
505
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
506 liboctinterp_la_CPPFLAGS = @OCTINTERP_DLL_DEFS@ $(AM_CPPFLAGS)
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
507
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
508 include link-deps.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
509
13022
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
510 liboctinterp_la_LIBADD = \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
511 ../liboctave/liboctave.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
512 ../libcruft/libcruft.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
513 $(LIBOCTINTERP_LINK_DEPS)
9816
b1462c588dd5 add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents: 9798
diff changeset
514
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
515 # Increment these as needed and according to the rules in the libtool manual:
12708
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
516 liboctinterp_current = 0
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
517 liboctinterp_revision = 0
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
518 liboctinterp_age = 0
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
519
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
520 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
521
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
522 liboctinterp_la_LDFLAGS = \
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
523 -version-info $(liboctinterp_version_info) \
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
524 $(NO_UNDEFINED_LDFLAG) \
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
525 -bindir $(bindir) \
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
526 $(LIBOCTINTERP_LINK_OPTS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
527
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
528 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
529
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
530 octave_SOURCES = main.c
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
531
13022
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
532 octave_LDADD = \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
533 liboctinterp.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
534 ../liboctave/liboctave.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
535 ../libcruft/libcruft.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
536 $(OCTAVE_LINK_DEPS)
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
537
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
538 octave_LDFLAGS = $(OCTAVE_LINK_OPTS)
12730
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 ## 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
541 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
542
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
543 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
544
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
545 ## 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
546 ## .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
547 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
548 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
549 else
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
550 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
551 endif
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
552
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
553 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
554
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
555 $(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
556
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
557 $(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
558
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
559 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
560 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
561
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
562 ## 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
563 %.df: %.cc
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
564 $(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
565 $(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
566 -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
567 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
568
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
569 ## Special rules:
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
570 ## 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
571
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
572 ## 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
573 ## 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
574 ## regenerate the Makefiles from Makefile.am and trigger the rules below.
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
575 defaults.h: defaults.h.in Makefile
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
576 @$(do_subst_default_vals)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
577
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
578 graphics.h: graphics.h.in genprops.awk Makefile
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
579 $(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
580 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
581
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
582 oct-conf.h: oct-conf.h.in Makefile
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
583 @$(do_subst_config_vals)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
584
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
585 ## 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
586 ## 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
587 ## 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
588 ## oct-gperf.h file.
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
589 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
590 $(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
591 $(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
592 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
593 rm -f $@-t1
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
594
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
595 mxarray.h: mxarray.h.in Makefile
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
596 $(SED) < $< \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
597 -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
598 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
599
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
600 version.h: version.h.in Makefile
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
601 $(SED) < $< \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
602 -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
603 -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
604 -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
605 -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
606 -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
607 mv $@-t $@
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 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
610 $(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
611 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
612
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
613 graphics-props.cc: graphics.h.in genprops.awk Makefile
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
614 $(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
615 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
616
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
617 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
618 $(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
619 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
620
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
621 oct-errno.cc: oct-errno.cc.in Makefile
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
622 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
623 $(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
624 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
625 $(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
626 else \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
627 $(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
628 fi
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
629 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
630
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
631 $(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
632 $(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
633 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
634
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
635 $(OPT_INC) : %.h : %.in
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
636 $(MAKE) -C $(@D) $(@F)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
637
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
638 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
639 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
640
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
641 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
642 $(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
643 mv $@-t $@
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
644 endif
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
645
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
646 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
647 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
648
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
649 __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
650 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
651
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
652 __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
653 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
654
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
655 .DOCSTRINGS: gendoc$(BUILD_EXEEXT)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
656 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
657 cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
658 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
659 fi
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
660 @echo "creating .DOCSTRINGS from .cc source files"
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
661 @./gendoc > $@
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
662 $(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
663 touch $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
664
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
665 doc-files: $(ALL_DEF_FILES)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
666 echo $(ALL_DEF_FILES) > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
667 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
668
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
669 gendoc.cc: doc-files mkgendoc
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
670 $(srcdir)/mkgendoc doc-files > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
671 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
672
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
673 gendoc$(BUILD_EXEEXT): gendoc.cc
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
674 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
675
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
676 all-local: $(OCT_STAMP_FILES) $(DLD_FUNCTIONS_PKG_ADD_FILE) .DOCSTRINGS
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
677
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
678 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
679 octave-config.cc: octave-config.cc.in Makefile
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
680 @$(do_subst_default_vals)
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
681
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
682 mkoctfile.cc: mkoctfile.cc.in Makefile
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
683 @$(do_subst_config_vals)
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
684 else
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
685 octave-config: octave-config.in Makefile
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
686 @$(do_subst_default_vals)
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
687 chmod a+rx $@
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
688
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
689 mkoctfile: mkoctfile.in Makefile
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
690 @$(do_subst_config_vals)
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
691 chmod a+rx $@
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
692 endif
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
693
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
694 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
695
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
696 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
697
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
698 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
699
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
700 make-version-links:
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
701 cd $(DESTDIR)$(bindir) && \
12754
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
702 for f in $(basename $(bin_PROGRAMS)); do \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
703 mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
704 $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
705 done
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
706 if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
707 cd $(DESTDIR)$(bindir) && \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
708 for f in $(basename $(bin_SCRIPTS)); do \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
709 mv $$f $$f-$(version) && \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
710 $(LN_S) $$f-$(version) $$f; \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
711 done
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
712 endif
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
713
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
714 remove-version-links:
12754
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
715 for f in $(basename $(bin_PROGRAMS)); do \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
716 rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
717 done
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
718 if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
719 for f in $(basename $(bin_SCRIPTS)); do \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
720 rm -f $(DESTDIR)$(bindir)/$$f-$(version); \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
721 done
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
722 endif
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
723
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
724 .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
725
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
726 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
727 install-oct:
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
728 $(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
729 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
730 $(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
731 fi
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
732 cd $(DESTDIR)$(octlibdir) && \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
733 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
734 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
735 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
736 if [ -n "$$dl" ]; then \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
737 $(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
738 else \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
739 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
740 exit 1; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
741 fi; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
742 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
743 if [ -n "$$lnames" ]; then \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
744 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
745 fi \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
746 done
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
747
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
748 uninstall-oct:
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
749 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
750 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
751 done
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
752 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
753 endif
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
754 .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
755
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
756 CLEANFILES = \
12754
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
757 $(bin_SCRIPTS) \
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
758 $(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
759 doc-files \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
760 gendoc.cc \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
761 gendoc$(BUILD_EXEEXT) \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
762 graphics-props.cc \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
763 oct-parse.output
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
764
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
765 DISTCLEANFILES = \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
766 .DOCSTRINGS \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
767 DOCSTRINGS \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
768 $(BUILT_NODISTFILES) \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
769 $(OCT_FILES) \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
770 $(OCT_STAMP_FILES)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
771
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
772 MAINTAINERCLEANFILES = \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
773 $(BUILT_DISTFILES)