Mercurial > hg > xemacs-beta
changeset 4603:202cb69c4d87
Support VS 2005 manifest files
author | Vin Shelton <acs@xemacs.org> |
---|---|
date | Thu, 05 Feb 2009 21:18:37 -0500 |
parents | aac2a827bb6b |
children | e0a8715fdb1f |
files | nt/ChangeLog nt/xemacs.mak |
diffstat | 2 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/nt/ChangeLog Wed Feb 04 20:56:31 2009 +0000 +++ b/nt/ChangeLog Thu Feb 05 21:18:37 2009 -0500 @@ -1,3 +1,7 @@ +2009-02-06 Vin Shelton <acs@xemacs.org> + + * xemacs.mak: Add support for Visual Studio 2005 manifests. + 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> * xemacs.mak (PROGRAM_DEFINES):
--- a/nt/xemacs.mak Wed Feb 04 20:56:31 2009 +0000 +++ b/nt/xemacs.mak Thu Feb 05 21:18:37 2009 -0500 @@ -1104,17 +1104,32 @@ # Inferred rule {$(LIB_SRC)}.c{$(BLDLIB_SRC)}.exe : $(CCV) $(LIB_SRC_CFLAGS) $(LINK_DEPENDENCY_ARGS) $(LINK_STANDARD_LIBRARY_ARGS) +# If we're using Visual Studio 2005 or greater, +# embed the manifest into the executable. +!if $(MSC_VER) >= 1400 + mt -manifest $@.manifest -outputresource:$@;1 +!endif # Individual dependencies ETAGS_DEPS = $(LIB_SRC)/getopt.c $(LIB_SRC)/getopt1.c $(SRC)/regex.c $(BLDLIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS) $(CCV) $(LIB_SRC_CFLAGS) $(LINK_DEPENDENCY_ARGS) -stack:0x800000 $(LINK_STANDARD_LIBRARY_ARGS) +# If we're using Visual Studio 2005 or greater, +# embed the manifest into the executable. +!if $(MSC_VER) >= 1400 + mt -manifest $@.manifest -outputresource:$@;1 +!endif $(BLDLIB_SRC)/movemail.exe : $(LIB_SRC)/movemail.c $(LIB_SRC)/pop.c $(ETAGS_DEPS) # Minitar uses zlib so just use cdecl to simplify things $(BLDLIB_SRC)/minitar.exe : $(NT)/minitar.c $(CCV) -I$(SRC) -I"$(ZLIB_DIR)" $(LIB_SRC_DEFINES) $(CFLAGS_CDECL_NO_LIB) -MD $(LINK_DEPENDENCY_ARGS) "$(ZLIB_DIR)\zlib.lib" +# If we're using Visual Studio 2005 or greater, +# embed the manifest into the executable. +!if $(MSC_VER) >= 1400 + mt -manifest $@.manifest -outputresource:$@;1 +!endif LIB_SRC_TOOLS = \ $(BLDLIB_SRC)/etags.exe \ @@ -1437,6 +1452,12 @@ $(XEMACS_LFLAGS) -section:.rsrc,rw -out:$(BLDSRC)\xemacs.exe $(TEMACS_OBJS) $(OUTDIR)\xemacs.res $(TEMACS_LIBS) $(OUTDIR)\dump-id.obj << -$(DEL) $(BLDSRC)\xemacs.dmp +# If we're using Visual Studio 2005 or greater, +# embed the manifest into the executable. +!if $(MSC_VER) >= 1400 + mt -manifest $@.manifest -outputresource:$@;1 +!endif + !endif ## (6) Update the remaining .elc's, post-dumping