Merge from emacs-24; up to 2013-01-03T02:31:36Z!rgm@gnu.org
[bpt/emacs.git] / nt / epaths.nt
1 /* Hey Emacs, this is -*- C -*- code! */
2 /* epaths.in file for MS-Windows build that uses the configure script.
3
4 Since Emacs on Windows must be relocatable to any directory, it
5 cannot have here hard-coded directories determined at configure
6 time. Therefore, each directory must begin with %emacs_dir%, which
7 is resolved at startup to the root of the Emacs installation tree
8 (see w32.c:init_environment).
9
10 This file is edited at configure time to replace @VER@ by the Emacs
11 version being built (e.g., 25.9.77), @CFG@ by the canonical name of
12 the host system (e.g., i686-pc-mingw32), and @SRC@ by the root of
13 the Emacs source tree used to build Emacs. */
14 /*
15 Copyright (C) 1993, 1995, 1997, 1999, 2001-2013 Free Software
16 Foundation, Inc.
17
18 This file is part of GNU Emacs.
19
20 GNU Emacs is free software: you can redistribute it and/or modify
21 it under the terms of the GNU General Public License as published by
22 the Free Software Foundation, either version 3 of the License, or
23 (at your option) any later version.
24
25 GNU Emacs is distributed in the hope that it will be useful,
26 but WITHOUT ANY WARRANTY; without even the implied warranty of
27 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 GNU General Public License for more details.
29
30 You should have received a copy of the GNU General Public License
31 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
32
33
34 /* Together with PATH_SITELOADSEARCH, this gives the default value of
35 load-path, which is the search path for the Lisp function "load".
36 Configure (using "make epaths-force") sets this to
37 ${standardlisppath}, which typically has a value like:
38 <datadir>/emacs/VERSION/lisp:<datadir>/emacs/VERSION/leim
39 where datadir is eg /usr/local/share.
40 */
41 #define PATH_LOADSEARCH "%emacs_dir%/share/emacs/@VER@/lisp;%emacs_dir%/share/emacs/@VER@/leim"
42
43 /* Like PATH_LOADSEARCH, but contains the non-standard pieces.
44 These are the site-lisp directories. Configure sets this to
45 ${locallisppath}, which typically defaults to something like:
46 <datadir>/emacs/VERSION/site-lisp:<datadir>/emacs/site-lisp
47 but can be overridden by the --enable-locallisppath argument.
48 This is combined with PATH_LOADSEARCH to make the default load-path.
49 If the --no-site-lisp option is used, this piece is excluded.
50 */
51 #define PATH_SITELOADSEARCH "%emacs_dir%/share/emacs/@VER@/site-lisp;%emacs_dir%/share/emacs/site-lisp"
52
53 /* Like PATH_LOADSEARCH, but used only during the build process
54 when Emacs is dumping. Configure (using "make epaths-force") sets
55 this to $buildlisppath, which normally has the value: <srcdir>/lisp.
56 */
57 #define PATH_DUMPLOADSEARCH "@SRC@/lisp"
58
59 /* The extra search path for programs to invoke. This is appended to
60 whatever the PATH environment variable says to set the Lisp
61 variable exec-path and the first file name in it sets the Lisp
62 variable exec-directory. exec-directory is used for finding
63 executables and other architecture-dependent files. */
64 #define PATH_EXEC "%emacs_dir%/libexec/emacs/@VER@/@CFG@"
65
66 /* Where Emacs should look for its architecture-independent data
67 files, like the NEWS file. The lisp variable data-directory
68 is set to this value. */
69 #define PATH_DATA "%emacs_dir%/share/emacs/@VER@/etc"
70
71 /* Where Emacs should look for X bitmap files.
72 The lisp variable x-bitmap-file-path is set based on this value. */
73 #define PATH_BITMAPS ""
74
75 /* Where Emacs should look for its docstring file. The lisp variable
76 doc-directory is set to this value. */
77 #define PATH_DOC "%emacs_dir%/share/emacs/@VER@/etc"
78
79 /* Where the configuration process believes the info tree lives. The
80 lisp variable configure-info-directory gets its value from this
81 macro, and is then used to set the Info-default-directory-list. */
82 #define PATH_INFO "%emacs_dir%/share/info"
83
84 /* Where Emacs should store game score files. */
85 #define PATH_GAME "%emacs_dir%/var/games/emacs"
86
87 /* Where Emacs should look for the application default file. */
88 #define PATH_X_DEFAULTS ""
89