summaryrefslogtreecommitdiffstats
path: root/Apache.dsp
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-08-16 08:25:43 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-08-16 08:25:43 +0200
commitad609460ecea8b5db8a3d80c39177e3e1bcc7a99 (patch)
tree9f0f56a3d2bb3211724978ff2ec44a5ff994ff7b /Apache.dsp
parent Picky versioning. Must have 1) a real language/charset in the versioning, (diff)
downloadapache2-ad609460ecea8b5db8a3d80c39177e3e1bcc7a99.tar.xz
apache2-ad609460ecea8b5db8a3d80c39177e3e1bcc7a99.zip
Autogen the win32 resource descriptor (icon + version) for Apache.exe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90199 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Apache.dsp')
-rw-r--r--Apache.dsp40
1 files changed, 36 insertions, 4 deletions
diff --git a/Apache.dsp b/Apache.dsp
index c3bd91aaea..d41c7fbf6a 100644
--- a/Apache.dsp
+++ b/Apache.dsp
@@ -49,8 +49,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /subsystem:console /incremental:no /map /machine:I386
-# ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /subsystem:console /incremental:no /map /machine:I386
+# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /subsystem:console /map /machine:I386
+# ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /subsystem:console /map /machine:I386
!ELSEIF "$(CFG)" == "Apache - Win32 Debug"
@@ -85,15 +85,47 @@ LINK32=link.exe
# Name "Apache - Win32 Debug"
# Begin Source File
-SOURCE=.\os\win32\apache.ico
+SOURCE=.\build\win32\Apache.ico
# End Source File
# Begin Source File
-SOURCE=.\os\win32\apache.rc
+SOURCE=.\build\win32\Apache.rc
+
# End Source File
# Begin Source File
SOURCE=.\server\main.c
# End Source File
+# Begin Source File
+
+SOURCE=.\build\win32\win32ver.awk
+
+!IF "$(CFG)" == "Apache - Win32 Release"
+
+# PROP Ignore_Default_Tool 1
+# Begin Custom Build - Creating Version Resource
+InputPath=.\build\win32\win32ver.awk
+
+".\build\win32\Apache.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ awk -f ./build/win32/win32ver.awk Apache "Apache http Server"\
+ ./include/ap_release.h icon=apache.ico > .\build\win32\Apache.rc
+
+# End Custom Build
+
+!ELSEIF "$(CFG)" == "Apache - Win32 Debug"
+
+# PROP Ignore_Default_Tool 1
+# Begin Custom Build - Creating Version Resource
+InputPath=.\build\win32\win32ver.awk
+
+".\build\win32\Apache.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ awk -f ./build/win32/win32ver.awk Apache "Apache http Server"\
+ ./include/ap_release.h icon=apache.ico > .\build\win32\Apache.rc
+
+# End Custom Build
+
+!ENDIF
+
+# End Source File
# End Target
# End Project