Mercurial > hg > octave-nkf
annotate libinterp/interpfcn/defaults.in.h @ 15195:2fc554ffbc28
split libinterp from src
* libinterp: New directory. Move all files from src directory here
except Makefile.am, main.cc, main-cli.cc, mkoctfile.in.cc,
mkoctfilr.in.sh, octave-config.in.cc, octave-config.in.sh.
* libinterp/Makefile.am: New file, extracted from src/Makefile.am.
* src/Makefile.am: Delete everything except targets and definitions
needed to build and link main and utility programs.
* Makefile.am (SUBDIRS): Include libinterp in the list.
* autogen.sh: Run config-module.sh in libinterp/dldfcn directory, not
src/dldfcn directory.
* configure.ac (AC_CONFIG_SRCDIR): Use libinterp/octave.cc, not
src/octave.cc.
(DL_LDFLAGS, LIBOCTINTERP): Use libinterp, not src.
(AC_CONFIG_FILES): Include libinterp/Makefile in the list.
* find-docstring-files.sh: Look in libinterp, not src.
* gui/src/Makefile.am (liboctgui_la_CPPFLAGS): Find header files in
libinterp, not src.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 18 Aug 2012 16:23:39 -0400 |
parents | src/interpfcn/defaults.in.h@a87fa9132b72 |
children | 789c8c3c9af5 |
rev | line source |
---|---|
15100
8523df595d42
maint: Add DO NOT EDIT messages to build system for src/*.in.h.
Rik <rik@octave.org>
parents:
15089
diff
changeset
|
1 // %NO_EDIT_WARNING% |
12 | 2 /* |
3 | |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
4 Copyright (C) 1993-2012 John W. Eaton |
12 | 5 |
6 This file is part of Octave. | |
7 | |
8 Octave is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published by the | |
7016 | 10 Free Software Foundation; either version 3 of the License, or (at your |
11 option) any later version. | |
12 | 12 |
13 Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
7016 | 19 along with Octave; see the file COPYING. If not, see |
20 <http://www.gnu.org/licenses/>. | |
12 | 21 |
22 */ | |
23 | |
423 | 24 #if !defined (octave_defaults_h) |
25 #define octave_defaults_h 1 | |
12 | 26 |
2204 | 27 #include <string> |
28 | |
3174 | 29 #include "pathsearch.h" |
30 | |
3584 | 31 #ifndef OCTAVE_CANONICAL_HOST_TYPE |
32 #define OCTAVE_CANONICAL_HOST_TYPE %OCTAVE_CANONICAL_HOST_TYPE% | |
33 #endif | |
34 | |
35 #ifndef OCTAVE_DEFAULT_PAGER | |
36 #define OCTAVE_DEFAULT_PAGER %OCTAVE_DEFAULT_PAGER% | |
12 | 37 #endif |
38 | |
3584 | 39 #ifndef OCTAVE_ARCHLIBDIR |
40 #define OCTAVE_ARCHLIBDIR %OCTAVE_ARCHLIBDIR% | |
41 #endif | |
42 | |
43 #ifndef OCTAVE_BINDIR | |
44 #define OCTAVE_BINDIR %OCTAVE_BINDIR% | |
45 #endif | |
46 | |
47 #ifndef OCTAVE_DATADIR | |
48 #define OCTAVE_DATADIR %OCTAVE_DATADIR% | |
666 | 49 #endif |
50 | |
5847 | 51 #ifndef OCTAVE_DATAROOTDIR |
52 #define OCTAVE_DATAROOTDIR %OCTAVE_DATAROOTDIR% | |
53 #endif | |
54 | |
8865
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
55 #ifndef OCTAVE_DOC_CACHE_FILE |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
56 #define OCTAVE_DOC_CACHE_FILE %OCTAVE_DOC_CACHE_FILE% |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
57 #endif |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
58 |
14614
4e9dc46d4125
handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents:
14547
diff
changeset
|
59 #ifndef OCTAVE_TEXI_MACROS_FILE |
4e9dc46d4125
handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents:
14547
diff
changeset
|
60 #define OCTAVE_TEXI_MACROS_FILE %OCTAVE_TEXI_MACROS_FILE% |
4e9dc46d4125
handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents:
14547
diff
changeset
|
61 #endif |
4e9dc46d4125
handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents:
14547
diff
changeset
|
62 |
666 | 63 #ifndef OCTAVE_EXEC_PREFIX |
64 #define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% | |
65 #endif | |
66 | |
3584 | 67 #ifndef OCTAVE_FCNFILEDIR |
68 #define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR% | |
666 | 69 #endif |
70 | |
3584 | 71 #ifndef OCTAVE_IMAGEDIR |
72 #define OCTAVE_IMAGEDIR %OCTAVE_IMAGEDIR% | |
666 | 73 #endif |
74 | |
3584 | 75 #ifndef OCTAVE_INCLUDEDIR |
76 #define OCTAVE_INCLUDEDIR %OCTAVE_INCLUDEDIR% | |
798 | 77 #endif |
78 | |
666 | 79 #ifndef OCTAVE_INFODIR |
80 #define OCTAVE_INFODIR %OCTAVE_INFODIR% | |
12 | 81 #endif |
82 | |
2512 | 83 #ifndef OCTAVE_INFOFILE |
84 #define OCTAVE_INFOFILE %OCTAVE_INFOFILE% | |
85 #endif | |
86 | |
3584 | 87 #ifndef OCTAVE_LIBDIR |
88 #define OCTAVE_LIBDIR %OCTAVE_LIBDIR% | |
89 #endif | |
90 | |
91 #ifndef OCTAVE_LIBEXECDIR | |
92 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% | |
93 #endif | |
94 | |
95 #ifndef OCTAVE_LIBEXECDIR | |
96 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% | |
97 #endif | |
98 | |
4449 | 99 #ifndef OCTAVE_LOCALAPIFCNFILEDIR |
100 #define OCTAVE_LOCALAPIFCNFILEDIR %OCTAVE_LOCALAPIFCNFILEDIR% | |
101 #endif | |
102 | |
103 #ifndef OCTAVE_LOCALAPIOCTFILEDIR | |
104 #define OCTAVE_LOCALAPIOCTFILEDIR %OCTAVE_LOCALAPIOCTFILEDIR% | |
105 #endif | |
106 | |
3584 | 107 #ifndef OCTAVE_LOCALARCHLIBDIR |
108 #define OCTAVE_LOCALARCHLIBDIR %OCTAVE_LOCALARCHLIBDIR% | |
666 | 109 #endif |
110 | |
1476 | 111 #ifndef OCTAVE_LOCALFCNFILEDIR |
112 #define OCTAVE_LOCALFCNFILEDIR %OCTAVE_LOCALFCNFILEDIR% | |
113 #endif | |
114 | |
3584 | 115 #ifndef OCTAVE_LOCALOCTFILEDIR |
116 #define OCTAVE_LOCALOCTFILEDIR %OCTAVE_LOCALOCTFILEDIR% | |
117 #endif | |
118 | |
119 #ifndef OCTAVE_LOCALSTARTUPFILEDIR | |
4443 | 120 #define OCTAVE_LOCALSTARTUPFILEDIR %OCTAVE_LOCALSTARTUPFILEDIR% |
3584 | 121 #endif |
122 | |
5909 | 123 #ifndef OCTAVE_LOCALAPIARCHLIBDIR |
124 #define OCTAVE_LOCALAPIARCHLIBDIR %OCTAVE_LOCALAPIARCHLIBDIR% | |
125 #endif | |
126 | |
3597 | 127 #ifndef OCTAVE_LOCALVERARCHLIBDIR |
128 #define OCTAVE_LOCALVERARCHLIBDIR %OCTAVE_LOCALVERARCHLIBDIR% | |
129 #endif | |
130 | |
131 #ifndef OCTAVE_LOCALVERFCNFILEDIR | |
132 #define OCTAVE_LOCALVERFCNFILEDIR %OCTAVE_LOCALVERFCNFILEDIR% | |
133 #endif | |
134 | |
135 #ifndef OCTAVE_LOCALVEROCTFILEDIR | |
136 #define OCTAVE_LOCALVEROCTFILEDIR %OCTAVE_LOCALVEROCTFILEDIR% | |
137 #endif | |
138 | |
3584 | 139 #ifndef OCTAVE_MAN1DIR |
140 #define OCTAVE_MAN1DIR %OCTAVE_MAN1DIR% | |
141 #endif | |
142 | |
143 #ifndef OCTAVE_MAN1EXT | |
144 #define OCTAVE_MAN1EXT %OCTAVE_MAN1EXT% | |
145 #endif | |
146 | |
147 #ifndef OCTAVE_MANDIR | |
148 #define OCTAVE_MANDIR %OCTAVE_MANDIR% | |
2439 | 149 #endif |
150 | |
666 | 151 #ifndef OCTAVE_OCTFILEDIR |
152 #define OCTAVE_OCTFILEDIR %OCTAVE_OCTFILEDIR% | |
153 #endif | |
154 | |
8719
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
155 #ifndef OCTAVE_OCTETCDIR |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
156 #define OCTAVE_OCTETCDIR %OCTAVE_OCTETCDIR% |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
157 #endif |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
158 |
3584 | 159 #ifndef OCTAVE_OCTINCLUDEDIR |
160 #define OCTAVE_OCTINCLUDEDIR %OCTAVE_OCTINCLUDEDIR% | |
666 | 161 #endif |
162 | |
3584 | 163 #ifndef OCTAVE_OCTLIBDIR |
164 #define OCTAVE_OCTLIBDIR %OCTAVE_OCTLIBDIR% | |
666 | 165 #endif |
166 | |
3584 | 167 #ifndef OCTAVE_PREFIX |
168 #define OCTAVE_PREFIX %OCTAVE_PREFIX% | |
684 | 169 #endif |
170 | |
3584 | 171 #ifndef OCTAVE_STARTUPFILEDIR |
4443 | 172 #define OCTAVE_STARTUPFILEDIR %OCTAVE_STARTUPFILEDIR% |
423 | 173 #endif |
174 | |
5658 | 175 #ifndef OCTAVE_RELEASE |
176 #define OCTAVE_RELEASE %OCTAVE_RELEASE% | |
177 #endif | |
178 | |
3532 | 179 extern std::string Voctave_home; |
2204 | 180 |
3532 | 181 extern std::string Vbin_dir; |
182 extern std::string Vinfo_dir; | |
183 extern std::string Vdata_dir; | |
184 extern std::string Vlibexec_dir; | |
185 extern std::string Varch_lib_dir; | |
186 extern std::string Vlocal_arch_lib_dir; | |
3597 | 187 extern std::string Vlocal_ver_arch_lib_dir; |
5814 | 188 |
189 extern std::string Vlocal_ver_oct_file_dir; | |
190 extern std::string Vlocal_api_oct_file_dir; | |
191 extern std::string Vlocal_oct_file_dir; | |
192 | |
193 extern std::string Vlocal_ver_fcn_file_dir; | |
194 extern std::string Vlocal_api_fcn_file_dir; | |
195 extern std::string Vlocal_fcn_file_dir; | |
196 | |
15157
a87fa9132b72
provide Voct_etc_dir variable
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
197 extern std::string Voct_etc_dir; |
a87fa9132b72
provide Voct_etc_dir variable
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
198 |
5814 | 199 extern std::string Voct_file_dir; |
3532 | 200 extern std::string Vfcn_file_dir; |
5814 | 201 |
202 extern std::string Vimage_dir; | |
2204 | 203 |
204 // Name of the editor to be invoked by the edit_history command. | |
5794 | 205 extern std::string VEDITOR; |
2204 | 206 |
3532 | 207 extern std::string Vlocal_site_defaults_file; |
208 extern std::string Vsite_defaults_file; | |
2204 | 209 |
4776 | 210 // Name of the FFTW wisdom program. |
6693 | 211 extern OCTINTERP_API std::string Vfftw_wisdom_program; |
4776 | 212 |
6274 | 213 extern std::string subst_octave_home (const std::string&); |
214 | |
2198 | 215 extern void install_defaults (void); |
216 | |
5814 | 217 extern void set_exec_path (const std::string& path = std::string ()); |
218 extern void set_image_path (const std::string& path = std::string ()); | |
219 | |
12 | 220 #endif |