diff options
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/ChangeLog | 18 | ||||
| -rw-r--r-- | nt/README.W32 | 17 | ||||
| -rw-r--r-- | nt/gmake.defs | 2 | ||||
| -rw-r--r-- | nt/makefile.w32-in | 19 | ||||
| -rw-r--r-- | nt/nmake.defs | 3 |
5 files changed, 49 insertions, 10 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 81bf6a1e105..544b964be3d 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2012-02-06 Christoph Scholtes <cschol2112@googlemail.com> | ||
| 2 | |||
| 3 | * README.W32: Removed specific version information for libXpm | ||
| 4 | included in the binary distribution for maintenance purposes. | ||
| 5 | |||
| 6 | 2012-02-05 Christoph Scholtes <cschol2112@googlemail.com> | ||
| 7 | |||
| 8 | * README.W32: Clarification for inclusion in source tarball. (Bug#9750) | ||
| 9 | |||
| 10 | * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC. | ||
| 11 | |||
| 12 | * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC. | ||
| 13 | |||
| 14 | * makefile.w32-in (maybe-copy-distfiles) | ||
| 15 | (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH) | ||
| 16 | (create-tmp-dist-dir): Added to make --distfiles optional. | ||
| 17 | (dist): Use create-tmp-dist-dir and maybe-copy-distfiles. (Bug#10261) | ||
| 18 | |||
| 1 | 2012-02-04 Eli Zaretskii <eliz@gnu.org> | 19 | 2012-02-04 Eli Zaretskii <eliz@gnu.org> |
| 2 | 20 | ||
| 3 | * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions | 21 | * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions |
diff --git a/nt/README.W32 b/nt/README.W32 index 8f33dee2d9b..05456fd1d6d 100644 --- a/nt/README.W32 +++ b/nt/README.W32 | |||
| @@ -3,16 +3,21 @@ See the end of the file for license conditions. | |||
| 3 | 3 | ||
| 4 | Emacs for Windows | 4 | Emacs for Windows |
| 5 | 5 | ||
| 6 | This README file describes how to set up and run a precompiled | 6 | This README.W32 file describes how to set up and run a precompiled |
| 7 | version of GNU Emacs for Windows. This distribution can be found on | 7 | distribution of GNU Emacs for Windows. You can find the precompiled |
| 8 | the ftp.gnu.org server and its mirrors: | 8 | distribution on the ftp.gnu.org server and its mirrors: |
| 9 | 9 | ||
| 10 | ftp://ftp.gnu.org/gnu/emacs/windows/ | 10 | ftp://ftp.gnu.org/gnu/emacs/windows/ |
| 11 | 11 | ||
| 12 | This server contains other distributions, including the full Emacs | 12 | This server contains other distributions, including the full Emacs |
| 13 | source distribution and a barebin distribution which can be installed | 13 | source distribution and a barebin distribution which can be installed |
| 14 | over it, as well as older releases of Emacs for Windows. | 14 | over it, as well as older releases of Emacs for Windows. |
| 15 | 15 | ||
| 16 | Information on how to compile Emacs from sources on Windows is in | ||
| 17 | the files README and INSTALL in this directory. If you received | ||
| 18 | this file as part of the Emacs source distribution, please read | ||
| 19 | those 2 files and not this one. | ||
| 20 | |||
| 16 | Answers to frequently asked questions, and further information about | 21 | Answers to frequently asked questions, and further information about |
| 17 | this port of GNU Emacs and related software packages can be found via | 22 | this port of GNU Emacs and related software packages can be found via |
| 18 | http: | 23 | http: |
| @@ -123,9 +128,7 @@ See the end of the file for license conditions. | |||
| 123 | Emacs has built in support for XBM and PPM/PGM/PBM images, and the | 128 | Emacs has built in support for XBM and PPM/PGM/PBM images, and the |
| 124 | libXpm library is bundled, providing XPM support (required for color | 129 | libXpm library is bundled, providing XPM support (required for color |
| 125 | toolbar icons and splash screen). Source for libXpm should be available | 130 | toolbar icons and splash screen). Source for libXpm should be available |
| 126 | on the same place as you got this binary distribution from. The version | 131 | on the same place as you got this binary distribution from. |
| 127 | of libXpm bundled with this version of Emacs is 3.5.7, based on x.org's | ||
| 128 | libXpm library from X11R7.3. | ||
| 129 | 132 | ||
| 130 | Emacs can also support some other image formats with appropriate | 133 | Emacs can also support some other image formats with appropriate |
| 131 | libraries. These libraries are all available as part of GTK | 134 | libraries. These libraries are all available as part of GTK |
diff --git a/nt/gmake.defs b/nt/gmake.defs index e58ee4f3213..6839b28b975 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs | |||
| @@ -289,6 +289,8 @@ ifdef USER_LIBS | |||
| 289 | USER_LIBS := $(patsubst %,-l%,$(USER_LIBS)) | 289 | USER_LIBS := $(patsubst %,-l%,$(USER_LIBS)) |
| 290 | endif | 290 | endif |
| 291 | 291 | ||
| 292 | PRAGMA_SYSTEM_HEADER = \#pragma GCC system_header | ||
| 293 | |||
| 292 | ifeq "$(ARCH)" "i386" | 294 | ifeq "$(ARCH)" "i386" |
| 293 | ifdef NOOPT | 295 | ifdef NOOPT |
| 294 | ARCH_CFLAGS = -c $(DEBUG_FLAG) $(NOCYGWIN) | 296 | ARCH_CFLAGS = -c $(DEBUG_FLAG) $(NOCYGWIN) |
diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in index b442ca57b78..30a5f83ea00 100644 --- a/nt/makefile.w32-in +++ b/nt/makefile.w32-in | |||
| @@ -257,8 +257,22 @@ install-other-dirs-gmake: | |||
| 257 | install-shortcuts: | 257 | install-shortcuts: |
| 258 | "$(INSTALL_DIR)/bin/addpm" -q | 258 | "$(INSTALL_DIR)/bin/addpm" -q |
| 259 | 259 | ||
| 260 | dist: install-bin | 260 | maybe-copy-distfiles: maybe-copy-distfiles-$(SHELLTYPE) |
| 261 | mkdir $(TMP_DIST_DIR) | 261 | |
| 262 | maybe-copy-distfiles-CMD: doit | ||
| 263 | @if not $(ARGQUOTE)$(DIST_FILES)$(ARGQUOTE)=="" $(CP_DIR) $(DIST_FILES) $(TMP_DIST_DIR)/bin | ||
| 264 | |||
| 265 | maybe-copy-distfiles-SH: doit | ||
| 266 | @if [ ! $(ARGQUOTE)$(DIST_FILES)$(ARGQUOTE)=="" ] ; then \ | ||
| 267 | $(CP_DIR) $(DIST_FILES) $(TMP_DIST_DIR)/bin | ||
| 268 | fi | ||
| 269 | |||
| 270 | create-tmp-dist-dir: | ||
| 271 | mkdir "$(TMP_DIST_DIR)" | ||
| 272 | # Also create bin directory for dist files. | ||
| 273 | mkdir "$(TMP_DIST_DIR)/bin" | ||
| 274 | |||
| 275 | dist: install-bin create-tmp-dist-dir maybe-copy-distfiles | ||
| 262 | $(CP) "$(INSTALL_DIR)/BUGS" $(TMP_DIST_DIR) | 276 | $(CP) "$(INSTALL_DIR)/BUGS" $(TMP_DIST_DIR) |
| 263 | $(CP) "$(INSTALL_DIR)/COPYING" $(TMP_DIST_DIR) | 277 | $(CP) "$(INSTALL_DIR)/COPYING" $(TMP_DIST_DIR) |
| 264 | $(CP) "$(INSTALL_DIR)/README" $(TMP_DIST_DIR) | 278 | $(CP) "$(INSTALL_DIR)/README" $(TMP_DIST_DIR) |
| @@ -269,7 +283,6 @@ dist: install-bin | |||
| 269 | $(CP_DIR) "$(INSTALL_DIR)/lisp" $(TMP_DIST_DIR) | 283 | $(CP_DIR) "$(INSTALL_DIR)/lisp" $(TMP_DIST_DIR) |
| 270 | $(CP_DIR) "$(INSTALL_DIR)/leim" $(TMP_DIST_DIR) | 284 | $(CP_DIR) "$(INSTALL_DIR)/leim" $(TMP_DIST_DIR) |
| 271 | $(CP_DIR) "$(INSTALL_DIR)/site-lisp" $(TMP_DIST_DIR) | 285 | $(CP_DIR) "$(INSTALL_DIR)/site-lisp" $(TMP_DIST_DIR) |
| 272 | $(CP_DIR) $(DIST_FILES) $(TMP_DIST_DIR)/bin | ||
| 273 | $(COMSPEC)$(ComSpec) /c $(ARGQUOTE)zipdist.bat $(VERSION)$(ARGQUOTE) | 286 | $(COMSPEC)$(ComSpec) /c $(ARGQUOTE)zipdist.bat $(VERSION)$(ARGQUOTE) |
| 274 | $(DEL_TREE) $(TMP_DIST_DIR) | 287 | $(DEL_TREE) $(TMP_DIST_DIR) |
| 275 | 288 | ||
diff --git a/nt/nmake.defs b/nt/nmake.defs index a143fe65fac..2cb3113ca9a 100644 --- a/nt/nmake.defs +++ b/nt/nmake.defs | |||
| @@ -203,6 +203,9 @@ DEBUG_LINK = -debug | |||
| 203 | D = d | 203 | D = d |
| 204 | !endif | 204 | !endif |
| 205 | 205 | ||
| 206 | # gcc-specific pragma (ignore for MSVC) | ||
| 207 | PRAGMA_SYSTEM_HEADER = | ||
| 208 | |||
| 206 | !if "$(ARCH)" == "i386" | 209 | !if "$(ARCH)" == "i386" |
| 207 | !ifdef NOOPT | 210 | !ifdef NOOPT |
| 208 | #ARCH_CFLAGS = -nologo -c -Zel -W2 -H63 -Od -G3d -Zp8 $(DEBUG_FLAG) | 211 | #ARCH_CFLAGS = -nologo -c -Zel -W2 -H63 -Od -G3d -Zp8 $(DEBUG_FLAG) |