ben 97/09/13 16:46:31
Modified: src ApacheCore.dsp ApacheCore.mak src/main conf.h src/os/win32 ApacheOS.dsp ApacheOS.mak Log: Use os.h in its original place. Revision Changes Path 1.10 +4 -0 apachen/src/ApacheCore.dsp Index: ApacheCore.dsp =================================================================== RCS file: /export/home/cvs/apachen/src/ApacheCore.dsp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ApacheCore.dsp 1997/09/12 08:05:41 1.9 +++ ApacheCore.dsp 1997/09/13 23:46:25 1.10 @@ -337,6 +337,10 @@ # End Source File # Begin Source File +SOURCE=.\os\win32\os.h +# End Source File +# Begin Source File + SOURCE=.\os\win32\readdir.h # End Source File # Begin Source File 1.17 +72 -106 apachen/src/ApacheCore.mak Index: ApacheCore.mak =================================================================== RCS file: /export/home/cvs/apachen/src/ApacheCore.mak,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- ApacheCore.mak 1997/09/13 23:10:47 1.16 +++ ApacheCore.mak 1997/09/13 23:46:26 1.17 @@ -28,6 +28,10 @@ NULL=nul !ENDIF +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + !IF "$(CFG)" == "ApacheCore - Win32 Release" OUTDIR=.\CoreR @@ -97,46 +101,12 @@ "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" -CPP=cl.exe CPP_PROJ=/nologo /MD /W3 /GX /O2 /I ".\regex" /I ".\main" /D "WIN32" /D\ "NDEBUG" /D "_WINDOWS" /Fp"$(INTDIR)\ApacheCore.pch" /YX /Fo"$(INTDIR)\\"\ /Fd"$(INTDIR)\\" /FD /c CPP_OBJS=.\CoreR/ CPP_SBRS=. - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -MTL=midl.exe MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe BSC32=bscmake.exe BSC32_FLAGS=/nologo /o"$(OUTDIR)\ApacheCore.bsc" BSC32_SBRS= \ @@ -314,46 +284,12 @@ "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" -CPP=cl.exe CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I ".\regex" /I ".\main" /D "WIN32"\ /D "_DEBUG" /D "_WINDOWS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\ApacheCore.pch" /YX\ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c CPP_OBJS=.\CoreD/ CPP_SBRS=.\CoreD/ - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -MTL=midl.exe MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe BSC32=bscmake.exe BSC32_FLAGS=/nologo /o"$(OUTDIR)\ApacheCore.bsc" BSC32_SBRS= \ @@ -465,6 +401,36 @@ !ENDIF +.c{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.c{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + !IF "$(CFG)" == "ApacheCore - Win32 Release" || "$(CFG)" ==\ "ApacheCore - Win32 Debug" @@ -494,7 +460,7 @@ ".\main\conf.h"\ ".\main\httpd.h"\ ".\main\multithread.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -532,7 +498,7 @@ ".\main\conf.h"\ ".\main\http_main.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -630,7 +596,7 @@ ".\main\buff.h"\ ".\main\conf.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -678,7 +644,7 @@ ".\main\http_log.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -734,10 +700,10 @@ ".\main\http_request.h"\ ".\main\httpd.h"\ ".\main\md5.h"\ - ".\main\os.h"\ ".\main\rfc1413.h"\ ".\main\scoreboard.h"\ ".\main\util_md5.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -780,7 +746,7 @@ ".\main\http_log.h"\ ".\main\http_main.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -837,9 +803,9 @@ ".\main\http_request.h"\ ".\main\httpd.h"\ ".\main\multithread.h"\ - ".\main\os.h"\ ".\main\scoreboard.h"\ ".\os\win32\getopt.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\os\win32\service.h"\ ".\regex\regex.h"\ @@ -891,8 +857,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_date.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -943,8 +909,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\scoreboard.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -975,7 +941,7 @@ DEP_CPP_MD5C_=\ ".\main\conf.h"\ ".\main\md5.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\regex\regex.h"\ @@ -1018,7 +984,7 @@ ".\main\http_log.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1067,8 +1033,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1106,7 +1072,7 @@ ".\main\conf.h"\ ".\main\http_config.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1153,8 +1119,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1198,7 +1164,7 @@ ".\main\http_log.h"\ ".\main\http_protocol.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1247,8 +1213,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1299,8 +1265,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1349,8 +1315,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1388,7 +1354,7 @@ ".\main\conf.h"\ ".\main\http_config.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1426,7 +1392,7 @@ ".\main\conf.h"\ ".\main\http_config.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1475,8 +1441,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1525,8 +1491,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1573,8 +1539,8 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1615,7 +1581,7 @@ ".\main\http_core.h"\ ".\main\http_log.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1654,8 +1620,8 @@ ".\main\conf.h"\ ".\main\http_config.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\modules\standard\mod_mime.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1700,8 +1666,8 @@ ".\main\http_log.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1743,7 +1709,7 @@ ".\main\http_core.h"\ ".\main\http_log.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1781,7 +1747,7 @@ ".\main\conf.h"\ ".\main\http_config.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1819,7 +1785,7 @@ ".\main\conf.h"\ ".\main\http_config.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1850,7 +1816,7 @@ DEP_CPP_MULTI=\ ".\main\conf.h"\ ".\main\multithread.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\regex\regex.h"\ @@ -1912,8 +1878,8 @@ ".\main\http_log.h"\ ".\main\http_main.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\rfc1413.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -1945,7 +1911,7 @@ DEP_CPP_SERVI=\ ".\main\conf.h"\ ".\main\multithread.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\service.h"\ ".\regex\regex.h"\ @@ -1983,7 +1949,7 @@ ".\main\conf.h"\ ".\main\http_conf_globals.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -2013,8 +1979,8 @@ DEP_CPP_UTIL_D=\ ".\main\conf.h"\ - ".\main\os.h"\ ".\main\util_date.h"\ + ".\os\win32\os.h"\ ".\regex\regex.h"\ @@ -2052,8 +2018,8 @@ ".\main\conf.h"\ ".\main\httpd.h"\ ".\main\md5.h"\ - ".\main\os.h"\ ".\main\util_md5.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -2104,9 +2070,9 @@ ".\main\http_protocol.h"\ ".\main\http_request.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ ".\main\util_date.h"\ ".\main\util_script.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ @@ -2135,7 +2101,7 @@ DEP_CPP_UTIL_SN=\ ".\main\conf.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\regex\regex.h"\ @@ -2170,7 +2136,7 @@ ".\main\buff.h"\ ".\main\conf.h"\ ".\main\httpd.h"\ - ".\main\os.h"\ + ".\os\win32\os.h"\ ".\os\win32\readdir.h"\ ".\regex\regex.h"\ 1.137 +3 -1 apachen/src/main/conf.h Index: conf.h =================================================================== RCS file: /export/home/cvs/apachen/src/main/conf.h,v retrieving revision 1.136 retrieving revision 1.137 diff -u -r1.136 -r1.137 --- conf.h 1997/09/12 20:13:07 1.136 +++ conf.h 1997/09/13 23:46:28 1.137 @@ -56,7 +56,9 @@ */ -#include "os.h" +#ifdef WIN32 +#include "../os/win32/os.h" +#endif #if !defined(QNX) && !defined(MPE) && !defined(WIN32) #include <sys/param.h> 1.2 +0 -9 apachen/src/os/win32/ApacheOS.dsp Index: ApacheOS.dsp =================================================================== RCS file: /export/home/cvs/apachen/src/os/win32/ApacheOS.dsp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ApacheOS.dsp 1997/09/12 08:03:50 1.1 +++ ApacheOS.dsp 1997/09/13 23:46:29 1.2 @@ -89,15 +89,6 @@ LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept -# Begin Custom Build - Copy os.h to main -ProjDir=. -InputPath=.\ApacheOSD\ApacheOS.dll -SOURCE=$(InputPath) - -"$(ProjDir)\..\..\main\os.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - COPY os.h $(ProjDir)\..\..\main - -# End Custom Build !ENDIF 1.2 +2 -11 apachen/src/os/win32/ApacheOS.mak Index: ApacheOS.mak =================================================================== RCS file: /export/home/cvs/apachen/src/os/win32/ApacheOS.mak,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ApacheOS.mak 1997/09/12 08:03:50 1.1 +++ ApacheOS.mak 1997/09/13 23:46:30 1.2 @@ -97,16 +97,15 @@ INTDIR=.\ApacheOSD # Begin Custom Macros OutDir=.\ApacheOSD -ProjDir=. # End Custom Macros !IF "$(RECURSE)" == "0" -ALL : "$(OUTDIR)\ApacheOS.dll" "$(ProjDir)\..\..\main\os.h" +ALL : "$(OUTDIR)\ApacheOS.dll" !ELSE -ALL : "$(OUTDIR)\ApacheOS.dll" "$(ProjDir)\..\..\main\os.h" +ALL : "$(OUTDIR)\ApacheOS.dll" !ENDIF @@ -119,7 +118,6 @@ [EMAIL PROTECTED] "$(OUTDIR)\ApacheOS.ilk" [EMAIL PROTECTED] "$(OUTDIR)\ApacheOS.lib" [EMAIL PROTECTED] "$(OUTDIR)\ApacheOS.pdb" - [EMAIL PROTECTED] "$(ProjDir)\..\..\main\os.h" "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" @@ -146,13 +144,6 @@ $(LINK32) @<< $(LINK32_FLAGS) $(LINK32_OBJS) << - -ProjDir=. -InputPath=.\ApacheOSD\ApacheOS.dll -SOURCE=$(InputPath) - -"$(ProjDir)\..\..\main\os.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - COPY os.h $(ProjDir)\..\..\main !ENDIF