+#!/binb/wmake.exe
-
-
-
-# This file was automatically generated by tmake at 21:00, 1999/07/14
+# This file was automatically generated by tmake at 14:24, 1999/11/15
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE WAT.T!
-#!/binb/wmake.exe
-
#
# File: makefile.wat
# Author: Julian Smart
# Created: 1998
#
# Makefile : Builds wxWindows library for Watcom C++, WIN32
+#
+# NOTE: This file is generated from wat.t by tmake, but not all bugs have
+# been removed from this process. If wxWindows doesn't compile,
+# check the following and edit this makefile accordingly:
+#
+# - OLE-related files such as oleutils.cpp should have 'ole\' prepended
+# to the path.
+# - extended.c, gsocket.c, unzip.c must be compiled using $(CC), not $(CCC).
+# They may also be wrongly specified as extended.cpp, etc.
WXDIR = ..\..
GENDIR=$(WXDIR)\src\generic
COMMDIR=$(WXDIR)\src\common
XPMDIR=$(WXDIR)\src\xpm
-OLEDIR=ole
MSWDIR=$(WXDIR)\src\msw
+OLEDIR=$(MSWDIR)\ole
DOCDIR = $(WXDIR)\docs
GENERICOBJS= busyinfo.obj &
choicdgg.obj &
- extdlgg.obj &
- gridg.obj &
+ grid.obj &
laywin.obj &
+ logg.obj &
+ numdlgg.obj &
panelg.obj &
progdlgg.obj &
prop.obj &
sashwin.obj &
scrolwin.obj &
splitter.obj &
+ statusbr.obj &
tabg.obj &
textdlgg.obj &
- tipdlg.obj
+ tipdlg.obj &
+ wizard.obj
# These are generic things that don't need to be compiled on MSW,
# but sometimes it's useful to do so for testing purposes.
-NONESSENTIALOBJS= colrdlgg.obj &
+NONESSENTIALOBJS= caret.obj &
+ colrdlgg.obj &
+ dcpsg.obj &
dirdlgg.obj &
+ filedlgg.obj &
fontdlgg.obj &
+ helpext.obj &
+ helphtml.obj &
+ helpwxht.obj &
helpxlp.obj &
imaglist.obj &
listctrl.obj &
notebook.obj &
printps.obj &
prntdlgg.obj &
- statusbr.obj &
+ statline.obj &
treectrl.obj
COMMONOBJS = &
y_tab.obj &
- extended.obj &
+ appcmn.obj &
+ choiccmn.obj &
+ clipcmn.obj &
cmndata.obj &
config.obj &
+ ctrlcmn.obj &
+ ctrlsub.obj &
date.obj &
datstrm.obj &
db.obj &
dbtable.obj &
dcbase.obj &
dlgcmn.obj &
+ dobjcmn.obj &
docmdi.obj &
docview.obj &
dynarray.obj &
dynlib.obj &
event.obj &
+ extended.obj &
+ ffile.obj &
file.obj &
fileconf.obj &
filefn.obj &
filesys.obj &
+ fontcmn.obj &
+ fontmap.obj &
framecmn.obj &
fs_inet.obj &
fs_zip.obj &
ftp.obj &
gdicmn.obj &
+ gifdecod.obj &
hash.obj &
helpbase.obj &
http.obj &
+ imagall.obj &
imagbmp.obj &
image.obj &
imaggif.obj &
+ imagpcx.obj &
imagpng.obj &
+ imagpnm.obj &
intl.obj &
ipcbase.obj &
layout.obj &
+ lboxcmn.obj &
list.obj &
log.obj &
memory.obj &
+ menucmn.obj &
mimetype.obj &
module.obj &
mstream.obj &
resource.obj &
sckaddr.obj &
sckfile.obj &
- sckint.obj &
sckipc.obj &
sckstrm.obj &
+ serbase.obj &
+ sizer.obj &
socket.obj &
+ strconv.obj &
stream.obj &
string.obj &
tbarbase.obj &
tbarsmpl.obj &
+ textcmn.obj &
textfile.obj &
time.obj &
timercmn.obj &
wincmn.obj &
wxchar.obj &
wxexpr.obj &
- zipstream.obj &
+ zipstrm.obj &
zstream.obj
MSWOBJS = accel.obj &
filedlg.obj &
font.obj &
fontdlg.obj &
+ fontenum.obj &
+ fontutil.obj &
frame.obj &
gauge95.obj &
gaugemsw.obj &
gdiobj.obj &
+ gsocket.obj &
helpwin.obj &
icon.obj &
+ imaglist.obj &
iniconf.obj &
joystick.obj &
listbox.obj &
+ listctrl.obj &
main.obj &
mdi.obj &
menu.obj &
minifram.obj &
msgdlg.obj &
nativdlg.obj &
+ notebook.obj &
oleutils.obj &
ownerdrw.obj &
palette.obj &
slider95.obj &
slidrmsw.obj &
spinbutt.obj &
+ spinctrl.obj &
statbmp.obj &
statbox.obj &
statbr95.obj &
thread.obj &
timer.obj &
tooltip.obj &
+ treectrl.obj &
utils.obj &
utilsexc.obj &
uuid.obj &
# %create tmp.lbc
# @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
# wlib /b /c /n /p=512 $^@ @tmp.lbc
-
-
+
+
clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
-erase *.obj
-erase $(LIBTARGET)
app.obj: $(MSWDIR)\app.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-automtn.obj: $(MSWDIR)\automtn.cpp
+automtn.obj: $(OLEDIR)\automtn.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
bitmap.obj: $(MSWDIR)\bitmap.cpp
data.obj: $(MSWDIR)\data.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-dataobj.obj: $(MSWDIR)\dataobj.cpp
+dataobj.obj: $(OLEDIR)\dataobj.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
dc.obj: $(MSWDIR)\dc.cpp
dragimag.obj: $(MSWDIR)\dragimag.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-dropsrc.obj: $(MSWDIR)\dropsrc.cpp
+dropsrc.obj: $(OLEDIR)\dropsrc.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-droptgt.obj: $(MSWDIR)\droptgt.cpp
+droptgt.obj: $(OLEDIR)\droptgt.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
filedlg.obj: $(MSWDIR)\filedlg.cpp
fontdlg.obj: $(MSWDIR)\fontdlg.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+fontenum.obj: $(MSWDIR)\fontenum.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+fontutil.obj: $(MSWDIR)\fontutil.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
frame.obj: $(MSWDIR)\frame.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
gdiobj.obj: $(MSWDIR)\gdiobj.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+gsocket.obj: $(MSWDIR)\gsocket.c
+ *$(CC) $(CPPFLAGS) $(IFLAGS) $<
+
helpwin.obj: $(MSWDIR)\helpwin.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
icon.obj: $(MSWDIR)\icon.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+imaglist.obj: $(MSWDIR)\imaglist.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
iniconf.obj: $(MSWDIR)\iniconf.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
listbox.obj: $(MSWDIR)\listbox.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+listctrl.obj: $(MSWDIR)\listctrl.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
main.obj: $(MSWDIR)\main.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
nativdlg.obj: $(MSWDIR)\nativdlg.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-oleutils.obj: $(MSWDIR)\oleutils.cpp
+notebook.obj: $(MSWDIR)\notebook.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+oleutils.obj: $(OLEDIR)\oleutils.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
ownerdrw.obj: $(MSWDIR)\ownerdrw.cpp
spinbutt.obj: $(MSWDIR)\spinbutt.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+spinctrl.obj: $(MSWDIR)\spinctrl.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
statbmp.obj: $(MSWDIR)\statbmp.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
tooltip.obj: $(MSWDIR)\tooltip.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+treectrl.obj: $(MSWDIR)\treectrl.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
utils.obj: $(MSWDIR)\utils.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
utilsexc.obj: $(MSWDIR)\utilsexc.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-uuid.obj: $(MSWDIR)\uuid.cpp
+uuid.obj: $(OLEDIR)\uuid.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
wave.obj: $(MSWDIR)\wave.cpp
########################################################
# Common objects (always compiled)
+appcmn.obj: $(COMMDIR)\appcmn.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+choiccmn.obj: $(COMMDIR)\choiccmn.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+clipcmn.obj: $(COMMDIR)\clipcmn.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
cmndata.obj: $(COMMDIR)\cmndata.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
config.obj: $(COMMDIR)\config.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+ctrlcmn.obj: $(COMMDIR)\ctrlcmn.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+ctrlsub.obj: $(COMMDIR)\ctrlsub.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
date.obj: $(COMMDIR)\date.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
dlgcmn.obj: $(COMMDIR)\dlgcmn.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+dobjcmn.obj: $(COMMDIR)\dobjcmn.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
docmdi.obj: $(COMMDIR)\docmdi.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
event.obj: $(COMMDIR)\event.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+extended.obj: $(COMMDIR)\extended.c
+ *$(CC) $(CPPFLAGS) $(IFLAGS) $<
+
+ffile.obj: $(COMMDIR)\ffile.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
file.obj: $(COMMDIR)\file.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
filesys.obj: $(COMMDIR)\filesys.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+fontcmn.obj: $(COMMDIR)\fontcmn.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+fontmap.obj: $(COMMDIR)\fontmap.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
framecmn.obj: $(COMMDIR)\framecmn.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
gdicmn.obj: $(COMMDIR)\gdicmn.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+gifdecod.obj: $(COMMDIR)\gifdecod.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
hash.obj: $(COMMDIR)\hash.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
http.obj: $(COMMDIR)\http.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+imagall.obj: $(COMMDIR)\imagall.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
imagbmp.obj: $(COMMDIR)\imagbmp.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
imaggif.obj: $(COMMDIR)\imaggif.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+imagpcx.obj: $(COMMDIR)\imagpcx.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
imagpng.obj: $(COMMDIR)\imagpng.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+imagpnm.obj: $(COMMDIR)\imagpnm.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
intl.obj: $(COMMDIR)\intl.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
layout.obj: $(COMMDIR)\layout.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+lboxcmn.obj: $(COMMDIR)\lboxcmn.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
list.obj: $(COMMDIR)\list.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
memory.obj: $(COMMDIR)\memory.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+menucmn.obj: $(COMMDIR)\menucmn.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
mimetype.obj: $(COMMDIR)\mimetype.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
sckfile.obj: $(COMMDIR)\sckfile.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-sckint.obj: $(COMMDIR)\sckint.cpp
- *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-
sckipc.obj: $(COMMDIR)\sckipc.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
sckstrm.obj: $(COMMDIR)\sckstrm.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+serbase.obj: $(COMMDIR)\serbase.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+sizer.obj: $(COMMDIR)\sizer.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
socket.obj: $(COMMDIR)\socket.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+strconv.obj: $(COMMDIR)\strconv.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
stream.obj: $(COMMDIR)\stream.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
tbarsmpl.obj: $(COMMDIR)\tbarsmpl.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+textcmn.obj: $(COMMDIR)\textcmn.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
textfile.obj: $(COMMDIR)\textfile.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
txtstrm.obj: $(COMMDIR)\txtstrm.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-unzip.obj: $(COMMDIR)\unzip.cpp
- *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+unzip.obj: $(COMMDIR)\unzip.c
+ *$(CC) $(CPPFLAGS) $(IFLAGS) $<
url.obj: $(COMMDIR)\url.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
wxexpr.obj: $(COMMDIR)\wxexpr.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-zipstream.obj: $(COMMDIR)\zipstream.cpp
+zipstrm.obj: $(COMMDIR)\zipstrm.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
zstream.obj: $(COMMDIR)\zstream.cpp
-extended.obj: $(COMMDIR)\extended.c
- *$(CC) $(CPPFLAGS) $(IFLAGS) $(COMMDIR)\extended.c
-
y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
*$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE $(COMMDIR)\y_tab.c
choicdgg.obj: $(GENDIR)\choicdgg.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-extdlgg.obj: $(GENDIR)\extdlgg.cpp
+grid.obj: $(GENDIR)\grid.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-gridg.obj: $(GENDIR)\gridg.cpp
+laywin.obj: $(GENDIR)\laywin.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-laywin.obj: $(GENDIR)\laywin.cpp
+logg.obj: $(GENDIR)\logg.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
+numdlgg.obj: $(GENDIR)\numdlgg.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
panelg.obj: $(GENDIR)\panelg.cpp
splitter.obj: $(GENDIR)\splitter.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+statusbr.obj: $(GENDIR)\statusbr.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
tabg.obj: $(GENDIR)\tabg.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
tipdlg.obj: $(GENDIR)\tipdlg.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+wizard.obj: $(GENDIR)\wizard.cpp
+ *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+
crbuffri.obj: $(XPMDIR)\crbuffri.c
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \
- trees$(O)
+ trees$(O)
OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \
- infutil$(O) inffast$(O)
+ infutil$(O) inffast$(O)
adler32.obj: adler32.c zutil.h zlib.h zconf.h
$(CC) -c $(CFLAGS) $*.c
wmake -f makefile.wat clean
cd $(WXDIR)\src\msw
+MFTYPE=wat
+makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
+ cd $(WXWIN)\distrib\msw\tmake
+ tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
+ copy makefile.$(MFTYPE) $(WXWIN)\src\msw