samples/wxsocket/*.h
samples/wxsocket/*.def
samples/wxsocket/makefile*
+samples/wxsocket/client.wat
+samples/wxsocket/server.wat
samples/wxsocket/*.xbm
samples/wxsocket/*.xpm
samples/wxsocket/*.ico
src/xpm/*.c
src/xpm/*.h
+src/xpm/makefile*
src/xpm/changes
src/xpm/readme
src/xpm/readme.msw
sends an OnIdle event to each application window, allowing windows to do idle processing such as updating
their appearance. If either wxApp::OnIdle or a window OnIdle function requested more time, by
caling \helpref{wxIdleEvent::ReqestMore}{wxidleeventrequestmore}, wxWindows will send another OnIdle
-event to the application event. This will occur in a loop until either a user event is found to be
+event to the application object. This will occur in a loop until either a user event is found to be
pending, or OnIdle requests no more time. Then all pending user events are processed until the system
goes idle again, when OnIdle is called, and so on.
wxWindows is a C++ framework providing GUI (Graphical User
Interface) and other facilities on more than one platform. Version 2.0 currently
-supports subsets MS Windows (16-bit, Windows 95 and Windows NT) and GTK+, with Motif
+supports MS Windows (16-bit, Windows 95 and Windows NT) and GTK+, with Motif
and Mac ports in an advanced state.
wxWindows was originally developed at the Artificial Intelligence
wxWindows was developed to provide a cheap and flexible way to maximize
investment in GUI application development. While a number of commercial
-class libraries already exist for cross-platform development,
+class libraries already existed for cross-platform development,
none met all of the following criteria:
\begin{enumerate}\itemsep=0pt
\item support for a wide range of compilers.
\end{enumerate}
+Since wxWindows was started, several other free or almost-free GUI frameworks have
+emerged. However, none has the range of features, flexibility, documentation and the
+well-established development team that wxWindows has.
+
As public domain software and a project open to everyone, wxWindows has
benefited from comments, ideas, bug fixes, enhancements and the sheer
enthusiasm of users, especially via the Internet. This gives wxWindows a
-certain advantage over its commercial brothers, and a robustness against
+certain advantage over its commercial competitors (and over free libraries
+without an independent development team), plus a robustness against
the transience of one individual or company. This openness and
availability of source code is especially important when the future of
thousands of lines of application code may depend upon the longevity of
the underlying class library.
-In writing wxWindows, completeness has sometimes been traded for
-portability and simplicity of programming. Version 2.0 goes much
-further than previous versions in terms of generality and features,
+Version 2.0 goes much further than previous versions in terms of generality and features,
allowing applications to be produced
that are often indistinguishable from those produced using single-platform
-toolkits
-such as Motif and MFC.
+toolkits such as Motif and MFC.
The importance of using a platform-independent class library cannot be
overstated, since GUI application development is very time-consuming,
Code can very quickly become obsolete if it addresses the wrong
platform or audience. wxWindows helps to insulate the programmer from
these winds of change. Although wxWindows may not be suitable for
-every application, it provides access to most of the functionality a
-GUI program normally requires, plus some extras such as form
-construction, interprocess communication and PostScript output, and
-can of course be extended as needs dictate. As a bonus, it provides
+every application (such as an OLE-intensive program), it provides access to most of the functionality a
+GUI program normally requires, plus some extras such as network programming
+and PostScript output, and can of course be extended as needs dictate. As a bonus, it provides
a cleaner programming interface than the native
APIs. Programmers may find it worthwhile to use wxWindows even if they
are developing on only one platform.
\begin{itemize}\itemsep=0pt
\item Low cost (free, in fact!)
\item You get the source.
+\item Available on a variety of popular platforms.
+\item Works with almost all popular C++ compilers.
\item Several example programs.
\item Over 700 pages of printable and on-line documentation.
+\item Includes Tex2RTF, to allow you to produce your own documentation
+in Windows Help, HTML and Word RTF formats.
\item Simple-to-use, object-oriented API.
-\item Graphics calls include splines, polylines, rounded rectangles, etc.
+\item Flexible event system.
+\item Graphics calls include lines, rounded rectangles, splines, polylines, etc.
\item Constraint-based layout option.
\item Print/preview and document/view architectures.
-\item Status line facility, toolbar
-\item Encapsulated PostScript generation under Unix, normal MS Windows printing on the
+\item Toolbar, notebook, tree control, advanced list control classes.
+\item PostScript generation under Unix, normal MS Windows printing on the
PC.
\item MDI (Multiple Document Interface) support.
\item Can be used to create DLLs under Windows, dynamic libraries on Unix.
them to the clipboard.
\item An API for invoking help from applications.
\item Dialog Editor for building dialogs.
-\item Socket support.
+\item Network support via a family of socket and protocol classes.
\end{itemize}
\section{Changes from version 1.xx}\label{versionchanges}
\begin{enumerate}\itemsep=0pt
\item A 486 or higher PC running MS Windows.
-\item One of Microsoft Visual C++ 4.0 or higher, Borland C++, Gnu-Win32.
+\item A Windows compiler: most are supported, but please see {\tt install.txt} for
+details. Supported compilers include Microsoft Visual C++ 4.0 or higher, Borland C++, Cygwin,
+Metrowerks CodeWarrior.
\item At least 60 MB of disk space.
\end{enumerate}
Some compilers, such as Borland C++ and Microsoft C++, support
precompiled headers. This can save a great deal of compiling time. The
-recommended approach is to precompile {\tt ``wx.h''}, using this
+recommended approach is to precompile {\tt "wx.h"}, using this
precompiled header for compiling both wxWindows itself and any
wxWindows applications. For Windows compilers, two dummy source files
are provided (one for normal applications and one for creating DLLs)
is that to take advantage of the facility, you often need to include
more header files than would normally be the case. This means that
changing a header file will cause more recompilations (in the case of
-wxWindows, everything needs to be recompiled since everything includes
-{\tt ``wx.h''}!)
+wxWindows, everything needs to be recompiled since everything includes {\tt "wx.h"}!)
A related problem is that for compilers that don't have precompiled
headers, including a lot of header files slows down compilation
A number of `extras' are supplied with wxWindows, to complement
the GUI functionality in the main class library. These are found
below the utils directory and usually have their own source, library
-and documentation directories. For larger user-contributed packages,
-see the directory /pub/packages/wxwin/contrib.
+and documentation directories. For other user-contributed packages,
+see the directory ftp://www.remstar.com/pub/wxwin/contrib, which is
+more easily accessed via the Contributions page on the Web site.
\section{wxHelp}\label{wxhelp}
Don't use absolute panel item positioning if you can avoid it. Different GUIs have
very differently sized panel items. Consider using the constraint system, although this
-can be complex to program. If you needs are simple, the default relative positioning
-behaviour may be adequate (using default position values and wxPanel::NewLine).
+can be complex to program.
Alternatively, you could use alternative .wrc (wxWindows resource files) on different
platforms, with slightly different dimensions in each. Or space your panel items out
\membersection{::wxStripMenuCodes}
-\func{void}{wxStripMenuCodes}{\param{const wxString\& }{in}, \param{const wxString\& }{out}}
+\func{wxString}{wxStripMenuCodes}{\param{const wxString\& }{in}}
+
+\func{void}{wxStripMenuCodes}{\param{char* }{in}, \param{char* }{out}}
Strips any menu codes from {\it in} and places the result
-in {\it out}. Menu codes include \& (mark the next character with an underline
+in {\it out} (or returns the new string, in the first form).
+
+Menu codes include \& (mark the next character with an underline
as a keyboard shortkey in Windows and Motif) and $\backslash$t (tab in Windows).
\membersection{::wxStartTimer}\label{wxstarttimer}
\section{\class{wxStringList}}\label{wxstringlist}
-A string list is a list which is assumed to contain strings, with a
-specific member functions. Memory is allocated when strings are added to
+A string list is a list which is assumed to contain strings.
+Memory is allocated when strings are added to
the list, and deallocated by the destructor or by the {\bf Delete}\rtfsp
member.
Returns the index of the first item matched, or NOT\_FOUND.
-\membersection{wxString::Insert}\label{wxstringInsert}
-
-\func{void}{Insert}{\param{const wxString\&}{ str}, \param{uint}{ index}}
-
-Add new element at the given position.
-
+% TODO
+%\membersection{wxString::insert}\label{wxstringinsert}
+% Wrong!
+%\func{void}{insert}{\param{const wxString\&}{ str}, \param{uint}{ index}}
+%
+%Add new element at the given position.
+%
\membersection{wxString::IsAscii}\label{wxstringIsAscii}
\constfunc{bool}{IsAscii}{\void}
Watcom C++ 10.6 compilation
---------------------------
-Currently under construction, but so far we have:
-
1. Make sure your WXWIN variable is set, and uses the FAT (short
name) form.
2. Change directory to wx\src\msw. Type 'wmake -f makefile.wat' to
make the wxWindows core library.
3. Change directory to wx\samples\minimal and type 'wmake -f makefile.wat'
- to make this sample. There are a lot of link errors at this
- point, so can anyone help work out what I've done wrong?
+ to make this sample.
Metrowerks CodeWarrior compilation
----------------------------------
Extend wxSystemSettings to get symbols for current nationality,
e.g. ',' instead of '.' for decimal points.
+Supply correct ctl3d/odbc lib files for BC++, Watcom (corrupt?)
+
LOW PRIORITY (MEDIUM TERM)
--------------------------
General ToDo
------------
-- Write this ToDo list :-)
-
Please see also:
docs/gtk/todo.txt
docs/motif/todo.txt
docs/msw/todo.txt
+- Suggestion from Janos Vegh: the memory-checking classes could
+ also keep return the size of memory currently allocated, with
+ a call to return it e.g. int wxDebugContext::GetMemoryUsed().
+ Maybe even an optional window in debug mode with a tally of memory
+ usage, how many classes of each kind are in use, etc.? That
+ would be neat.
+
+- Documentation: mention include files with each class.
+
+- Complete this ToDo list :-)
+
+
// accessors: set/get the item associated with this node
void SetId(const wxTreeItemId& id) { m_itemId = id; }
+#ifdef __WATCOMC__
+ const wxTreeItemId GetId() const { return m_itemId; }
+#else
const wxTreeItemId& GetId() const { return (wxTreeItemId&) m_itemId; }
+#endif
};
// ----------------------------------------------------------------------------
~wxFTP();
bool Close();
- bool Connect(wxSockAddress& addr);
+ bool Connect(wxSockAddress& addr, bool wait = TRUE);
bool Connect(const wxString& host);
void SetUser(const wxString& user) { m_user = user; }
~wxHTTP();
bool Connect(const wxString& host);
- bool Connect(wxSockAddress& addr);
+ bool Connect(wxSockAddress& addr, bool wait);
bool Abort();
wxInputStream *GetInputStream(const wxString& path);
inline wxProtocolError GetError() { return m_perr; }
wxProtocol();
bool Reconnect();
- virtual bool Connect( const wxString& WXUNUSED(host) ) { return FALSE; }
- virtual bool Connect( wxSockAddress& addr) { return wxSocketClient::Connect(addr); }
+ virtual bool Connect( const wxString& WXUNUSED(host) ) { return FALSE; }
+ virtual bool Connect( wxSockAddress& addr, bool WXUNUSED(wait) = TRUE) { return wxSocketClient::Connect(addr); }
virtual bool Abort() = 0;
virtual wxInputStream *GetInputStream(const wxString& path) = 0;
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
WXDIR = $(%WXWIN)
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = checklst
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = conftest
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = controls
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = dbtest
+OBJECTS = $(PROGRAM).obj listdb.obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = dialogs
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = dnd
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
-WXDIR = ..\..
+WXDIR = $(%WXWIN)
-!include $(WXDIR)\src\makewat.env
+PROGRAM = docview
+OBJECTS = $(PROGRAM).obj view.obj doc.obj
-WXLIB = $(WXDIR)\lib
-NAME = docview
-LNK = $(name).lnk
-OBJS = $(name).obj doc.obj view.obj
+!include $(WXDIR)\src\makeprog.wat
-all: $(name).exe
-
-$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
- wlink @$(LNK)
- $(BINDCOMMAND) $(name).res
-
-$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
- $(RC) $(RESFLAGS1) $(name).rc
-
-$(LNK) : makefile.wat
- %create $(LNK)
- @%append $(LNK) debug all
- @%append $(LNK) system $(LINKOPTION)
- @%append $(LNK) $(MINDATA)
- @%append $(LNK) $(MAXDATA)
- @%append $(LNK) $(STACK)
- @%append $(LNK) name $(name)
- @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
- @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
- @for %i in ($(OBJS)) do @%append $(LNK) file %i
-
-thing: .SYMBOLIC
- echo $(WATLIBDIR)
-
-clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = docview
+OBJECTS = $(PROGRAM).obj view.obj doc.obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = forty
+OBJECTS = $(PROGRAM).obj canvas.obj card.obj game.obj pile.obj playerdg.obj scoredg.obj scorefil.obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
WXDIR = $(%WXWIN)
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = test
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = demo
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = image
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
-WXDIR = ..\..
+WXDIR = $(%WXWIN)
-!include $(WXDIR)\src\makewat.env
+PROGRAM = internat
+OBJECTS = $(PROGRAM).obj
-WXLIB = $(WXDIR)\lib
-NAME = minimal
-LNK = $(name).lnk
-OBJS = $(name).obj
+!include $(WXDIR)\src\makeprog.wat
-all: $(name).exe
-
-$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
- wlink @$(LNK)
- $(BINDCOMMAND) $(name).res
-
-$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
- $(RC) $(RESFLAGS1) $(name).rc
-
-$(LNK) : makefile.wat
- %create $(LNK)
- @%append $(LNK) debug all
- @%append $(LNK) system $(LINKOPTION)
- @%append $(LNK) $(MINDATA)
- @%append $(LNK) $(MAXDATA)
- @%append $(LNK) $(STACK)
- @%append $(LNK) name $(name)
- @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
- @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
- @for %i in ($(OBJS)) do @%append $(LNK) file %i
-
-thing: .SYMBOLIC
- echo $(WATLIBDIR)
-
-clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
-WXDIR = ..\..
+WXDIR = $(%WXWIN)
-!include $(WXDIR)\src\makewat.env
+PROGRAM = joytest
+OBJECTS = $(PROGRAM).obj
-WXLIB = $(WXDIR)\lib
-NAME = joytest
-LNK = $(name).lnk
-OBJS = $(name).obj
+!include $(WXDIR)\src\makeprog.wat
-all: $(name).exe
-
-$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
- wlink @$(LNK)
- $(BINDCOMMAND) $(name).res
-
-$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
- $(RC) $(RESFLAGS1) $(name).rc
-
-$(LNK) : makefile.wat
- %create $(LNK)
- @%append $(LNK) debug all
- @%append $(LNK) system $(LINKOPTION)
- @%append $(LNK) $(MINDATA)
- @%append $(LNK) $(MAXDATA)
- @%append $(LNK) $(STACK)
- @%append $(LNK) name $(name)
- @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
- @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
- @for %i in ($(OBJS)) do @%append $(LNK) file %i
-
-thing: .SYMBOLIC
- echo $(WATLIBDIR)
-
-clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
-WXDIR = ..\..
+WXDIR = $(%WXWIN)
-!include $(WXDIR)\src\makewat.env
+PROGRAM = layout
+OBJECTS = $(PROGRAM).obj
-WXLIB = $(WXDIR)\lib
-NAME = layout
-LNK = $(name).lnk
-OBJS = $(name).obj
-
-all: $(name).exe
-
-$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
- wlink @$(LNK)
- $(BINDCOMMAND) $(name).res
-
-$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
- $(RC) $(RESFLAGS1) $(name).rc
-
-$(LNK) : makefile.wat
- %create $(LNK)
- @%append $(LNK) debug all
- @%append $(LNK) system $(LINKOPTION)
- @%append $(LNK) $(MINDATA)
- @%append $(LNK) $(MAXDATA)
- @%append $(LNK) $(STACK)
- @%append $(LNK) name $(name)
- @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
- @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
- @for %i in ($(OBJS)) do @%append $(LNK) file %i
-
-thing: .SYMBOLIC
- echo $(WATLIBDIR)
-
-clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
+!include $(WXDIR)\src\makeprog.wat
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = listtest
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
-WXDIR = ..\..
+WXDIR = $(%WXWIN)
-!include $(WXDIR)\src\makewat.env
+PROGRAM = mdi
+OBJECTS = $(PROGRAM).obj
-WXLIB = $(WXDIR)\lib
-NAME = mdi
-LNK = $(name).lnk
-OBJS = $(name).obj
+!include $(WXDIR)\src\makeprog.wat
-all: $(name).exe
-
-$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
- wlink @$(LNK)
- $(BINDCOMMAND) $(name).res
-
-$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
- $(RC) $(RESFLAGS1) $(name).rc
-
-$(LNK) : makefile.wat
- %create $(LNK)
- @%append $(LNK) debug all
- @%append $(LNK) system $(LINKOPTION)
- @%append $(LNK) $(MINDATA)
- @%append $(LNK) $(MAXDATA)
- @%append $(LNK) $(STACK)
- @%append $(LNK) name $(name)
- @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
- @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
- @for %i in ($(OBJS)) do @%append $(LNK) file %i
-
-thing: .SYMBOLIC
- echo $(WATLIBDIR)
-
-clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
-WXDIR = ..\..
+WXDIR = $(%WXWIN)
-!include $(WXDIR)\src\makewat.env
+PROGRAM = memcheck
+OBJECTS = $(PROGRAM).obj
-WXLIB = $(WXDIR)\lib
-NAME = memcheck
-LNK = $(name).lnk
-OBJS = $(name).obj
+!include $(WXDIR)\src\makeprog.wat
-all: $(name).exe
-
-$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
- wlink @$(LNK)
- $(BINDCOMMAND) $(name).res
-
-$(name).res : $(name).rc $(WXDIR)\include\wx\msw\wx.rc
- $(RC) $(RESFLAGS1) $(name).rc
-
-$(LNK) : makefile.wat
- %create $(LNK)
- @%append $(LNK) debug all
- @%append $(LNK) system $(LINKOPTION)
- @%append $(LNK) $(MINDATA)
- @%append $(LNK) $(MAXDATA)
- @%append $(LNK) $(STACK)
- @%append $(LNK) name $(name)
- @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
- @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
- @for %i in ($(OBJS)) do @%append $(LNK) file %i
-
-thing: .SYMBOLIC
- echo $(WATLIBDIR)
-
-clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
WXDIR = ..\..
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = test
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
-WXDIR = ..\..
+WXDIR = $(%WXWIN)
-!include $(WXDIR)\src\makewat.env
+PROGRAM = nativdlg
+OBJECTS = $(PROGRAM).obj
-WXLIB = $(WXDIR)\lib
-NAME = hello
-LNK = $(name).lnk
-OBJS = $(name).obj
+!include $(WXDIR)\src\makeprog.wat
-PRECOMP=
-
-all: $(name).exe
-
-$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
- wlink @$(LNK)
- $(BINDCOMMAND) $(name).res
-
-$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
- $(RC) $(RESFLAGS1) $(name).rc
-
-$(LNK) : makefile.wat
- %create $(LNK)
- @%append $(LNK) debug all
- @%append $(LNK) system $(LINKOPTION)
- @%append $(LNK) $(MINDATA)
- @%append $(LNK) $(MAXDATA)
- @%append $(LNK) $(STACK)
- @%append $(LNK) name $(name)
- @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
- @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
- @for %i in ($(OBJS)) do @%append $(LNK) file %i
-
-clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = test
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = oleauto
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = ownerdrw
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = pngdemo
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = printing
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = test
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = regtest
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
#
# Makefile for WATCOM
#
-# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
-# 8 Nov 1994
+# Created by Julian Smart, January 1999
+#
#
-WXDIR = ..\..
+WXDIR = $(%WXWIN)
-!include $(WXDIR)\src\makewat.env
+PROGRAM = resource
+OBJECTS = $(PROGRAM).obj
-WXLIB = $(WXDIR)\lib
-NAME = hello
-LNK = $(name).lnk
-OBJS = $(name).obj
+!include $(WXDIR)\src\makeprog.wat
-PRECOMP=
-
-all: $(name).exe
-
-$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
- wlink @$(LNK)
- $(BINDCOMMAND) $(name).res
-
-$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
- $(RC) $(RESFLAGS1) $(name).rc
-
-$(LNK) : makefile.wat
- %create $(LNK)
- @%append $(LNK) debug all
- @%append $(LNK) system $(LINKOPTION)
- @%append $(LNK) $(MINDATA)
- @%append $(LNK) $(MAXDATA)
- @%append $(LNK) $(STACK)
- @%append $(LNK) name $(name)
- @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
- @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
- @for %i in ($(OBJS)) do @%append $(LNK) file %i
-
-clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = sashtest
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = test
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = test
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = tbtest
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = test
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = test
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = treetest
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = typetest
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = validate
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = wxpoem
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = client
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
--- /dev/null
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+#
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = server
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
////////////////////////////////////////////////////////////////
////// wxFTP connect and login methods /////////////////////////
////////////////////////////////////////////////////////////////
-bool wxFTP::Connect(wxSockAddress& addr)
+bool wxFTP::Connect(wxSockAddress& addr, bool WXUNUSED(wait))
{
if (!m_handler) {
m_lastError = wxPROTO_NOHNDLR;
return TRUE;
}
-bool wxHTTP::Connect(wxSockAddress& addr)
+bool wxHTTP::Connect(wxSockAddress& addr, bool WXUNUSED(wait))
{
struct sockaddr *raw_addr;
size_t len;
// wxListKey
// -----------------------------------------------------------------------------
+wxListKey wxDefaultListKey;
+
bool wxListKey::operator==(wxListKeyValue value) const
{
switch ( m_keyType )
addr.Service(m_servname);
- if (!m_protocol->Connect(addr)) {
+ if (!m_protocol->Connect(addr, TRUE)) // Watcom needs the 2nd arg for some reason
+ {
m_error = wxURL_CONNERR;
return NULL;
}
addr.Hostname(hostname);
addr.Service(port);
- g_proxy->Connect(addr);
+ g_proxy->Connect(addr, TRUE); // Watcom needs the 2nd arg for some reason
}
void wxURL::SetProxy(const wxString& url_proxy)
addr.Hostname(hostname);
addr.Service(port);
- m_proxy.Connect(addr);
+ m_proxy.Connect(addr, TRUE); // Watcom needs the 2nd arg for some reason
m_protocol = &m_proxy;
m_protoname = "proxy";
@%append $(LNK) $(STACK)
@%append $(LNK) name $(PROGRAM).exe
@%append $(LNK) file $(WXLIB)\wx.lib
+ @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
@for %i in ($(OBJECTS)) do @%append $(LNK) file %i
-
-# @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
# @%append $(LNK) $(MINDATA)
# @%append $(LNK) $(MAXDATA)
clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe
+ -erase *.obj
+ -erase *.bak
+ -erase *.err
+ -erase *.pch
+ -erase *.lib
+ -erase *.lnk
+ -erase *.res
+ -erase *.exe
+ -erase *.lbc
MINDATA =
MAXDATA =
STACK = option stack=64k
-EXTRALIBS = $(WATLIBDIR)\ctl3d32.lib $(WATLIBDIR)\odbc32.lib
+EXTRALIBS = $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\png.lib $(WXDIR)\lib\xpm.lib &
+ $(WATLIBDIR)\odbc32.lib $(WATLIBDIR)\comctl32.lib $(WATLIBDIR)\comdlg32.lib &
+ $(WATLIBDIR)\ole32.lib $(WATLIBDIR)\oleaut32.lib $(WATLIBDIR)\uuid.lib
IFLAGS = -i=$(WXINC) -i=$(%watcom)\h;$(%watcom)\h\nt # -i=$(WXDIR)\include\wx\msw\gnuwin32
RESFLAGS1 = -r -bt=nt /i$(WXDIR)\include
RESFLAGS2 = -R $(name) /i$(WXDIR)\include
OPTFLAGS=/ox /5r
# /d1 for line numbers only: anything else produces an enormous wx32.lib
-CPPFLAGS = /bt=nt /w1 /D__WIN32__ /D__WIN95__ /D__WINDOWS__ /zq $(OPTFLAGS) $(MODEL) $(PRECOMP) /d1 $(DEBUGFLAGS) /d__WXMSW__ $(EXTRACPPFLAGS) # /d__WATCOMC__
+CPPFLAGS = /bt=nt /w1 /DWIN32 /D__WIN32__ /D__WIN95__ /D__WINDOWS__ /zq $(OPTFLAGS) $(MODEL) $(PRECOMP) /d1 $(DEBUGFLAGS) /d__WXMSW__ $(EXTRACPPFLAGS) # /d__WATCOMC__
.cpp.obj: # $< # .AUTODEPEND
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
int nCmdShow,
bool enterLoop)
{
-#if !defined(__WXDEBUG__) && !defined(__BORLANDC__) // take everything into a try-except block in release build
+#if !defined(__WXDEBUG__) && !defined(__BORLANDC__) && !defined(__WATCOMC__) // take everything into a try-except block in release build
try {
#endif
wxApp::CleanUp();
return retValue;
-#if !defined(__WXDEBUG__) && !defined(__BORLANDC__) // catch exceptions only in release build
+#if !defined(__WXDEBUG__) && !defined(__BORLANDC__) && !defined(__WATCOMC__) // catch exceptions only in release build
}
except ( EXCEPTION_EXECUTE_HANDLER ) {
/*
DUMMY=dummydll
# ODBCLIB = ..\..\contrib\odbc\odbc32.lib
-EXTRATARGETS = # wxxpm
-EXTRATARGETSCLEAN = # clean_wxxpm
-
+EXTRATARGETS = xpm png zlib
+EXTRATARGETSCLEAN = clean_xpm clean_png clean_zlib
GENDIR=$(WXDIR)\src\generic
COMMDIR=$(WXDIR)\src\common
XPMDIR=$(WXDIR)\src\xpm
# db.obj &
# dbtable.obj &
-MSWOBJS1 = &
+MSWOBJS = &
accel.obj &
app.obj &
bitmap.obj &
palette.obj &
pen.obj &
penwin.obj &
- pnghand.obj &
printdlg.obj &
printwin.obj &
radiobox.obj &
wave.obj &
window.obj &
+# pnghand.obj &
+
OLEOBJS = &
droptgt.obj &
dropsrc.obj &
uuid.obj &
automtn.obj
-XPMOBJECTS = crbuffri.obj&
- crdatfri.obj&
- create.obj crifrbuf.obj&
- crifrdat.obj&
- data.obj&
- hashtab.obj misc.obj&
- parse.obj rdftodat.obj&
- rdftoi.obj&
- rgb.obj scan.obj&
- simx.obj wrffrdat.obj&
- wrffrp.obj wrffri.obj
-
# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
-OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(OLEOBJS) # $(XPMOBJECTS)
+OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(OLEOBJS)
-all: $(OBJECTS) $(LIBTARGET)
+all: $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS)
$(LIBTARGET) : $(OBJECTS)
%create tmp.lbc
@for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
wlib /b /c /n /p=512 $^@ @tmp.lbc
+
+#test : $(OBJECTS)
+# %create tmp.lbc
+# @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
+# wlib /b /c /n /p=512 $^@ @tmp.lbc
+
-clean: .SYMBOLIC
+clean: $(EXTRATARGETSCLEAN)
-erase *.obj
-erase $(LIBTARGET)
-erase *.pch
-erase *.err
+ -erase *.lbc
cleanall: clean
wrffrp.obj: $(XPMDIR)\wrffrp.c
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
+OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \
+ trees$(O)
+OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \
+ infutil$(O) inffast$(O)
+
+all: $(LIBTARGET)
+
+adler32.obj: adler32.c zutil.h zlib.h zconf.h
+ $(CC) -c $(CFLAGS) $*.c
+
+compress.obj: compress.c zlib.h zconf.h
+ $(CC) -c $(CFLAGS) $*.c
+
+crc32.obj: crc32.c zutil.h zlib.h zconf.h
+ $(CC) -c $(CFLAGS) $*.c
+
+deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
+ $(CC) -c $(CFLAGS) $*.c
+
+gzio.obj: gzio.c zutil.h zlib.h zconf.h
+ $(CC) -c $(CFLAGS) $*.c
+
+infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\
+ infcodes.h infutil.h
+ $(CC) -c $(CFLAGS) $*.c
+
+infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\
+ infcodes.h inffast.h
+ $(CC) -c $(CFLAGS) $*.c
+
+inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h
+ $(CC) -c $(CFLAGS) $*.c
+
+inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
+ $(CC) -c $(CFLAGS) $*.c
+
+infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h
+ $(CC) -c $(CFLAGS) $*.c
+
+inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
+ $(CC) -c $(CFLAGS) $*.c
+
+trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h
+ $(CC) -c $(CFLAGS) $*.c
+
+uncompr.obj: uncompr.c zlib.h zconf.h
+ $(CC) -c $(CFLAGS) $*.c
+
+zutil.obj: zutil.c zutil.h zlib.h zconf.h
+ $(CC) -c $(CFLAGS) $*.c
+
+xpm: .SYMBOLIC
+ cd $(WXDIR)\src\xpm
+ wmake -f makefile.wat all
+ cd $(WXDIR)\src\msw
+
+clean_xpm: .SYMBOLIC
+ cd $(WXDIR)\src\xpm
+ wmake -f makefile.wat clean
+ cd $(WXDIR)\src\msw
+
+png: .SYMBOLIC
+ cd $(WXDIR)\src\png
+ wmake -f makefile.wat all
+ cd $(WXDIR)\src\msw
+
+clean_png: .SYMBOLIC
+ cd $(WXDIR)\src\png
+ wmake -f makefile.wat clean
+ cd $(WXDIR)\src\msw
-#wxxpm: .SYMBOLIC
-# cd $(WXDIR)\contrib\wxxpm
-# wmake -f makefile.wat all
-# cd $(WXDIR)\src\msw
+zlib: .SYMBOLIC
+ cd $(WXDIR)\src\zlib
+ wmake -f makefile.wat all
+ cd $(WXDIR)\src\msw
-#clean_wxxpm: .SYMBOLIC
-# cd $(WXDIR)\contrib\wxxpm
-# wmake -f makefile.wat clean
-# cd $(WXDIR)\src\msw
+clean_zlib: .SYMBOLIC
+ cd $(WXDIR)\src\zlib
+ wmake -f makefile.wat clean
+ cd $(WXDIR)\src\msw
--- /dev/null
+#!/binb/wmake.exe
+#
+# File: makefile.wat
+# Author: Julian Smart
+# Created: 1998
+#
+# Makefile : Builds PNG library for Watcom C++, WIN32
+
+WXDIR = ..\..
+
+!include $(WXDIR)\src\makewat.env
+
+WXLIB = $(WXDIR)\lib
+
+LIBTARGET = $(WXLIB)\png.lib
+
+OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj &
+ pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj &
+ pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj
+
+all: $(OBJECTS) $(LIBTARGET)
+
+$(LIBTARGET) : $(OBJECTS)
+ %create tmp.lbc
+ @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
+ wlib /b /c /n /p=512 $^@ @tmp.lbc
+
+clean: .SYMBOLIC
+ -erase *.obj
+ -erase $(LIBTARGET)
+ -erase *.pch
+ -erase *.err
+ -erase *.lbc
+
+cleanall: clean
+
+#accel.obj: $(MSWDIR)\accel.cpp
+# *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+
--- /dev/null
+#!/binb/wmake.exe
+#
+# File: makefile.wat
+# Author: Julian Smart
+# Created: 1998
+#
+# Makefile : Builds XPM library for Watcom C++, WIN32
+
+WXDIR = ..\..
+
+!include $(WXDIR)\src\makewat.env
+
+WXLIB = $(WXDIR)\lib
+
+LIBTARGET = $(WXLIB)\xpm.lib
+
+OBJECTS = crbuffri.obj &
+ crdatfri.obj &
+ create.obj &
+ crifrbuf.obj &
+ crifrdat.obj &
+ data.obj &
+ hashtab.obj &
+ misc.obj &
+ parse.obj &
+ rdftodat.obj &
+ rdftoi.obj &
+ rgb.obj &
+ scan.obj &
+ simx.obj &
+ wrffrdat.obj &
+ wrffrp.obj &
+ wrffri.obj
+
+all: $(OBJECTS) $(LIBTARGET)
+
+$(LIBTARGET) : $(OBJECTS)
+ %create tmp.lbc
+ @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
+ wlib /b /c /n /p=512 $^@ @tmp.lbc
+
+clean: .SYMBOLIC
+ -erase *.obj
+ -erase $(LIBTARGET)
+ -erase *.pch
+ -erase *.err
+ -erase *.lbc
+
+cleanall: clean
+
+#accel.obj: $(MSWDIR)\accel.cpp
+# *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+
OBJP2=trees$(O)+zutil$(O)+inflate$(O)+infblock$(O)+inftrees$(O)+infcodes$(O)
OBJP3=infutil$(O)+inffast$(O)
-all: test
+# all: test
+
+all: $(LIBTARGET)
adler32.obj: adler32.c zutil.h zlib.h zconf.h
$(CC) $(CFLAGS) $*.c