summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregg Lewis Smith <gsmith@apache.org>2012-12-09 09:46:47 +0000
committerGregg Lewis Smith <gsmith@apache.org>2012-12-09 09:46:47 +0000
commit3e8254fb4c097e1b6f377a3dcab34057e26375ed (patch)
tree69233053bff85c4255e20cdf2f62dd0883537019
parent792ada06d412953c58e06d2f6c86aa7a2c71acfd (diff)
downloadhttpd-3e8254fb4c097e1b6f377a3dcab34057e26375ed.tar.gz
Add mod_allowhandlers to Windows build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1418867 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--Apache-apr2.dsw21
-rw-r--r--Apache.dsw24
-rw-r--r--Makefile.win2
-rw-r--r--build/installwinconf.awk1
-rw-r--r--modules/aaa/mod_allowhandlers.dsp111
-rw-r--r--os/win32/BaseAddr.ref1
6 files changed, 160 insertions, 0 deletions
diff --git a/Apache-apr2.dsw b/Apache-apr2.dsw
index 502caea0f2..55c0ab9e50 100644
--- a/Apache-apr2.dsw
+++ b/Apache-apr2.dsw
@@ -99,6 +99,9 @@ Package=<4>
Project_Dep_Name mod_alias
End Project Dependency
Begin Project Dependency
+ Project_Dep_Name mod_allowhandlers
+ End Project Dependency
+ Begin Project Dependency
Project_Dep_Name mod_allowmethods
End Project Dependency
Begin Project Dependency
@@ -792,6 +795,24 @@ Package=<4>
###############################################################################
+Project: "mod_allowhandlers"=.\modules\aaa\mod_allowhandlers.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name libapr
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libhttpd
+ End Project Dependency
+}}}
+
+###############################################################################
+
Project: "mod_allowmethods"=.\modules\aaa\mod_allowmethods.dsp - Package Owner=<4>
Package=<5>
diff --git a/Apache.dsw b/Apache.dsw
index c7c6081760..b733b3d771 100644
--- a/Apache.dsw
+++ b/Apache.dsw
@@ -111,6 +111,9 @@ Package=<4>
Project_Dep_Name mod_alias
End Project Dependency
Begin Project Dependency
+ Project_Dep_Name mod_allowhandlers
+ End Project Dependency
+ Begin Project Dependency
Project_Dep_Name mod_allowmethods
End Project Dependency
Begin Project Dependency
@@ -966,6 +969,27 @@ Package=<4>
###############################################################################
+Project: "mod_allowhandlers"=.\modules\aaa\mod_allowhandlers.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name libapr
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libaprutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libhttpd
+ End Project Dependency
+}}}
+
+###############################################################################
+
Project: "mod_allowmethods"=.\modules\aaa\mod_allowmethods.dsp - Package Owner=<4>
Package=<5>
diff --git a/Makefile.win b/Makefile.win
index ecc0734f03..b81517431a 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -408,6 +408,7 @@ _build:
cd ..\..
cd modules\aaa
$(MAKE) $(MAKEOPT) -f mod_access_compat.mak CFG="mod_access_compat - Win32 $(LONG)" RECURSE=0 $(CTARGET)
+ $(MAKE) $(MAKEOPT) -f mod_allowhandlers.mak CFG="mod_allowhandlers - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_allowmethods.mak CFG="mod_allowmethods - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_auth_basic.mak CFG="mod_auth_basic - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_auth_digest.mak CFG="mod_auth_digest - Win32 $(LONG)" RECURSE=0 $(CTARGET)
@@ -700,6 +701,7 @@ _copybin:
!ENDIF
copy srclib\pcre\pcre.$(src_dll) "$(inst_dll)" <.y
copy modules\aaa\$(LONG)\mod_access_compat.$(src_so) "$(inst_so)" <.y
+ copy modules\aaa\$(LONG)\mod_allowhandlers.$(src_so) "$(inst_so)" <.y
copy modules\aaa\$(LONG)\mod_allowmethods.$(src_so) "$(inst_so)" <.y
copy modules\aaa\$(LONG)\mod_auth_basic.$(src_so) "$(inst_so)" <.y
copy modules\aaa\$(LONG)\mod_auth_digest.$(src_so) "$(inst_so)" <.y
diff --git a/build/installwinconf.awk b/build/installwinconf.awk
index dd81076933..b00a270b99 100644
--- a/build/installwinconf.awk
+++ b/build/installwinconf.awk
@@ -96,6 +96,7 @@ BEGIN {
print "LoadModule access_compat_module modules/mod_access_compat.so" > dstfl;
print "LoadModule actions_module modules/mod_actions.so" > dstfl;
print "LoadModule alias_module modules/mod_alias.so" > dstfl;
+ print "#LoadModule allowhandlers_module modules/mod_allowhandlers.so" > dstfl;
print "LoadModule allowmethods_module modules/mod_allowmethods.so" > dstfl;
print "LoadModule asis_module modules/mod_asis.so" > dstfl;
print "LoadModule auth_basic_module modules/mod_auth_basic.so" > dstfl;
diff --git a/modules/aaa/mod_allowhandlers.dsp b/modules/aaa/mod_allowhandlers.dsp
new file mode 100644
index 0000000000..52f605ab30
--- /dev/null
+++ b/modules/aaa/mod_allowhandlers.dsp
@@ -0,0 +1,111 @@
+# Microsoft Developer Studio Project File - Name="mod_allowhandlers" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=mod_allowhandlers - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "mod_allowhandlers.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "mod_allowhandlers.mak" CFG="mod_allowhandlers - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "mod_allowhandlers - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "mod_allowhandlers - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "mod_allowhandlers - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c
+# ADD CPP /nologo /MD /W3 /O2 /Oy- /Zi /I "../../include" /I "../../srclib/apr/include" /I "../../srclib/apr-util/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fd"Release\mod_allowhandlers_src" /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /fo"Release/mod_allowhandlers.res" /i "../../include" /i "../../srclib/apr/include" /d "NDEBUG" /d BIN_NAME="mod_allowhandlers.so" /d LONG_NAME="allowhandlers_module for Apache"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib /nologo /subsystem:windows /dll /out:".\Release\mod_allowhandlers.so" /base:@..\..\os\win32\BaseAddr.ref,mod_allowhandlers.so
+# ADD LINK32 kernel32.lib /nologo /subsystem:windows /dll /incremental:no /debug /out:".\Release\mod_allowhandlers.so" /base:@..\..\os\win32\BaseAddr.ref,mod_allowhandlers.so /opt:ref
+# Begin Special Build Tool
+TargetPath=.\Release\mod_allowhandlers.so
+SOURCE="$(InputPath)"
+PostBuild_Desc=Embed .manifest
+PostBuild_Cmds=if exist $(TargetPath).manifest mt.exe -manifest $(TargetPath).manifest -outputresource:$(TargetPath);2
+# End Special Build Tool
+
+!ELSEIF "$(CFG)" == "mod_allowhandlers - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MDd /W3 /EHsc /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c
+# ADD CPP /nologo /MDd /W3 /EHsc /Zi /Od /I "../../include" /I "../../srclib/apr/include" /I "../../srclib/apr-util/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /Fd"Debug\mod_allowhandlers_src" /FD /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /fo"Debug/mod_allowhandlers.res" /i "../../include" /i "../../srclib/apr/include" /d "_DEBUG" /d BIN_NAME="mod_allowhandlers.so" /d LONG_NAME="allowhandlers_module for Apache"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib /nologo /subsystem:windows /dll /incremental:no /debug /out:".\Debug\mod_allowhandlers.so" /base:@..\..\os\win32\BaseAddr.ref,mod_allowhandlers.so
+# ADD LINK32 kernel32.lib /nologo /subsystem:windows /dll /incremental:no /debug /out:".\Debug\mod_allowhandlers.so" /base:@..\..\os\win32\BaseAddr.ref,mod_allowhandlers.so
+# Begin Special Build Tool
+TargetPath=.\Debug\mod_allowhandlers.so
+SOURCE="$(InputPath)"
+PostBuild_Desc=Embed .manifest
+PostBuild_Cmds=if exist $(TargetPath).manifest mt.exe -manifest $(TargetPath).manifest -outputresource:$(TargetPath);2
+# End Special Build Tool
+
+!ENDIF
+
+# Begin Target
+
+# Name "mod_allowhandlers - Win32 Release"
+# Name "mod_allowhandlers - Win32 Debug"
+# Begin Source File
+
+SOURCE=.\mod_allowhandlers.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\build\win32\httpd.rc
+# End Source File
+# End Target
+# End Project
diff --git a/os/win32/BaseAddr.ref b/os/win32/BaseAddr.ref
index 47293bd1c3..5589d74a16 100644
--- a/os/win32/BaseAddr.ref
+++ b/os/win32/BaseAddr.ref
@@ -120,3 +120,4 @@ mod_xml2enc.so 0x6F720000 0x00010000
mod_data.so 0x6F710000 0x00010000
mod_allowmethods.so 0x6F700000 0x00010000
mod_cache_socache.so 0x6F6F0000 0x00010000
+mod_allowhandlers.so 0x6F6E0000 0x00010000