pcs 97/09/14 09:03:10
Modified: src ApacheCore.mak ApacheCore.dsp
Log:
ApacheCore's release build used the Debug build of ApacheOS. Fix it.
Not sure why MSVC made some many other changes to the .dsp file.
Revision Changes Path
1.18 +117 -52 apachen/src/ApacheCore.mak
Index: ApacheCore.mak
===================================================================
RCS file: /export/home/cvs/apachen/src/ApacheCore.mak,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ApacheCore.mak 1997/09/13 23:46:26 1.17
+++ ApacheCore.mak 1997/09/14 16:03:08 1.18
@@ -28,10 +28,6 @@
NULL=nul
!ENDIF
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
!IF "$(CFG)" == "ApacheCore - Win32 Release"
OUTDIR=.\CoreR
@@ -101,18 +97,52 @@
"$(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= \
LINK32=link.exe
-LINK32_FLAGS=os\win32\ApacheOSD\ApacheOS.lib regex\release\regex.lib\
+LINK32_FLAGS=os\win32\ApacheOSR\ApacheOS.lib regex\release\regex.lib\
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib\
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
wsock32.lib\
/nologo /subsystem:windows /dll /incremental:no
/pdb:"$(OUTDIR)\ApacheCore.pdb"\
@@ -284,12 +314,46 @@
"$(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= \
@@ -401,36 +465,6 @@
!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"
@@ -444,6 +478,7 @@
".\main\conf.h"\
".\main\httpd.h"\
".\main\multithread.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -482,6 +517,7 @@
".\main\conf.h"\
".\main\http_main.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -581,6 +617,7 @@
".\main\buff.h"\
".\main\conf.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -623,6 +660,7 @@
".\main\http_log.h"\
".\main\http_request.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -671,11 +709,13 @@
".\main\http_log.h"\
".\main\http_main.h"\
".\main\http_protocol.h"\
+ ".\main\http_request.h"\
".\main\httpd.h"\
".\main\md5.h"\
".\main\rfc1413.h"\
".\main\scoreboard.h"\
".\main\util_md5.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -726,7 +766,9 @@
".\main\http_config.h"\
".\main\http_core.h"\
".\main\http_log.h"\
+ ".\main\http_main.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -778,6 +820,7 @@
".\main\multithread.h"\
".\main\scoreboard.h"\
".\os\win32\getopt.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\os\win32\service.h"\
".\regex\regex.h"\
@@ -835,6 +878,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_date.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -887,6 +931,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\scoreboard.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -923,27 +968,22 @@
!ENDIF
SOURCE=.\main\md5c.c
-
-!IF "$(CFG)" == "ApacheCore - Win32 Release"
-
DEP_CPP_MD5C_=\
".\main\conf.h"\
".\main\md5.h"\
+ ".\os\win32\os.h"\
".\regex\regex.h"\
+!IF "$(CFG)" == "ApacheCore - Win32 Release"
+
+
"$(INTDIR)\md5c.obj" : $(SOURCE) $(DEP_CPP_MD5C_) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ApacheCore - Win32 Debug"
-DEP_CPP_MD5C_=\
- ".\main\conf.h"\
- ".\main\md5.h"\
- ".\os\win32\os.h"\
- ".\regex\regex.h"\
-
"$(INTDIR)\md5c.obj" "$(INTDIR)\md5c.sbr" : $(SOURCE) $(DEP_CPP_MD5C_)\
"$(INTDIR)"
@@ -965,6 +1005,7 @@
".\main\http_log.h"\
".\main\http_request.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1012,6 +1053,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1056,6 +1098,7 @@
".\main\conf.h"\
".\main\http_config.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1099,6 +1142,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1145,6 +1189,7 @@
".\main\http_log.h"\
".\main\http_protocol.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1192,6 +1237,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1243,6 +1289,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1294,6 +1341,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1338,6 +1386,7 @@
".\main\conf.h"\
".\main\http_config.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1376,6 +1425,7 @@
".\main\conf.h"\
".\main\http_config.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1420,6 +1470,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1470,6 +1521,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1519,6 +1571,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1562,7 +1615,9 @@
".\main\conf.h"\
".\main\http_config.h"\
".\main\http_core.h"\
+ ".\main\http_log.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1604,6 +1659,7 @@
".\main\http_config.h"\
".\main\httpd.h"\
".\modules\standard\mod_mime.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1647,6 +1703,7 @@
".\main\http_request.h"\
".\main\httpd.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1691,6 +1748,7 @@
".\main\http_core.h"\
".\main\http_log.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1731,6 +1789,7 @@
".\main\conf.h"\
".\main\http_config.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1769,6 +1828,7 @@
".\main\conf.h"\
".\main\http_config.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1804,6 +1864,7 @@
DEP_CPP_MULTI=\
".\main\conf.h"\
".\main\multithread.h"\
+ ".\os\win32\os.h"\
".\regex\regex.h"\
@@ -1861,6 +1922,7 @@
".\main\http_main.h"\
".\main\httpd.h"\
".\main\rfc1413.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1898,6 +1960,7 @@
DEP_CPP_SERVI=\
".\main\conf.h"\
".\main\multithread.h"\
+ ".\os\win32\os.h"\
".\os\win32\service.h"\
".\regex\regex.h"\
@@ -1933,6 +1996,7 @@
".\main\conf.h"\
".\main\http_conf_globals.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -1968,6 +2032,7 @@
DEP_CPP_UTIL_D=\
".\main\conf.h"\
".\main\util_date.h"\
+ ".\os\win32\os.h"\
".\regex\regex.h"\
@@ -2002,6 +2067,7 @@
".\main\httpd.h"\
".\main\md5.h"\
".\main\util_md5.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -2047,7 +2113,9 @@
".\main\http_protocol.h"\
".\main\http_request.h"\
".\main\httpd.h"\
+ ".\main\util_date.h"\
".\main\util_script.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
@@ -2085,25 +2153,21 @@
!ENDIF
SOURCE=.\main\util_snprintf.c
-
-!IF "$(CFG)" == "ApacheCore - Win32 Release"
-
DEP_CPP_UTIL_SN=\
".\main\conf.h"\
+ ".\os\win32\os.h"\
".\regex\regex.h"\
+!IF "$(CFG)" == "ApacheCore - Win32 Release"
+
+
"$(INTDIR)\util_snprintf.obj" : $(SOURCE) $(DEP_CPP_UTIL_SN) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ApacheCore - Win32 Debug"
-DEP_CPP_UTIL_SN=\
- ".\main\conf.h"\
- ".\os\win32\os.h"\
- ".\regex\regex.h"\
-
"$(INTDIR)\util_snprintf.obj" "$(INTDIR)\util_snprintf.sbr" :
$(SOURCE)\
$(DEP_CPP_UTIL_SN) "$(INTDIR)"
@@ -2121,6 +2185,7 @@
".\main\buff.h"\
".\main\conf.h"\
".\main\httpd.h"\
+ ".\os\win32\os.h"\
".\os\win32\readdir.h"\
".\regex\regex.h"\
1.11 +1 -1 apachen/src/ApacheCore.dsp
Index: ApacheCore.dsp
===================================================================
RCS file: /export/home/cvs/apachen/src/ApacheCore.dsp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ApacheCore.dsp 1997/09/13 23:46:25 1.10
+++ ApacheCore.dsp 1997/09/14 16:03:09 1.11
@@ -54,7 +54,7 @@
# ADD BSC32 /nologo
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 /machine:I386
-# ADD LINK32 os\win32\ApacheOSD\ApacheOS.lib regex\release\regex.lib
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib
/nologo /subsystem:windows /dll /machine:I386
+# ADD LINK32 os\win32\ApacheOSR\ApacheOS.lib regex\release\regex.lib
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib
/nologo /subsystem:windows /dll /machine:I386
!ELSEIF "$(CFG)" == "ApacheCore - Win32 Debug"