summaryrefslogtreecommitdiffstats
path: root/Makefile.win
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2006-04-30 08:21:41 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2006-04-30 08:21:41 +0200
commitc3777100f0df6e8798b248b7369df4a07841c782 (patch)
tree7ffa7df55232c41d89af1e6f977337e98d48cefd /Makefile.win
parentRemove GENURI.nlm from the prebuild target (diff)
downloadapache2-c3777100f0df6e8798b248b7369df4a07841c782.tar.xz
apache2-c3777100f0df6e8798b248b7369df4a07841c782.zip
Fix two common overrides required for Win32
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@398284 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.win')
-rw-r--r--Makefile.win9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.win b/Makefile.win
index d12741a0b5..428e9d38c8 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -15,6 +15,7 @@
# Option Default
# INSTDIR \Apache2
# PORT 80
+# SSLPORT 443
# SERVERNAME localhost
#
# For example;
@@ -112,12 +113,18 @@ SERVERNAME=localhost
!IF "$(PORT)" == ""
PORT=80
!ENDIF
+!IF "$(SSLPORT)" == ""
+SSLPORT=443
+!ENDIF
!IF "$(LONG)" == ""
!MESSAGE
!MESSAGE INSTDIR = $(INSTDIR)
!MESSAGE SERVERNAME = $(SERVERNAME)
!MESSAGE PORT = $(PORT)
+!IF EXIST("srclib\openssl")
+!MESSAGE SSLPORT = $(SSLPORT)
+!ENDIF
!MESSAGE
!MESSAGE To change these options use 'nmake -f Makefile.win [option=value]'
!MESSAGE Example: nmake -f Makefile.win PORT=8080
@@ -741,6 +748,8 @@ BEGIN {
}
{
gsub( /@@ServerRoot@@/, serverroot );
+ gsub( /443/, "$(SSLPORT)" );
+ gsub( /SSLMutex file:@exp_runtimedir@\/ssl_mutex/, "SSLMutex default" );
gsub( /@exp_runtimedir@/, "logs" );
gsub( /@exp_htdocsdir@/, serverroot "/htdocs" );
gsub( /@exp_logfiledir@/, "logs" );