epaths.nt 3.9 KB

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