]> git.saurik.com Git - wxWidgets.git/commitdiff
Made wxSocket compile using makefiles; #ifdefed out <<, >> operators in stream.cpp
authorJulian Smart <julian@anthemion.co.uk>
Mon, 7 Sep 1998 07:58:29 +0000 (07:58 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 7 Sep 1998 07:58:29 +0000 (07:58 +0000)
for USE_SERIALL; included io.h for VC++ in socket.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 files changed:
distrib/msw/generic.rsp
include/wx/stream.h
samples/wxsocket/client.rc
samples/wxsocket/makefile.nt
samples/wxsocket/server.rc
src/common/http.cpp
src/common/objstrm.cpp
src/common/protocol.cpp
src/common/sckaddr.cpp
src/common/sckfile.cpp
src/common/sckipc.cpp
src/common/sckstrm.cpp
src/common/socket.cpp
src/common/stream.cpp
src/common/tokenzr.cpp
src/common/url.cpp
src/msw/makefile.nt

index f5059c95796504e3d26e5cc3f6c404162b9ae726..4ed0d3555cf6902cb32f55a1d96f981a4db3186e 100644 (file)
@@ -291,6 +291,15 @@ samples/dynamic/*.bmp
 samples/dynamic/*.rc
 samples/dynamic/*.wav
 
 samples/dynamic/*.rc
 samples/dynamic/*.wav
 
+samples/wxsocket/*.cpp
+samples/wxsocket/*.h
+samples/wxsocket/*.def
+samples/wxsocket/makefile*
+samples/wxsocket/*.xbm
+samples/wxsocket/*.xpm
+samples/wxsocket/*.ico
+samples/wxsocket/*.rc
+
 samples/bombs/*.cpp
 samples/bombs/*.h
 samples/bombs/*.def
 samples/bombs/*.cpp
 samples/bombs/*.h
 samples/bombs/*.def
index 428dbaab1f46636c26425466a6aeefc7ea2c926f..e23ef48a58f014e58332d0ce8049103c7063dbd2 100644 (file)
@@ -99,7 +99,9 @@ class WXDLLEXPORT wxInputStream {
   wxInputStream& operator>>(int& i);
   wxInputStream& operator>>(long& i);
   wxInputStream& operator>>(float& i);
   wxInputStream& operator>>(int& i);
   wxInputStream& operator>>(long& i);
   wxInputStream& operator>>(float& i);
+#if USE_SERIAL
   wxInputStream& operator>>(wxObject *& obj);
   wxInputStream& operator>>(wxObject *& obj);
+#endif
 
   wxInputStream& operator>>(unsigned char& c) { return operator>>((char&)c); }
   wxInputStream& operator>>(unsigned short& i) { return operator>>((short&)i); }
 
   wxInputStream& operator>>(unsigned char& c) { return operator>>((char&)c); }
   wxInputStream& operator>>(unsigned short& i) { return operator>>((short&)i); }
@@ -150,7 +152,9 @@ class WXDLLEXPORT wxOutputStream {
   wxOutputStream& operator<<(int i);
   wxOutputStream& operator<<(long i);
   wxOutputStream& operator<<(double f);
   wxOutputStream& operator<<(int i);
   wxOutputStream& operator<<(long i);
   wxOutputStream& operator<<(double f);
+#if USE_SERIAL
   wxOutputStream& operator<<(wxObject& obj);
   wxOutputStream& operator<<(wxObject& obj);
+#endif
 
   wxOutputStream& operator<<(float f) { return operator<<((double)f); }
   wxOutputStream& operator<<(unsigned char c) { return operator<<((char)c); }
 
   wxOutputStream& operator<<(float f) { return operator<<((double)f); }
   wxOutputStream& operator<<(unsigned char c) { return operator<<((char)c); }
index fbba8add6c7c2a60ba6effe11c51b68189dbc7af..f1579f657d1b775da06abf9cbaf3b71499362a1a 100644 (file)
@@ -1,3 +1,3 @@
 mondrian ICON mondrian.ico
 conn_icn ICON connect.ico
 mondrian ICON mondrian.ico
 conn_icn ICON connect.ico
-#include "wx.rc"
+#include "wx/msw/wx.rc"
index 06defd3923b54d41993ad289279a2d07a023f8c8..4bd3188caada7fc2f5b8080ff4ddfaa01bd85961 100644 (file)
@@ -7,21 +7,24 @@
 # "%W% %G%"
 #
 # Makefile : Builds wxSock library for Windows NT / Win95
 # "%W% %G%"
 #
 # Makefile : Builds wxSock library for Windows NT / Win95
-!include <..\..\..\src\ntwxwin.mak>
+
+EXTRALIBS=wsock32.lib
+
+!include <..\..\src\ntwxwin.mak>
 
 # Change WXDIR or WXWIN to wherever wxWindows is found
 #WXWIN = $(WX)
 
 # Change WXDIR or WXWIN to wherever wxWindows is found
 #WXWIN = $(WX)
-WXDIR = $(WXWIN)
-WXINC = $(WXDIR)\include\msw
-
-WXSOCKDIR = $(WXDIR)\contrib\wxsock
-WXSOCKINC = $(WXSOCKDIR)
-WXSOCKLIB = $(WXSOCKDIR)\lib\wxsock.lib $(WXSOCKDIR)\lib\zlib.lib
-INC=-I$(WXBASEINC) -I$(WXINC) -I$(WXSOCKINC)
+#WXDIR = $(WXWIN)
+#WXINC = $(WXDIR)\include\msw
 
 
-WXLIB = $(WXDIR)\lib\wx.lib
+#WXSOCKDIR = $(WXDIR)\contrib\wxsock
+#WXSOCKINC = $(WXSOCKDIR)
+#WXSOCKLIB = $(WXSOCKDIR)\lib\wxsock.lib $(WXSOCKDIR)\lib\zlib.lib
 
 
-LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS)
+#INC=-I$(WXBASEINC) -I$(WXINC) # -I$(WXSOCKINC)
+#WXLIB = $(WXDIR)\lib\wx.lib
+#LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS)
+#LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS)
 #LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell
 
 all: client.exe server.exe
 #LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell
 
 all: client.exe server.exe
@@ -31,19 +34,19 @@ wx:
         nmake -f makefile.nt
        cd $(ITSYDIR)
 
         nmake -f makefile.nt
        cd $(ITSYDIR)
 
-client.exe:      $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(WXSTRINGLIB) client.obj\
+client.exe:      $(WXDIR)\src\msw\dummy.obj $(WXLIB) client.obj\
                  client.res
        $(link) -out:client.exe $(LINKFLAGS) $(DUMMYOBJ) client.obj \
                                 client.res $(LIBS)
 
                  client.res
        $(link) -out:client.exe $(LINKFLAGS) $(DUMMYOBJ) client.obj \
                                 client.res $(LIBS)
 
-server.exe:      $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(WXSTRINGLIB) server.obj
+server.exe:      $(WXDIR)\src\msw\dummy.obj $(WXLIB) server.obj
        $(link) -out:server.exe $(LINKFLAGS) $(DUMMYOBJ) server.obj $(LIBS)
 
 client.obj:      client.$(SRCSUFF)
        $(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
 
        $(link) -out:server.exe $(LINKFLAGS) $(DUMMYOBJ) server.obj $(LIBS)
 
 client.obj:      client.$(SRCSUFF)
        $(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
 
-client.res:      client.rc $(WXDIR)\include\msw\wx.rc
-        $(rc) -r /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa -fo$@ client.rc
+client.res:      client.rc $(WXDIR)\include\wx\msw\wx.rc
+        $(rc) -r /i$(WXDIR)\include -fo$@ client.rc
 
 
 server.obj:      server.$(SRCSUFF)
 
 
 server.obj:      server.$(SRCSUFF)
index 44854d6660edb4929077353356aa58a65ab1bdac..b289ec6ad9cb748866256d8cb73a689d7cc3d037 100644 (file)
@@ -1,4 +1,4 @@
 mondrian ICON "mondrian.ico"
 conn_icn ICON "connect.ico"
 mondrian ICON "mondrian.ico"
 conn_icn ICON "connect.ico"
-#include "wx.rc"
+#include "wx/msw/wx.rc"
 
 
index 4f90e220e902a5f44075caa68e5232c9a76db737..dd848b7a05c5bf1ba2df54824db7b07c4747bf3f 100644 (file)
 #pragma implementation "http.h"
 #endif
 
 #pragma implementation "http.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include "wx/string.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include "wx/string.h"
 #include "wx/protocol/http.h"
 #include "wx/sckstrm.h"
 
 #include "wx/protocol/http.h"
 #include "wx/sckstrm.h"
 
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxHTTP, wxProtocol)
 IMPLEMENT_PROTOCOL(wxHTTP, "http", "80", TRUE)
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxHTTP, wxProtocol)
 IMPLEMENT_PROTOCOL(wxHTTP, "http", "80", TRUE)
index 2bb34f1c593c81784950bcd39e8191243972d0ff..b7beef3b716b1d101ba1330d4636794a8ca5b366 100644 (file)
 #pragma implementation "objstrm.h"
 #endif
 
 #pragma implementation "objstrm.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#include "wx/defs.h"
+#include "wx/setup.h"
+#endif
+
+#if USE_SERIAL
+
 #include "wx/object.h"
 #include "wx/objstrm.h"
 #include "wx/datstrm.h"
 #include "wx/object.h"
 #include "wx/objstrm.h"
 #include "wx/datstrm.h"
@@ -310,3 +324,6 @@ wxObject *wxObjectInputStream::LoadObject()
 
   return object;
 }
 
   return object;
 }
+
+#endif
+
index 21df7e8997284e0fed06df95342a78d3e5cd476c..b9cbcb8634ec949bed83a6f155a54a10f2c340eb 100644 (file)
 #pragma implementation "protocol.h"
 #endif
 
 #pragma implementation "protocol.h"
 #endif
 
-#ifdef WXPREC
-#include <wx/wxprec.h>
-#else
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
 #include <wx/wx.h>
 #endif
 
 #include "wx/protocol/protocol.h"
 #include "wx/url.h"
 
 #include <wx/wx.h>
 #endif
 
 #include "wx/protocol/protocol.h"
 #include "wx/url.h"
 
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
 /////////////////////////////////////////////////////////////////
 // wxProtoInfo
 /////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////
 // wxProtoInfo
 /////////////////////////////////////////////////////////////////
index 55a9521b6e73bf38e641df65a4493e70c5bbaae1..90117044f747205326371810e8bead0612ade68a 100644 (file)
 #pragma implementation "sckaddr.h"
 #endif
 
 #pragma implementation "sckaddr.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
 
 #include "wx/sckaddr.h"
 
 
 #include "wx/sckaddr.h"
 
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
 #define CHECK_ADDRTYPE(var, type)
 
 #if !USE_SHARED_LIBRARY
 #define CHECK_ADDRTYPE(var, type)
 
 #if !USE_SHARED_LIBRARY
index b1e60ae4eb2aa0caaf9c93af2434f8d48ecb3ee0..41686d09d8d808c7d93798f53c92cc2c389a6153 100644 (file)
 #ifdef __GNUG__
 #pragma implementation "sckfile.h"
 #endif
 #ifdef __GNUG__
 #pragma implementation "sckfile.h"
 #endif
-#include <stdio.h>
-#include <stdlib.h>
-#include <wx/fstream.h>
-#include "wx/protocol/file.h"
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
 
 #ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
+#ifndef WX_PRECOMP
+#endif
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <wx/fstream.h>
+#include "wx/protocol/file.h"
+
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxFileProto, wxProtocol)
 IMPLEMENT_PROTOCOL(wxFileProto, "file", NULL, FALSE)
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxFileProto, wxProtocol)
 IMPLEMENT_PROTOCOL(wxFileProto, "file", NULL, FALSE)
index 55fcb3104bd01e34ecd048fd674e32200300c691..4532de83a86e227316aa1f76921f187e22ebaa95 100644 (file)
 #pragma implementation "sckipc.h"
 #endif
 
 #pragma implementation "sckipc.h"
 #endif
 
-#include <stdlib.h>
-#include <stdio.h>
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
 
-#ifdef WXPREC
-#include <wx/wxprec.h>
-#else
-#include <wx/wx.h>
+#ifdef __BORLANDC__
+#pragma hdrstop
 #endif
 
 #endif
 
+#ifndef WX_PRECOMP
+#endif
+
+#include <stdlib.h>
+#include <stdio.h>
+
 #include "wx/socket.h"
 #include "wx/sckipc.h"
 
 #include "wx/socket.h"
 #include "wx/sckipc.h"
 
index c0846c46aae239699675810fde43529ee00d09f0..9224fe1765b6a623187303ca4286d381b08cca5e 100644 (file)
 #pragma implementation "sckstrm.h"
 #endif
 
 #pragma implementation "sckstrm.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#endif
+
 #include "wx/stream.h"
 #include "wx/socket.h"
 #include "wx/sckstrm.h"
 #include "wx/stream.h"
 #include "wx/socket.h"
 #include "wx/sckstrm.h"
index f880c2d6e5e6236498912feebd0fa4084e5a1088..aa8a18a6b5725bb2e59f1d5c4c9ed6fc0d789aaa 100644 (file)
 #pragma implementation "socket.cpp"
 #endif
 
 #pragma implementation "socket.cpp"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
 /////////////////////////////////////////////////////////////////////////////
 // wxWindows headers
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
 // wxWindows headers
 /////////////////////////////////////////////////////////////////////////////
 #include <signal.h>
 #include <errno.h>
 
 #include <signal.h>
 #include <errno.h>
 
+#ifdef _MSC_VER
+#include <io.h>
+#endif
+
 #if defined(__WXMOTIF__) || defined(__WXXT__)
 #include <X11/Intrinsic.h>
 
 #if defined(__WXMOTIF__) || defined(__WXXT__)
 #include <X11/Intrinsic.h>
 
 #include "wx/sckaddr.h"
 #include "wx/socket.h"
 
 #include "wx/sckaddr.h"
 #include "wx/socket.h"
 
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
 /////////////////////////////////////////////////////////////////////////////
 // Some patch ///// BEGIN
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
 // Some patch ///// BEGIN
 /////////////////////////////////////////////////////////////////////////////
index d546ab473f105de674d389e5d20b18e70a39afe6..1b0e66c82e04fe62c60f3f2429ce43890f2ae7a7 100644 (file)
@@ -363,12 +363,14 @@ wxInputStream& wxInputStream::operator>>(float& f)
   return *this;
 }
 
   return *this;
 }
 
+#if USE_SERIAL
 wxInputStream& wxInputStream::operator>>(wxObject *& obj)
 {
   wxObjectInputStream obj_s(*this);
   obj = obj_s.LoadObject();
   return *this;
 }
 wxInputStream& wxInputStream::operator>>(wxObject *& obj)
 {
   wxObjectInputStream obj_s(*this);
   obj = obj_s.LoadObject();
   return *this;
 }
+#endif
 
 off_t wxInputStream::SeekI(off_t pos, wxSeekMode mode)
 {
 
 off_t wxInputStream::SeekI(off_t pos, wxSeekMode mode)
 {
@@ -542,12 +544,14 @@ wxOutputStream& wxOutputStream::operator<<(double f)
   return Write(strfloat, strfloat.Len());
 }
 
   return Write(strfloat, strfloat.Len());
 }
 
+#if USE_SERIAL
 wxOutputStream& wxOutputStream::operator<<(wxObject& obj)
 {
   wxObjectOutputStream obj_s(*this);
   obj_s.SaveObject(obj);
   return *this;
 }
 wxOutputStream& wxOutputStream::operator<<(wxObject& obj)
 {
   wxObjectOutputStream obj_s(*this);
   obj_s.SaveObject(obj);
   return *this;
 }
+#endif
 
 // ----------------------------------------------------------------------------
 // wxStream
 
 // ----------------------------------------------------------------------------
 // wxStream
index eb992377113bf19e711d9f2a2b8b9eb9af21398e..9fb4a543809c7f8af44a20531aa4f82b017a809c 100644 (file)
 #pragma implementation "tokenzr.h"
 #endif
 
 #pragma implementation "tokenzr.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#endif
+
 #include "wx/object.h"
 #include "wx/string.h"
 #include "wx/tokenzr.h"
 #include "wx/object.h"
 #include "wx/string.h"
 #include "wx/tokenzr.h"
index 39ad2b6d93fa979f4b2a480478a9d3ea27c8dad3..180511941c955e6e0925c209fc0725939e1351e8 100644 (file)
 #ifdef __GNUG__
 #pragma implementation "url.h"
 #endif
 #ifdef __GNUG__
 #pragma implementation "url.h"
 #endif
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#endif
+
 #include <string.h>
 #include <ctype.h>
 
 #include <string.h>
 #include <ctype.h>
 
 // wxSocket header
 #include "wx/url.h"
 
 // wxSocket header
 #include "wx/url.h"
 
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_CLASS(wxProtoInfo, wxObject)
 IMPLEMENT_CLASS(wxURL, wxObject)
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_CLASS(wxProtoInfo, wxObject)
 IMPLEMENT_CLASS(wxURL, wxObject)
@@ -133,7 +140,7 @@ bool wxURL::PrepHost(wxString& url)
 {
   int pos, pos2;
 
 {
   int pos, pos2;
 
-  if ((url[0UL] != '/') || (url[1UL] != '/'))
+  if ((url.GetChar(0) != '/') || (url.GetChar(1) != '/'))
     return FALSE;
 
   url = url(2, url.Length());
     return FALSE;
 
   url = url(2, url.Length());
index 90c5eabfb6aaec3e271871e8b276bc453ca15fcf..cb546731b93a90b610352ca84bef3ecb7364a8c3 100644 (file)
@@ -108,7 +108,16 @@ COMMONOBJS = \
   $(COMMDIR)\hash.obj \
   $(COMMDIR)\list.obj \
   $(COMMDIR)\string.obj \
   $(COMMDIR)\hash.obj \
   $(COMMDIR)\list.obj \
   $(COMMDIR)\string.obj \
+  $(COMMDIR)\socket.obj \
+  $(COMMDIR)\sckaddr.obj \
+  $(COMMDIR)\sckfile.obj \
+  $(COMMDIR)\sckipc.obj \
+  $(COMMDIR)\sckstrm.obj \
+  $(COMMDIR)\url.obj \
+  $(COMMDIR)\http.obj \
+  $(COMMDIR)\protocol.obj \
   $(COMMDIR)\time.obj \
   $(COMMDIR)\time.obj \
+  $(COMMDIR)\tokenzr.obj \
   $(COMMDIR)\wxexpr.obj \
   $(COMMDIR)\y_tab.obj \
   $(COMMDIR)\extended.obj \
   $(COMMDIR)\wxexpr.obj \
   $(COMMDIR)\y_tab.obj \
   $(COMMDIR)\extended.obj \
@@ -118,6 +127,7 @@ COMMONOBJS = \
   $(COMMDIR)\zstream.obj \
   $(COMMDIR)\stream.obj \
   $(COMMDIR)\datstrm.obj \
   $(COMMDIR)\zstream.obj \
   $(COMMDIR)\stream.obj \
   $(COMMDIR)\datstrm.obj \
+  $(COMMDIR)\objstrm.obj \
   $(COMMDIR)\wincmn.obj
 
 MSWOBJS = \
   $(COMMDIR)\wincmn.obj
 
 MSWOBJS = \
@@ -914,6 +924,51 @@ $(COMMDIR)/string.obj:     $*.$(SRCSUFF)
 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
 <<
 
 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
 <<
 
+$(COMMDIR)/socket.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
+$(COMMDIR)/sckaddr.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
+$(COMMDIR)/sckfile.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
+$(COMMDIR)/sckipc.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
+$(COMMDIR)/sckstrm.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
+$(COMMDIR)/url.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
+$(COMMDIR)/http.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
+$(COMMDIR)/protocol.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
+$(COMMDIR)/tokenzr.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
 $(COMMDIR)/matrix.obj:     $*.$(SRCSUFF)
         cl @<<
 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
 $(COMMDIR)/matrix.obj:     $*.$(SRCSUFF)
         cl @<<
 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
@@ -959,9 +1014,14 @@ $(COMMDIR)\datstrm.obj:     $*.$(SRCSUFF)
 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
 <<
 
 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
 <<
 
+$(COMMDIR)\objstrm.obj:     $*.$(SRCSUFF)
+        cl @<<
+$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
+<<
+
 $(COMMDIR)/extended.obj:     $*.c
         cl @<<
 $(COMMDIR)/extended.obj:     $*.c
         cl @<<
-$(CPPFLAGS2) /c /Tp $*.c /Fo$@
+$(CPPFLAGS2) /c $*.c /Fo$@
 <<
 
 $(COMMDIR)/process.obj:     $*.$(SRCSUFF)
 <<
 
 $(COMMDIR)/process.obj:     $*.$(SRCSUFF)