summaryrefslogtreecommitdiffstats
path: root/libhttpd.dsp
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-01-11 06:37:20 +0100
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-01-11 06:37:20 +0100
commit1fc3b015901d7530f3b2af5e69fa9d93c935ffb6 (patch)
treeb15968ea9be9c9a9674d3704f8b2e1480c563947 /libhttpd.dsp
parentAdd openssl.cnf since openssl will not run without one (explicitly (diff)
downloadapache2-1fc3b015901d7530f3b2af5e69fa9d93c935ffb6.tar.xz
apache2-1fc3b015901d7530f3b2af5e69fa9d93c935ffb6.zip
Embed the .manifest files of all httpd binaries as a post-build
operation. This ensures the exported (Studio 97 generated) .mak files create a usable Apache directly from the VC 8 (Studio 2005) command line environment. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@495126 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'libhttpd.dsp')
-rw-r--r--libhttpd.dsp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhttpd.dsp b/libhttpd.dsp
index 73bfdcc0d5..a04c2757b7 100644
--- a/libhttpd.dsp
+++ b/libhttpd.dsp
@@ -55,9 +55,12 @@ LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /subsystem:windows /dll
# ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib "Release\buildmark.obj" /nologo /subsystem:windows /dll /debug /base:@"os\win32\BaseAddr.ref",libhttpd.dll /opt:ref
# Begin Special Build Tool
+TargetPath=.\Release\libhttpd.dll
SOURCE="$(InputPath)"
PreLink_Desc=Compiling buildmark
PreLink_Cmds=cl.exe /nologo /MD /W3 /O2 /I "./include" /I "./srclib/apr/include" /I "./srclib/apr-util/include" /I "./srclib/pcre" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "PCRE_STATIC" /D "AP_DECLARE_EXPORT" /Fd"Release\libhttpd" /FD /c server\buildmark.c /Fo"Release\buildmark.obj"
+PostBuild_Desc=Embed .manifest
+PostBuild_Cmds=if exist $(TargetPath).manifest mt.exe -manifest $(TargetPath).manifest -outputresource:$(TargetPath);2
# End Special Build Tool
!ELSEIF "$(CFG)" == "libhttpd - Win32 Debug"
@@ -86,9 +89,12 @@ LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /subsystem:windows /dll /incremental:no /debug
# ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib "Debug\buildmark.obj" /nologo /subsystem:windows /dll /incremental:no /debug /base:@"os\win32\BaseAddr.ref",libhttpd.dll
# Begin Special Build Tool
+TargetPath=.\Debug\libhttpd.dll
SOURCE="$(InputPath)"
PreLink_Desc=Compiling buildmark
PreLink_Cmds=cl.exe /nologo /MDd /W3 /GX /Zi /Od /I "./include" /I "./srclib/apr/include" /I "./srclib/apr-util/include" /I "./srclib/pcre" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "PCRE_STATIC" /D "AP_DECLARE_EXPORT" /Fd"Debug\libhttpd" /FD /c server\buildmark.c /Fo"Debug\buildmark.obj"
+PostBuild_Desc=Embed .manifest
+PostBuild_Cmds=if exist $(TargetPath).manifest mt.exe -manifest $(TargetPath).manifest -outputresource:$(TargetPath);2
# End Special Build Tool
!ENDIF