diff options
author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2006-12-07 21:56:20 +0000 |
---|---|---|
committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2006-12-07 21:56:20 +0000 |
commit | de72ef9370c7a4982d420569e5c43f12c553ebf0 (patch) | |
tree | 4868c06e1bd898e131b7823174048cee9a82a6f5 /src/config | |
parent | 3d22bd77a212fc75d49495476f5d08d76be2f313 (diff) | |
download | krb5-de72ef9370c7a4982d420569e5c43f12c553ebf0.zip krb5-de72ef9370c7a4982d420569e5c43f12c553ebf0.tar.gz krb5-de72ef9370c7a4982d420569e5c43f12c553ebf0.tar.bz2 |
Modifications to support the generation and embedding
of library manifests into generated EXEs and DLLs.
Manifests are required for Windows XP and above when
applications are built with Microsoft Visual Studio 2005
(aka VS8) or above.
ticket: 3642
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18930 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/win-post.in | 1 | ||||
-rw-r--r-- | src/config/win-pre.in | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/config/win-post.in b/src/config/win-post.in index a568bf9..fd874ae 100644 --- a/src/config/win-post.in +++ b/src/config/win-post.in @@ -107,4 +107,5 @@ clean-windows-files:: $(RM) .\$(OUTPRE)*.lib .\$(OUTPRE)*.pdb $(RM) .\$(OUTPRE)*.exp .\$(OUTPRE)*.map $(RM) .\$(OUTPRE)*.idb .\$(OUTPRE)*.ilk + $(RM) .\$(OUTPRE)*.manifest !endif diff --git a/src/config/win-pre.in b/src/config/win-pre.in index 2f8b0da..7cadbe9 100644 --- a/src/config/win-pre.in +++ b/src/config/win-pre.in @@ -144,6 +144,13 @@ SCLIB= DEBUGOPT=/ZI !endif +#if the compiler is vstudio 8, generate manifest +!if exists("$(VCINSTALLDIR)\..\..\MICROSOFT VISUAL STUDIO 8") +CCLINKOPTION = $(CCLINKOPTION) /MANIFEST +_VC_MANIFEST_EMBED_EXE = if exist $*.exe.manifest mt.exe -manifest $*.exe.manifest -outputresource:$*.exe;1 +_VC_MANIFEST_EMBED_DLL = if exist $*.dll.manifest mt.exe -manifest $*.dll.manifest -outputresource:$*.dll;2 +!endif + # /ZI gives better debug info in each object file (MSVC 6.0 or higher). # /Zi gives debug info in each object file. # /Gs Avoid stack probes (they don't seem to work anyway) |