]> git.saurik.com Git - wxWidgets.git/commitdiff
Updated makefiles for VisualAge C++ V3.0
authorDavid Webster <Dave.Webster@bhmi.com>
Wed, 15 Sep 1999 21:56:39 +0000 (21:56 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Wed, 15 Sep 1999 21:56:39 +0000 (21:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/socket.cpp
src/makefile.va
src/makeva.env
src/os2/makefile.va

index 26bfa784b56c08cb9279d77850c2606ebff5741a..cc5c83e84f3c9fbfd56c8b6a9860ee6474fa56c2 100644 (file)
@@ -184,7 +184,7 @@ int wxSocketBase::DeferRead(char *buffer, wxUint32 nbytes)
   if (GSocket_Select(m_socket, GSOCK_INPUT_FLAG))
     DoDefer();
 
-  // Wait for buffer completion. 
+  // Wait for buffer completion.
   while (m_defer_buffer != NULL)
     wxYield();
 
@@ -313,7 +313,7 @@ wxSocketBase& wxSocketBase::ReadMsg(char* buffer, wxUint32 nbytes)
   else
     len2 = 0;
 
-  // The "len &&" in the following statements is necessary so 
+  // The "len &&" in the following statements is necessary so
   // that we don't attempt to read (and possibly hang the system)
   // if the message was zero bytes long
   if (len && Read(buffer, len).LastCount() != len)
@@ -400,7 +400,7 @@ int wxSocketBase::DeferWrite(const char *buffer, wxUint32 nbytes)
   if (GSocket_Select(m_socket, GSOCK_OUTPUT_FLAG))
     DoDefer();
 
-  // Wait for buffer completion. 
+  // Wait for buffer completion.
   while (m_defer_buffer != NULL)
     wxYield();
 
@@ -796,7 +796,7 @@ char *wxSocketBase::CallbackData(char *data)
 // wxSocketBase automatic notifier
 // --------------------------------------------------------------
 
-static void wx_socket_callback(GSocket *socket, GSocketEvent event, char *cdata)
+static void LINKAGEMODE wx_socket_callback(GSocket *socket, GSocketEvent event, char *cdata)
 {
   wxSocketBase *sckobj = (wxSocketBase *)cdata;
 
index fee49a8832adba4073bc6f8bff28e752e096375f..3dcfcfe104ab71b9044c5b6e1ce659e43a505076 100644 (file)
@@ -16,7 +16,7 @@
 #
 !include <makeva.env>
 
-THISDIR=$(WXWIN)\src
+THISDIR=$(WXDIR)\src
 
 all:
     cd os2
index bf84a13e540589e01ecac6325bb0a66722682d1f..f82e994c3a76253e4d0700ad071caca0b0874fbb 100644 (file)
@@ -13,6 +13,7 @@ SRCSUFF=cpp
 
 OS2FLAGS=/c /W3 /D__VISAGECPP__ /Ss /Q /N100
 OS2LINKFLAGS=/BASE:0x00010000 /PMTYPE:PM /NOE /NOD /ALIGN:16
+OS2LIBFLAGS=/NOL /NOE
 OS2LIBS=CPPOM30.lib CPPOOC3.LIB OS2386.LIB
 
 # Change this to your WXWIN directory
index c01477a0965b8a4dd503fc96fe99aac7fbcfb29a..785c8bd4806af8ac99040c2d67033844e9cd9c82 100644 (file)
@@ -22,6 +22,11 @@ LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
 DUMMYOBJ=$D\dummydll.obj
 !else
 LIBTARGET=$(WXLIB)
+COMTEMPTGT1=$(WXDIR)\lib\wxcom1.lib
+COMTEMPTGT2=$(WXDIR)\lib\wxcom2.lib
+GENTEMPTGT=$(WXDIR)\lib\wxgen.lib
+NONESTEMPTGT=$(WXDIR)\lib\wxnones.lib
+OS2TEMPTGT=$(WXDIR)\lib\wxos2.lib
 DUMMYOBJ=$D\dummy.obj
 !endif
 
@@ -83,7 +88,6 @@ GENERICOBJS= \
   ..\generic\$D\statusbr.obj \
   ..\generic\$D\tabg.obj \
   ..\generic\$D\textdlgg.obj \
-  ..\generic\$D\extdlgg.obj \
   ..\generic\$D\tipdlg.obj \
   ..\generic\$D\busyinfo.obj
 
@@ -92,6 +96,24 @@ GENERICOBJS= \
 #  ..\generic\$D\listctrl.obj \
 #  ..\generic\$D\notebook.obj \
 
+GENLIBOBJS= \
+  choicdgg.obj \
+  gridg.obj \
+  laywin.obj \
+  panelg.obj \
+  progdlgg.obj \
+  prop.obj \
+  propform.obj \
+  proplist.obj \
+  sashwin.obj \
+  scrolwin.obj \
+  splitter.obj \
+  statusbr.obj \
+  tabg.obj \
+  textdlgg.obj \
+  tipdlg.obj \
+  busyinfo.obj
+
 # These are generic things that don't need to be compiled on PM,
 # but sometimes it's useful to do so for testing purposes.
 NONESSENTIALOBJS= \
@@ -151,7 +173,6 @@ COMMONOBJS = \
   ..\common\$D\string.obj \
   ..\common\$D\socket.obj \
   ..\common\$D\sckaddr.obj \
-  ..\common\$D\sckint.obj \
   ..\common\$D\sckfile.obj \
   ..\common\$D\sckipc.obj \
   ..\common\$D\sckstrm.obj \
@@ -176,11 +197,88 @@ COMMONOBJS = \
   ..\common\$D\txtstrm.obj \
   ..\common\$D\wxchar.obj \
   ..\common\$D\unzip.obj \
-  ..\common\$D\zipstream.obj \
   ..\common\$D\filesys.obj \
   ..\common\$D\fs_inet.obj \
   ..\common\$D\fs_zip.obj
 
+COMLIBOBJS1 = \
+  cmndata.obj \
+  config.obj \
+  dcbase.obj \
+  db.obj \
+  dbtable.obj \
+  docview.obj \
+  docmdi.obj \
+  dynarray.obj \
+  dynlib.obj \
+  event.obj \
+  file.obj \
+  filefn.obj \
+  fileconf.obj \
+  framecmn.obj \
+  ftp.obj \
+  gdicmn.obj \
+  image.obj \
+  imagbmp.obj \
+  imagjpeg.obj \
+  imagpng.obj \
+  imaggif.obj \
+  intl.obj \
+  ipcbase.obj \
+  helpbase.obj \
+  layout.obj \
+  log.obj \
+  memory.obj \
+  mimetype.obj \
+  module.obj \
+  odbc.obj \
+  object.obj \
+  prntbase.obj \
+  resource.obj \
+  tbarbase.obj \
+  tbarsmpl.obj \
+  textfile.obj \
+  timercmn.obj \
+  utilscmn.obj \
+  validate.obj \
+  valgen.obj \
+  valtext.obj \
+  date.obj \
+  hash.obj \
+  list.obj \
+  paper.obj
+
+COMLIBOBJS2 = \
+  string.obj \
+  socket.obj \
+  sckaddr.obj \
+  sckfile.obj \
+  sckipc.obj \
+  sckstrm.obj \
+  url.obj \
+  http.obj \
+  protocol.obj \
+  time.obj \
+  tokenzr.obj \
+  wxexpr.obj \
+  y_tab.obj \
+  extended.obj \
+  process.obj \
+  wfstream.obj \
+  mstream.obj \
+  zstream.obj \
+  stream.obj \
+  datstrm.obj \
+  objstrm.obj \
+  variant.obj \
+  dlgcmn.obj \
+  wincmn.obj \
+  txtstrm.obj \
+  wxchar.obj \
+  unzip.obj \
+  filesys.obj \
+  fs_inet.obj \
+  fs_zip.obj
 
 OS2OBJS = \
   ..\os2\$D\dc.obj \
@@ -234,6 +332,103 @@ $(GENDIR)\$D:
 $(HTMLDIR)\$D:
     md $(HTMLDIR)\$D
 
+$(COMLIBOBJS1):
+  copy ..\common\$D\cmndata.obj
+  copy ..\common\$D\config.obj
+  copy ..\common\$D\dcbase.obj
+  copy ..\common\$D\db.obj
+  copy ..\common\$D\dbtable.obj
+  copy ..\common\$D\docview.obj
+  copy ..\common\$D\docmdi.obj
+  copy ..\common\$D\dynarray.obj
+  copy ..\common\$D\dynlib.obj
+  copy ..\common\$D\event.obj
+  copy ..\common\$D\file.obj
+  copy ..\common\$D\filefn.obj
+  copy ..\common\$D\fileconf.obj
+  copy ..\common\$D\framecmn.obj
+  copy ..\common\$D\ftp.obj
+  copy ..\common\$D\gdicmn.obj
+  copy ..\common\$D\image.obj
+  copy ..\common\$D\imagbmp.obj
+  copy ..\common\$D\imagjpeg.obj
+  copy ..\common\$D\imagpng.obj
+  copy ..\common\$D\imaggif.obj
+  copy ..\common\$D\intl.obj
+  copy ..\common\$D\ipcbase.obj
+  copy ..\common\$D\helpbase.obj
+  copy ..\common\$D\layout.obj
+  copy ..\common\$D\log.obj
+  copy ..\common\$D\memory.obj
+  copy ..\common\$D\mimetype.obj
+  copy ..\common\$D\module.obj
+  copy ..\common\$D\odbc.obj
+  copy ..\common\$D\object.obj
+  copy ..\common\$D\prntbase.obj
+  copy ..\common\$D\resource.obj
+  copy ..\common\$D\tbarbase.obj
+  copy ..\common\$D\tbarsmpl.obj
+  copy ..\common\$D\textfile.obj
+  copy ..\common\$D\timercmn.obj
+  copy ..\common\$D\utilscmn.obj
+  copy ..\common\$D\validate.obj
+  copy ..\common\$D\valgen.obj
+  copy ..\common\$D\valtext.obj
+  copy ..\common\$D\date.obj
+  copy ..\common\$D\hash.obj
+  copy ..\common\$D\list.obj
+  copy ..\common\$D\paper.obj
+
+$(COMLIBOBJS2):
+  copy ..\common\$D\string.obj
+  copy ..\common\$D\socket.obj
+  copy ..\common\$D\sckaddr.obj
+  copy ..\common\$D\sckfile.obj
+  copy ..\common\$D\sckipc.obj
+  copy ..\common\$D\sckstrm.obj
+  copy ..\common\$D\url.obj
+  copy ..\common\$D\http.obj
+  copy ..\common\$D\protocol.obj
+  copy ..\common\$D\time.obj
+  copy ..\common\$D\tokenzr.obj
+  copy ..\common\$D\wxexpr.obj
+  copy ..\common\$D\y_tab.obj
+  copy ..\common\$D\extended.obj
+  copy ..\common\$D\process.obj
+  copy ..\common\$D\wfstream.obj
+  copy ..\common\$D\mstream.obj
+  copy ..\common\$D\zstream.obj
+  copy ..\common\$D\stream.obj
+  copy ..\common\$D\datstrm.obj
+  copy ..\common\$D\objstrm.obj
+  copy ..\common\$D\variant.obj
+  copy ..\common\$D\dlgcmn.obj
+  copy ..\common\$D\wincmn.obj
+  copy ..\common\$D\txtstrm.obj
+  copy ..\common\$D\wxchar.obj
+  copy ..\common\$D\unzip.obj
+  copy ..\common\$D\filesys.obj
+  copy ..\common\$D\fs_inet.obj
+  copy ..\common\$D\fs_zip.obj
+
+$(GENLIBOBJS):
+  copy ..\generic\$D\choicdgg.obj
+  copy ..\generic\$D\gridg.obj
+  copy ..\generic\$D\laywin.obj
+  copy ..\generic\$D\panelg.obj
+  copy ..\generic\$D\progdlgg.obj
+  copy ..\generic\$D\prop.obj
+  copy ..\generic\$D\propform.obj
+  copy ..\generic\$D\proplist.obj
+  copy ..\generic\$D\sashwin.obj
+  copy ..\generic\$D\scrolwin.obj
+  copy ..\generic\$D\splitter.obj
+  copy ..\generic\$D\statusbr.obj
+  copy ..\generic\$D\tabg.obj
+  copy ..\generic\$D\textdlgg.obj
+  copy ..\generic\$D\tipdlg.obj
+  copy ..\generic\$D\busyinfo.obj
+
 # wxWindows library as DLL
 dll:
         nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
@@ -269,12 +464,60 @@ pch1:   dirs $(DUMMYOBJ)
 
 ### Static library
 
-$(WXDIR)\lib\wx.lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
+$(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
+ touch $(WXDIR)\lib\wxcom1.lib
+ del $(WXDIR)\lib\wxcom1.lib
+ ilib $(LIBFLAGS) $@ @<<
+    $**;
+<<
+
+$(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
+ touch $(WXDIR)\lib\wxcom2.lib
+ del $(WXDIR)\lib\wxcom2.lib
+ ilib $(LIBFLAGS) $@ @<<
+    $**;
+<<
+
+$(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
+ touch $(WXDIR)\lib\wxgen.lib
+ del $(WXDIR)\lib\wxgen.lib
+ ilib $(LIBFLAGS) $@ @<<
+    $**;
+<<
+ del *.obj
+
+$(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
+ touch $(WXDIR)\lib\wxnones.lib
+ del $(WXDIR)\lib\wxnones.lib
+ ilib $(LIBFLAGS) $@ @<<
+    $**;
+<<
+
+$(WXDIR)\lib\wxos2.lib: $(OS2OBJS)
+ touch $(WXDIR)\lib\wxos2.lib
+ del $(WXDIR)\lib\wxos2.lib
+ ilib $(LIBFLAGS) $@ @<<
+    $**;
+<<
+
+$(WXDIR)\lib\wx.lib: \
+  $D\dummy.obj \
+  $(COMTEMPTGT1) \
+  $(COMTEMPTGT2) \
+  $(GENTEMPTGT) \
+  $(NONESTEMPTGT) \
+  $(OS2TEMPTGT) \
+  $(PERIPH_LIBS)
  touch $(LIBTARGET)
  del $(LIBTARGET)
- ilib $(LINKFLAGS) $@ @<<
-    $**
+ ilib $(LIBFLAGS) $@ @<<
+    $**;
 <<
+  del $(COMTEMPTGT1)
+  del $(COMTEMPTGT2)
+  del $(GENTEMPTGT)
+  del $(NONESTEMPTGT)
+  del $(OS2TEMPTGT)
 
 !else