1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00
emacs/etc
Eli Zaretskii df065a0b9a Support building Emacs on MS-Windows using the Posix configury.
lib/Makefile.am: If building for MS-Windows, include
 nt/gnulib.mk instead of lib/gnulib.mk.
 configure.ac: Adapt to MSYS build on MS-Windows.
 Makefile.in (NTDIR): New variable, for the MSYS build on
 MS-Windows.
 (SUBDIR): Add $(NTDIR).
 (.PHONY): Add epaths-force-w32.
 (msys_to_w32): New variable.
 (epaths-force-w32, install-nt, uninstall-nt): New targets.
 (lib-src src): Add $(NTLIB) to prerequisites.
 (lib lib-src lisp leim nt): Add 'nt'.
 (config.status): Use $(CFG).
 (.PHONY): Add install-$(NTDIR) and uninstall-$(NTDIR).
 (install, install-arch-dep): Add install-$(NTDIR).
 (uninstall): Depend on uninstall-$(NTDIR).
 (mostlyclean, clean, distclean, bootstrap-clean): Add 'nt'.
 * GNUmakefile (CFG): New variable, uses mingw-cfg.site as
 CONFIG_SITE for the MSYS build on MS-Windows.
 (Makefile): Use $(CFG).
 .bzrignore: Ignore *.res, *.tmp, and *.map.  Remove
 src/emacs.res.

 etc/NEWS: Advertise the MSYS build on MS-Windows.

 leim/Makefile.in (leim-list.el, check-declare): Use reveal-filename.

 lib-src/update-game-score.c [WINDOWSNT]: Include "ntlib.h".
 lib-src/ntlib.h (sleep): Update prototype.
 (geteuid): Add prototype.
 lib-src/ntlib.c (sleep): Now returns an unsigned value.
 (getgid): New function.
 lib-src/Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB)
 (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables.
 (INSTALLABLES): Add $(CLIENTW).
 (LIBS_MOVE): Use $(LIB_WSOCK32).
 ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score.
 (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib.
 (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
 (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
 (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}):
 Add $(NTLIB) to prerequisites.  Use $(EXEEXT).
 (pop.o): Add pop.h to prerequisites.
 (emacsclientw${EXEEXT}, ntlib.o): New targets.
 (emacsclient.res): New target.

 lisp/subr.el (reveal-filename): New function.
 lisp/loadup.el: Compute Emacs executable versions on MS-Windows,
 where executables have the .exe extension.  Add a hard link
 emacs-XX.YY.ZZ.exe on MS-Windows.
 lisp/Makefile.in (XARGS_LIMIT): New variable.
 (custom-deps, finder-data, autoloads)
 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
 (compile-main): Limit xargs according to $(XARGS_LIMIT).

 nt/msysconfig.sh: New file.
 nt/mingw-cfg.site: New file.
 nt/makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
 nt/inc/unistd.h: Include pwd.h and sys/types.h.
 nt/inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
 (timerclear): Define.
 (gettimeofday): Adjust signature to be Posix compatible, by using
 the 'restrict' keyword.
 nt/inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
 (struct _stat, struct _stati64): Define.
 nt/inc/sys/socket.h (timeval): Define only for MSVC.
 (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
 EMACS_CONFIG_H is defined.
 (timeval): Undefine only for MSVC.
 nt/inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
 (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
 (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
 (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
 (fileno): Move definition after including stdio.h.
 (sigset_t): Guard typedef by _W64.
 nt/gnulib.mk: New file.
 nt/epaths.nt: New file.
 nt/addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
 copy of the file names there.
 <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
 literal strings.
 nt/Makefile.in: New file.
 nt/INSTALL.MSYS: New file.
 nt/INSTALL: Mention INSTALL.MSYS.

 src/w32.c: Include epaths.h.
 (init_environment): Use cmdproxy.exe without leading directories.
 Support emacs.exe in src; point SHELL to cmdproxy in ../nt in that
 case.
 (gettimeofday): Adjust signature and return value to Posix
 expectations.
 src/unexw32.c (open_output_file): Delete the existing emacs.exe
 before creating it, to break the hard link to the versioned
 executable.
 src/Makefile.in (EMACS_MANIFEST, CM_OBJ, TEMACS_POST_LINK)
 (ADDSECTION, EMACS_HEAPSIZE, MINGW_TEMACS_POST_LINK)
 (FIRSTFILE_OBJ): New variables.
 (W32_RES): Rename to EMACSRES.  All users changed.
 (base_obj): Use $(CM_OBJ).
 (ALLOBJS): Use $(FIRSTFILE_OBJ).
 (emacs$(EXEEXT)): Depend on $(ADDSECTION).
 (temacs$(EXEEXT)): Use $(TEMACS_POST_LINK), and move
 $(W32_RES_LINK) before $(LIBES).
 (emacs.res): Depend on $(EMACS_MANIFEST).  Put emacs.rc in nt.
2013-05-16 15:48:54 +03:00
..
charsets Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
e Spelling fixes. 2011-11-26 20:43:11 -08:00
forms Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
gnus Spelling fixes. 2011-11-19 18:29:42 -08:00
images Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
nxml
org Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
refcards Prefer UTF-8 in documentation. 2013-03-11 19:40:08 -07:00
schema Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
srecode Merge from emacs-24; up to 2012-12-26T16:22:18Z!michael.albinus@gmx.de 2013-03-30 09:55:47 -07:00
themes * themes/tsdh-dark-theme.el (tsdh-dark): Add ido faces and remove 2013-04-24 18:50:14 +02:00
tutorials Use UTF-8 for most files with non-ASCII characters. 2013-04-01 18:18:40 -07:00
.gitignore Use just DOC instead of DOC-nn.mm. 2013-05-15 16:12:53 -04:00
AUTHORS Regenerate AUTHORS and ldefs-boot.el 2013-03-04 19:55:25 -08:00
CALC-NEWS Remove info duplicated from manual; convert to outline mode format. 2013-01-31 20:04:23 -08:00
celibacy.1
CENSORSHIP
ChangeLog Support building Emacs on MS-Windows using the Posix configury. 2013-05-16 15:48:54 +03:00
compilation.txt Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
condom.1
CONTRIBUTE A few small TODO and CONTRIBUTE updates 2013-02-16 12:24:50 -08:00
COOKIES
COPYING
copying.paper
DEBUG Improve instructions in etc/DEBUG, per bug #13775. 2013-02-22 11:22:21 +02:00
DEVEL.HUMOR
DISTRIB Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
echo.msg
edt-user.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
emacs-buffer.gdb Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
emacs.desktop
emacs.icon
enriched.doc Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ERC-NEWS Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ETAGS.EBNF Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ETAGS.README Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
FTP
future-bug Rename configure.in to configure.ac. 2012-07-08 21:52:49 -07:00
GNU Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
GNUS-NEWS Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
gnus-tut.txt Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
grep.txt Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
HELLO Add coding tags for iso-2022-7bit files that are not already tagged. 2013-03-12 09:53:31 -07:00
INTERVIEW
JOKES Spelling fixes. 2011-11-14 12:23:26 -08:00
LINUX-GNU
MACHINES Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
MAILINGLISTS Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
MH-E-NEWS Spelling fixes. 2013-03-02 22:40:21 -08:00
MORE.STUFF Put back no-longer-defunct URL from 2012-12-20T14:57:40Z!eggert@cs.ucla.edu 2013-04-28 10:40:32 -07:00
MOTIVATION
NEWS Announce the MSYS build in etc/NEWS. 2013-05-16 14:23:39 +03:00
NEWS.1-17 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.18 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.19 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.20 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.21 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.22 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.23 Merge calc news from lisp/calc/README into etc/NEWS files 2013-01-31 19:51:08 -08:00
NEXTSTEP Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NXML-NEWS
ORDERS
ORG-NEWS Fixes related to the last Org merge. 2013-01-08 23:02:09 +01:00
PROBLEMS Use just DOC instead of DOC-nn.mm. 2013-05-15 16:12:53 -04:00
ps-prin0.ps Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ps-prin1.ps Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
publicsuffix.txt Spelling fixes. 2012-04-13 22:10:55 -07:00
README Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
rgb.txt
SERVICE
ses-example.ses Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
sex.6
spook.lines * etc/spook.lines: Additions. (tiny change) 2012-06-01 00:10:49 -07:00
TERMS Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
THE-GNU-PROJECT Spelling fixes. 2011-11-19 23:30:16 -08:00
TODO Merge from emacs-24; up to 2012-12-22T19:09:52Z!rgm@gnu.org 2013-02-24 11:45:17 -08:00
WHY-FREE
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

`forms-d2.dat' is an example data file used by forms-d2.el.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2013 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)