From e681eb22c8668fc0f868e6b90c5dcad7e8c47a74 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 17 Feb 2005 23:45:16 +0000 Subject: Get httpd-2.1 building once again on win32. NEVER NEVER screw around with redeclaring AP_ macros and constants. If the compiler won't pick them up, e.g., AP_DECLARE, ya've done something wrong from the start. All httpd/ap headers depend on httpd.h - plain and simple, so this un-convolutes the unusual order here. STATIC has become PCRE_STATIC, along with some other odd definitions. The only remaining emit is that _pcre_free export is imported, which implies something is unusual with the declaration. Still researching. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154207 13f79535-47bb-0310-9956-ffa450edef68 --- libhttpd.dsp | 94 +++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 51 insertions(+), 43 deletions(-) (limited to 'libhttpd.dsp') diff --git a/libhttpd.dsp b/libhttpd.dsp index 906110f84a..f9ae046c40 100644 --- a/libhttpd.dsp +++ b/libhttpd.dsp @@ -43,7 +43,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MD /W3 /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "AP_DECLARE_EXPORT" /FD /c -# ADD CPP /nologo /MD /W3 /Zi /O2 /I "./include" /I "./srclib/apr/include" /I "./srclib/apr-util/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "AP_DECLARE_EXPORT" /Fd"Release\libhttpd_cl" /FD /c +# ADD CPP /nologo /MD /W3 /Zi /O2 /I "./include" /I "./srclib/apr/include" /I "./srclib/apr-util/include" /I "./srclib/pcre" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "AP_DECLARE_EXPORT" /Fd"Release\libhttpd_cl" /FD /c # ADD BASE MTL /nologo /D "NDEBUG" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD BASE RSC /l 0x409 /d "NDEBUG" @@ -53,11 +53,11 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /subsystem:windows /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib "Release\buildmark.obj" /nologo /subsystem:windows /dll /incremental:no /debug /machine:I386 /base:@"os\win32\BaseAddr.ref",libhttpd.dll /opt:ref +# ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib "Release\buildmark.obj" /nologo /subsystem:windows /dll /debug /machine:I386 /base:@"os\win32\BaseAddr.ref",libhttpd.dll /opt:ref # Begin Special Build Tool 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" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "AP_DECLARE_EXPORT" /Fd"Release\libhttpd" /FD /c server\buildmark.c /Fo"Release\buildmark.obj" +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 "AP_DECLARE_EXPORT" /Fd"Release\libhttpd" /FD /c server\buildmark.c /Fo"Release\buildmark.obj" # End Special Build Tool !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" @@ -74,7 +74,7 @@ PreLink_Cmds=cl.exe /nologo /MD /W3 /O2 /I "./include" /I "./srclib/apr/include" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "AP_DECLARE_EXPORT" /FD /c -# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "./include" /I "./srclib/apr/include" /I "./srclib/apr-util/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "AP_DECLARE_EXPORT" /Fd"Debug\libhttpd_cl" /FD /c +# ADD CPP /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 "AP_DECLARE_EXPORT" /Fd"Debug\libhttpd_cl" /FD /c # ADD BASE MTL /nologo /D "_DEBUG" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD BASE RSC /l 0x409 /d "_DEBUG" @@ -88,7 +88,7 @@ LINK32=link.exe # Begin Special Build Tool 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" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "AP_DECLARE_EXPORT" /Fd"Debug\libhttpd" /FD /c server\buildmark.c /Fo"Debug\buildmark.obj" +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 "AP_DECLARE_EXPORT" /Fd"Debug\libhttpd" /FD /c server\buildmark.c /Fo"Debug\buildmark.obj" # End Special Build Tool !ENDIF @@ -241,27 +241,27 @@ InputPath=.\modules\dav\main\mod_dav.h # End Source File # Begin Source File -SOURCE=.\modules\mappers\mod_so.h +SOURCE=.\modules\filters\mod_include.h !IF "$(CFG)" == "libhttpd - Win32 Release" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Creating include/mod_so.h -InputPath=.\modules\mappers\mod_so.h +# Begin Custom Build - Creating include/mod_include.h +InputPath=.\modules\filters\mod_include.h -".\include\mod_so.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type .\modules\mappers\mod_so.h > .\include\mod_so.h +".\include\mod_include.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + type .\modules\filters\mod_include.h > .\include\mod_include.h # End Custom Build !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Creating include/mod_so.h -InputPath=.\modules\mappers\mod_so.h +# Begin Custom Build - Creating include/mod_include.h +InputPath=.\modules\filters\mod_include.h -".\include\mod_so.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type .\modules\mappers\mod_so.h > .\include\mod_so.h +".\include\mod_include.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + type .\modules\filters\mod_include.h > .\include\mod_include.h # End Custom Build @@ -270,27 +270,27 @@ InputPath=.\modules\mappers\mod_so.h # End Source File # Begin Source File -SOURCE=.\modules\filters\mod_include.h +SOURCE=.\modules\proxy\mod_proxy.h !IF "$(CFG)" == "libhttpd - Win32 Release" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Creating include/mod_include.h -InputPath=.\modules\filters\mod_include.h +# Begin Custom Build - Creating include/mod_proxy.h +InputPath=.\modules\proxy\mod_proxy.h -".\include\mod_include.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type .\modules\filters\mod_include.h > .\include\mod_include.h +".\include\mod_proxy.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + type .\modules\proxy\mod_proxy.h > .\include\mod_proxy.h # End Custom Build !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Creating include/mod_include.h -InputPath=.\modules\filters\mod_include.h +# Begin Custom Build - Creating include/mod_proxy.h +InputPath=.\modules\proxy\mod_proxy.h -".\include\mod_include.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type .\modules\filters\mod_include.h > .\include\mod_include.h +".\include\mod_proxy.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + type .\modules\proxy\mod_proxy.h > .\include\mod_proxy.h # End Custom Build @@ -299,27 +299,27 @@ InputPath=.\modules\filters\mod_include.h # End Source File # Begin Source File -SOURCE=.\modules\proxy\mod_proxy.h +SOURCE=.\modules\mappers\mod_so.h !IF "$(CFG)" == "libhttpd - Win32 Release" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Creating include/mod_proxy.h -InputPath=.\modules\proxy\mod_proxy.h +# Begin Custom Build - Creating include/mod_so.h +InputPath=.\modules\mappers\mod_so.h -".\include\mod_proxy.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type .\modules\proxy\mod_proxy.h > .\include\mod_proxy.h +".\include\mod_so.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + type .\modules\mappers\mod_so.h > .\include\mod_so.h # End Custom Build !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" # PROP Ignore_Default_Tool 1 -# Begin Custom Build - Creating include/mod_proxy.h -InputPath=.\modules\proxy\mod_proxy.h +# Begin Custom Build - Creating include/mod_so.h +InputPath=.\modules\mappers\mod_so.h -".\include\mod_proxy.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type .\modules\proxy\mod_proxy.h > .\include\mod_proxy.h +".\include\mod_so.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + type .\modules\mappers\mod_so.h > .\include\mod_so.h # End Custom Build @@ -370,47 +370,47 @@ SOURCE=.\server\buildmark.c # End Source File # Begin Source File -SOURCE=.\server\config.c +SOURCE=.\modules\http\byterange_filter.c # End Source File # Begin Source File -SOURCE=.\server\connection.c +SOURCE=.\modules\http\chunk_filter.c # End Source File # Begin Source File -SOURCE=.\server\core.c +SOURCE=.\server\config.c # End Source File # Begin Source File -SOURCE=.\server\core_filters.c +SOURCE=.\server\connection.c # End Source File # Begin Source File -SOURCE=.\modules\http\http_core.c +SOURCE=.\server\core.c # End Source File # Begin Source File -SOURCE=.\modules\http\http_protocol.c +SOURCE=.\server\core_filters.c # End Source File # Begin Source File -SOURCE=.\modules\http\http_request.c +SOURCE=.\modules\http\http_core.c # End Source File # Begin Source File -SOURCE=.\modules\http\byterange_filter.c +SOURCE=.\modules\http\http_etag.c # End Source File # Begin Source File -SOURCE=.\modules\http\chunk_filter.c +SOURCE=.\modules\http\http_filters.c # End Source File # Begin Source File -SOURCE=.\modules\http\http_etag.c +SOURCE=.\modules\http\http_protocol.c # End Source File # Begin Source File -SOURCE=.\modules\http\http_filters.c +SOURCE=.\modules\http\http_request.c # End Source File # Begin Source File @@ -450,6 +450,10 @@ SOURCE=.\os\win32\modules.c # PROP Default_Filter "" # Begin Source File +SOURCE=.\include\ap_regex.h +# End Source File +# Begin Source File + SOURCE=.\server\eoc_bucket.c # End Source File # Begin Source File @@ -494,6 +498,10 @@ SOURCE=.\include\util_md5.h # End Source File # Begin Source File +SOURCE=.\server\util_pcre.c +# End Source File +# Begin Source File + SOURCE=.\server\util_script.c # End Source File # Begin Source File -- cgit v1.2.3