-BASEHEADERS = $(WXBASEINC)\wx_defs.h \
- $(WXBASEINC)\wb_buttn.h \
- $(WXBASEINC)\wb_canvs.h \
- $(WXBASEINC)\wb_check.h \
- $(WXBASEINC)\wb_choic.h \
- $(WXBASEINC)\wb_dc.h \
- $(WXBASEINC)\wb_dccan.h \
- $(WXBASEINC)\wb_dcmem.h \
- $(WXBASEINC)\wb_dialg.h \
- $(WXBASEINC)\wb_frame.h \
- $(WXBASEINC)\wb_gdi.h \
- $(WXBASEINC)\wb_ipc.h \
- $(WXBASEINC)\wb_ipcob.h \
- $(WXBASEINC)\wb_item.h \
- $(WXBASEINC)\wb_lbox.h \
- $(WXBASEINC)\wb_main.h \
- $(WXBASEINC)\wb_menu.h \
- $(WXBASEINC)\wb_messg.h \
- $(WXBASEINC)\wb_mf.h \
- $(WXBASEINC)\wb_mnuit.h \
- $(WXBASEINC)\wb_mtxt.h \
- $(WXBASEINC)\wb_panel.h \
- $(WXBASEINC)\wb_slidr.h \
- $(WXBASEINC)\wb_text.h \
- $(WXBASEINC)\wb_timer.h \
- $(WXBASEINC)\wb_txt.h \
- $(WXBASEINC)\wb_win.h \
- $(WXBASEINC)\wx_dcps.h \
- $(WXBASEINC)\wx_form.h \
- $(WXBASEINC)\wx_hash.h \
- $(WXBASEINC)\wx_help.h \
- $(WXBASEINC)\wx_list.h \
- $(WXBASEINC)\wxstring.h \
- $(WXBASEINC)\wx_mgstr.h \
- $(WXBASEINC)\wx_obj.h \
- $(WXBASEINC)\wx_stdev.h \
- $(WXBASEINC)\wx_sysev.h \
- $(WXBASEINC)\wx_types.h \
- $(WXBASEINC)\wx_utils.h
-
-LOCALHEADERS = \
- $(WXINC)\wx_buttn.h \
- $(WXINC)\wx_canvs.h \
- $(WXINC)\wx_check.h \
- $(WXINC)\wx_choic.h \
- $(WXINC)\wx_combo.h \
- $(WXINC)\wx_dc.h \
- $(WXINC)\wx_dccan.h \
- $(WXINC)\wx_dcmem.h \
- $(WXINC)\wx_dialg.h \
- $(WXINC)\wx_frame.h \
- $(WXINC)\wx_gdi.h \
- $(WXINC)\wx_ipc.h \
- $(WXINC)\wx_ipcob.h \
- $(WXINC)\wx_item.h \
- $(WXINC)\wx_lbox.h \
- $(WXINC)\wx_main.h \
- $(WXINC)\wx_menu.h \
- $(WXINC)\wx_messg.h \
- $(WXINC)\wx_mf.h \
- $(WXINC)\wx_mnuit.h \
- $(WXINC)\wx_mtxt.h \
- $(WXINC)\wx_panel.h \
- $(WXINC)\wx_privt.h \
- $(WXINC)\wx_slidr.h \
- $(WXINC)\wx_text.h \
- $(WXINC)\wx_timer.h \
- $(WXINC)\wx_txt.h \
- $(WXINC)\wx_win.h
-
-OBJECTS1 = wx_win.obj wx_frame.obj wx_panel.obj wx_utils.obj wx_main.obj\
- wx_item.obj
-
-OBJECTS2 = wx_text.obj wx_gdi.obj wx_dialg.obj wx_canvs.obj wx_dc.obj wx_mf.obj
-
-OBJECTS3 = wx_ipc.obj wx_timer.obj wx_clipb.obj wx_stat.obj wx_scrol.obj wx_vlbox.obj
-
-OBJECTS4 = wx_buttn.obj wx_messg.obj wx_check.obj wx_choic.obj wx_rbox.obj wx_lbox.obj \
- wx_group.obj wx_gauge.obj wx_txt.obj wx_mtxt.obj wx_slidr.obj wx_menu.obj wx_db.obj\
- wx_cmdlg.obj wx_combo.obj
-
-OBJECTS = $(OBJECTS1) $(OBJECTS2) $(OBJECTS3) $(OBJECTS4)
-
-BASEOBJECTS1 = ..\base\wb_data.obj ..\base\wb_win.obj ..\base\wb_frame.obj ..\base\wb_panel.obj\
- ..\base\wb_utils.obj ..\base\wb_main.obj ..\base\wb_res.obj
-
-BASEOBJECTS2 = ..\base\wb_item.obj ..\base\wb_list.obj ..\base\wb_obj.obj\
- ..\base\wb_ps.obj ..\base\wx_doc.obj ..\base\wx_tbar.obj ..\base\wx_bbar.obj
-
-BASEOBJECTS3 = ..\base\wb_text.obj ..\base\wb_gdi.obj ..\base\wb_dialg.obj\
- ..\base\wb_canvs.obj ..\base\wx_date.obj ..\base\wx_time.obj ..\base\wx_frac.obj
-
-BASEOBJECTS4 = ..\base\wb_dc.obj ..\base\wb_mf.obj ..\base\wb_hash.obj\
- ..\base\wb_ipc.obj ..\base\wx_lay.obj ..\base\wx_mem.obj ..\base\wb_cmdlg.obj
-
-BASEOBJECTS5 = ..\base\wb_form.obj ..\base\wb_timer.obj ..\base\wb_help.obj\
- ..\base\wb_vlbox.obj ..\base\wb_scrol.obj ..\base\wb_stat.obj
-
-BASEOBJECTS6 = ..\base\wb_sysev.obj ..\base\wb_stdev.obj ..\base\wb_types.obj\
- ..\base\wb_mgstr.obj ..\base\wb_print.obj $(WXSTRINGOBJ)
-
-BASEOBJECTS = $(BASEOBJECTS1) $(BASEOBJECTS2) $(BASEOBJECTS3)\
- $(BASEOBJECTS4) $(BASEOBJECTS5) $(BASEOBJECTS6)
-
-
-all: $(CFG) $(DUMMY).obj base $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
-
-base:
- cd $(WXBASESRC)
- make -f makefile.bcc -DCFG=$(CFG) -DWXDIR=$(WXDIR) DEBUG=$(DEBUG) -DDEBUG_FLAGS=$(DEBUG_FLAGS) -DOPT=$(OPT) -DFINAL=$(FINAL)
- cd $(THISDIR)
-
-$(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(BASEOBJECTS) $(PERIPH_LIBS)
+GENDIR=..\generic
+COMMDIR=..\common
+OLEDIR=.\ole
+MSWDIR=.
+
+DOCDIR = $(WXDIR)\docs
+
+GENERICOBJS= \
+ $(MSWDIR)\choicdgg.obj \
+ $(MSWDIR)\colrdlgg.obj \
+ $(MSWDIR)\fontdlgg.obj \
+ $(MSWDIR)\gridg.obj \
+ $(MSWDIR)\imaglist.obj \
+ $(MSWDIR)\helpxlp.obj \
+ $(MSWDIR)\laywin.obj \
+ $(MSWDIR)\listctrl.obj \
+ $(MSWDIR)\notebook.obj \
+ $(MSWDIR)\panelg.obj \
+ $(MSWDIR)\progdlgg.obj \
+ $(MSWDIR)\prop.obj \
+ $(MSWDIR)\propform.obj \
+ $(MSWDIR)\proplist.obj \
+ $(MSWDIR)\sashwin.obj \
+ $(MSWDIR)\scrolwin.obj \
+ $(MSWDIR)\splitter.obj \
+ $(MSWDIR)\statusbr.obj \
+ $(MSWDIR)\tabg.obj \
+ $(MSWDIR)\textdlgg.obj \
+ $(MSWDIR)\treectrl.obj
+
+# $(MSWDIR)\msgdlgg.obj \
+# $(MSWDIR)\printps.obj \
+# $(MSWDIR)\prntdlgg.obj \
+
+COMMONOBJS = \
+ $(MSWDIR)\config.obj \
+ $(MSWDIR)\cmndata.obj \
+ $(MSWDIR)\dcbase.obj \
+ $(MSWDIR)\docview.obj \
+ $(MSWDIR)\docmdi.obj \
+ $(MSWDIR)\dynarray.obj \
+ $(MSWDIR)\event.obj \
+ $(MSWDIR)\file.obj \
+ $(MSWDIR)\fileconf.obj \
+ $(MSWDIR)\filefn.obj \
+ $(MSWDIR)\framecmn.obj \
+ $(MSWDIR)\gdicmn.obj \
+ $(MSWDIR)\helpbase.obj \
+ $(MSWDIR)\image.obj \
+ $(MSWDIR)\intl.obj \
+ $(MSWDIR)\ipcbase.obj \
+ $(MSWDIR)\log.obj \
+ $(MSWDIR)\layout.obj \
+ $(MSWDIR)\memory.obj \
+ $(MSWDIR)\module.obj \
+ $(MSWDIR)\object.obj \
+ $(MSWDIR)\prntbase.obj \
+ $(MSWDIR)\resource.obj \
+ $(MSWDIR)\resourc2.obj \
+ $(MSWDIR)\tbarbase.obj \
+ $(MSWDIR)\tbarsmpl.obj \
+ $(MSWDIR)\textfile.obj \
+ $(MSWDIR)\timercmn.obj \
+ $(MSWDIR)\utilscmn.obj \
+ $(MSWDIR)\validate.obj \
+ $(MSWDIR)\valgen.obj \
+ $(MSWDIR)\valtext.obj \
+ $(MSWDIR)\variant.obj \
+ $(MSWDIR)\date.obj \
+ $(MSWDIR)\hash.obj \
+ $(MSWDIR)\list.obj \
+ $(MSWDIR)\paper.obj \
+ $(MSWDIR)\string.obj \
+ $(MSWDIR)\time.obj \
+ $(MSWDIR)\wxexpr.obj \
+ $(MSWDIR)\y_tab.obj \
+ $(MSWDIR)\stream.obj \
+ $(MSWDIR)\wfstream.obj \
+ $(MSWDIR)\mstream.obj \
+ $(MSWDIR)\zstream.obj \
+ $(MSWDIR)\datstrm.obj \
+ $(MSWDIR)\sckstrm.obj \
+ $(MSWDIR)\extended.obj \
+ $(MSWDIR)\wincmn.obj \
+ $(MSWDIR)\objstrm.obj \
+ $(MSWDIR)\dynlib.obj \
+ $(MSWDIR)\tokenzr.obj \
+ $(MSWDIR)\wxchar.obj
+
+# Don't compile for WIN16
+# $(MSWDIR)\socket.obj \
+# $(MSWDIR)\sckaddr.obj \
+# $(MSWDIR)\protocol.obj \
+# $(MSWDIR)\url.obj \
+# $(MSWDIR)\http.obj \
+# $(MSWDIR)\ftp.obj \
+# $(MSWDIR)\sckfile.obj \
+# $(MSWDIR)\sckipc.obj \
+
+# Needs extra files (sql*.h) so not compiled by default.
+# $(MSWDIR)\odbc.obj \
+
+# Uses WIN32 registry functions
+# $(MSWDIR)\mimetype.obj \
+
+MSWOBJS = \
+ $(MSWDIR)\accel.obj \
+ $(MSWDIR)\app.obj \
+ $(MSWDIR)\bitmap.obj \
+ $(MSWDIR)\bmpbuttn.obj \
+ $(MSWDIR)\brush.obj \
+ $(MSWDIR)\button.obj \
+ $(MSWDIR)\checkbox.obj \
+ $(MSWDIR)\checklst.obj \
+ $(MSWDIR)\caret.obj \
+ $(MSWDIR)\choice.obj \
+ $(MSWDIR)\clipbrd.obj \
+ $(MSWDIR)\colordlg.obj \
+ $(MSWDIR)\colour.obj \
+ $(MSWDIR)\combobox.obj \
+ $(MSWDIR)\control.obj \
+ $(MSWDIR)\curico.obj \
+ $(MSWDIR)\cursor.obj \
+ $(MSWDIR)\data.obj \
+ $(MSWDIR)\dc.obj \
+ $(MSWDIR)\dcmemory.obj \
+ $(MSWDIR)\dcclient.obj \
+ $(MSWDIR)\dcprint.obj \
+ $(MSWDIR)\dcscreen.obj \
+ $(MSWDIR)\dde.obj \
+ $(MSWDIR)\dialog.obj \
+ $(MSWDIR)\dib.obj \
+ $(MSWDIR)\dibutils.obj \
+ $(MSWDIR)\dirdlg.obj \
+ $(MSWDIR)\filedlg.obj \
+ $(MSWDIR)\font.obj \
+ $(MSWDIR)\fontdlg.obj \
+ $(MSWDIR)\frame.obj \
+ $(MSWDIR)\gaugemsw.obj \
+ $(MSWDIR)\gdiobj.obj \
+ $(MSWDIR)\helpwin.obj \
+ $(MSWDIR)\icon.obj \
+ $(MSWDIR)\iniconf.obj \
+ $(MSWDIR)\joystick.obj \
+ $(MSWDIR)\listbox.obj \
+ $(MSWDIR)\main.obj \
+ $(MSWDIR)\mdi.obj \
+ $(MSWDIR)\menu.obj \
+ $(MSWDIR)\menuitem.obj \
+ $(MSWDIR)\metafile.obj \
+ $(MSWDIR)\minifram.obj \
+ $(MSWDIR)\msgdlg.obj \
+ $(MSWDIR)\nativdlg.obj \
+ $(MSWDIR)\ownerdrw.obj \
+ $(MSWDIR)\palette.obj \
+ $(MSWDIR)\pen.obj \
+ $(MSWDIR)\penwin.obj \
+ $(MSWDIR)\pnghand.obj \
+ $(MSWDIR)\printdlg.obj \
+ $(MSWDIR)\printwin.obj \
+ $(MSWDIR)\radiobox.obj \
+ $(MSWDIR)\radiobut.obj \
+ $(MSWDIR)\region.obj \
+ $(MSWDIR)\scrolbar.obj \
+ $(MSWDIR)\settings.obj \
+ $(MSWDIR)\slidrmsw.obj \
+ $(MSWDIR)\spinbutt.obj \
+ $(MSWDIR)\statbmp.obj \
+ $(MSWDIR)\statbox.obj \
+ $(MSWDIR)\stattext.obj \
+ $(MSWDIR)\tbarmsw.obj \
+ $(MSWDIR)\textctrl.obj \
+ $(MSWDIR)\timer.obj \
+ $(MSWDIR)\utils.obj \
+ $(MSWDIR)\utilsexc.obj \
+ $(MSWDIR)\wave.obj \
+ $(MSWDIR)\window.obj \
+ $(MSWDIR)\xpmhand.obj
+
+# Unfortunately this causes a crash when the oleauto sample starts.
+# $(MSWDIR)\automtn.obj
+
+# Not used for 16-bit compilation
+# $(MSWDIR)\tooltip.obj \
+# $(MSWDIR)\gauge95.obj \
+# $(MSWDIR)\treectrl.obj \
+# $(MSWDIR)\oleutils.obj \
+# $(MSWDIR)\dataobj.obj \
+# $(MSWDIR)\uuid.obj
+# $(MSWDIR)\droptgt.obj \
+# $(MSWDIR)\dropsrc.obj \
+# $(MSWDIR)\imaglist.obj \
+# $(MSWDIR)\notebook.obj \
+# $(MSWDIR)\listctrl.obj \
+# $(MSWDIR)\tabctrl.obj \
+# $(MSWDIR)\taskbar.obj \
+# $(MSWDIR)\tbar95.obj \
+# $(MSWDIR)\thread.obj \
+# $(MSWDIR)\slider95.obj \
+# $(MSWDIR)\statbr95.obj \
+# $(MSWDIR)\registry.obj \
+# $(MSWDIR)\regconf.obj \
+
+OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
+
+default: wx
+
+wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
+
+$(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(PERIPH_LIBS)