]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/makefile.sc
Fix docs for Bind
[wxWidgets.git] / src / msw / makefile.sc
index ee780f6f1cec8e610d4750018498f91bff7a1d34..35402f14531f3fe3f211589b9c2262aa1bfa749c 100644 (file)
-# Symantec C++ makefile for the msw objects
-# called from src\makefile.sc
 
-# configuration section (see src\makefile.sc) ###########################
 
-WXDIR = $(WXWIN)
+# This file was automatically generated by tmake 
+# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE SC.T!
+
+# Digital mars makefile 
+# was Symantec C++ makefile for the msw objects
+#
+# called from src\makefile.sc
 
-!include $(WXDIR)\src\makesc.env
+# configuration section (see src\makefile.sc) ###########################
 
-INCDIR = $(WXDIR)\include
-MSWINC = $(INCDIR)\msw
-BASEINC = $(INCDIR)\base
+WXDIR = ..\..
 
-# default values overridden by src\makefile.sc
+include ..\makesc.env
 
-CC=sc
-CFLAGS = -o -ml -W -Dwx_msw
+DEBUG=0
 
-INCLUDE=$(BASEINC);$(MSWINC);$(WXDIR)\contrib\fafa;$(WXDIR)\contrib\itsybits
+LIBTARGET = $(LIBDIR)\wx$(SC_SUFFIX).lib
 
 OPTIONS=
 
 # end of configuration section ##########################################
 
-OBJS = wx_win.obj wx_frame.obj wx_panel.obj wx_utils.obj wx_main.obj \
-wx_item.obj wx_text.obj wx_gdi.obj wx_dialg.obj wx_canvs.obj wx_dc.obj \
-wx_mf.obj wx_ipc.obj wx_timer.obj wx_clipb.obj wx_scrol.obj wx_vlbox.obj \
-wx_stat.obj 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
-
-all: $(OBJS)
-
-wx_obj.obj: $(BASEINC)\wx_obj.h
-
-wx_win.obj: $(BASEINC)\wx_defs.h $(MSWINC)\wx_win.h \
-$(BASEINC)\wx_obj.h $(BASEINC)\wx_utils.h wx_win.$(SRCSUFF) \
-$(MSWINC)\wx_gdi.h $(MSWINC)\wx_privt.h
-
-wx_main.obj: $(BASEINC)\wx_defs.h $(BASEINC)\wx_obj.h \
-$(MSWINC)\wx_frame.h $(BASEINC)\wx_utils.h
-
-wx_frame.obj: $(BASEINC)\wx_defs.h $(MSWINC)\wx_win.h $(BASEINC)\wx_obj.h \
-$(BASEINC)\wx_utils.h $(MSWINC)\wx_frame.h wx_frame.$(SRCSUFF) \
-$(BASEINC)\wx_stdev.h $(MSWINC)\wx_privt.h
-
-wx_panel.obj: $(BASEINC)\wx_defs.h $(MSWINC)\wx_win.h $(BASEINC)\wx_obj.h \
-$(BASEINC)\wx_utils.h $(MSWINC)\wx_frame.h $(MSWINC)\wx_panel.h \
-wx_panel.$(SRCSUFF) $(BASEINC)\wx_stdev.h $(MSWINC)\wx_privt.h
-
-wx_text.obj: $(BASEINC)\wx_defs.h $(MSWINC)\wx_win.h $(BASEINC)\wx_obj.h \
-$(BASEINC)\wx_utils.h $(MSWINC)\wx_frame.h $(MSWINC)\wx_text.h \
-wx_text.$(SRCSUFF) $(BASEINC)\wx_stdev.h $(MSWINC)\wx_privt.h
-
-wx_canvs.obj: $(BASEINC)\wx_defs.h $(MSWINC)\wx_win.h $(BASEINC)\wx_obj.h \
-$(BASEINC)\wx_utils.h $(MSWINC)\wx_frame.h $(MSWINC)\wx_canvs.h \
-wx_canvs.$(SRCSUFF) $(BASEINC)\wx_stdev.h $(MSWINC)\wx_gdi.h $(MSWINC)\wx_dc.h \
-$(MSWINC)\wx_privt.h
-
-wx_dc.obj: $(BASEINC)\wx_defs.h $(MSWINC)\wx_win.h $(BASEINC)\wx_obj.h \
-$(BASEINC)\wx_utils.h $(MSWINC)\wx_frame.h $(MSWINC)\wx_canvs.h wx_dc.$(SRCSUFF) \
-$(BASEINC)\wx_stdev.h $(MSWINC)\wx_gdi.h $(MSWINC)\wx_dc.h \
-$(MSWINC)/wx_dccan.h $(MSWINC)/wx_dcmem.h
-
-wx_mf.obj: $(BASEINC)\wx_defs.h $(MSWINC)\wx_win.h $(BASEINC)\wx_obj.h \
-wx_mf.$(SRCSUFF) $(BASEINC)\wx_stdev.h $(MSWINC)\wx_gdi.h $(MSWINC)\wx_mf.h
-
-wx_item.obj: $(BASEINC)\wx_defs.h $(MSWINC)\wx_win.h $(BASEINC)\wx_obj.h \
-$(BASEINC)\wx_utils.h $(MSWINC)\wx_frame.h $(MSWINC)\wx_item.h \
-wx_item.$(SRCSUFF) $(BASEINC)\wx_stdev.h $(MSWINC)\wx_privt.h
-
-wx_utils.obj: $(BASEINC)\wx_defs.h $(BASEINC)\wx_obj.h \
-$(BASEINC)\wx_utils.h wx_utils.$(SRCSUFF)
-
-wx_ipc.obj: $(BASEINC)\wx_defs.h $(BASEINC)\wx_obj.h \
-$(BASEINC)\wx_utils.h $(MSWINC)\wx_ipc.h wx_ipc.$(SRCSUFF)
-
-wx_gdi.obj: $(BASEINC)\wx_defs.h $(MSWINC)\wx_gdi.h $(BASEINC)\wx_utils.h \
-wx_gdi.$(SRCSUFF)
-
-wx_dialg.obj: $(BASEINC)\wx_defs.h wx_dialg.$(SRCSUFF) $(MSWINC)\wx_dialg.h \
-$(MSWINC)\wx_win.h $(BASEINC)\wx_utils.h $(MSWINC)\wx_panel.h \
-$(MSWINC)\wx_privt.h
-
-wx_timer.obj: $(BASEINC)\wx_defs.h wx_timer.$(SRCSUFF) $(MSWINC)\wx_timer.h
-
-wx_clipb.obj: $(BASEINC)\wx_defs.h wx_clipb.$(SRCSUFF) $(MSWINC)\wx_clipb.h
-
-wx_stat.obj: wx_stat.$(SRCSUFF) $(MSWINC)\wx_stat.h
-
-wx_scrol.obj: wx_scrol.$(SRCSUFF) $(MSWINC)\wx_scrol.h
-
-wx_vlbox.obj: wx_vlbox.$(SRCSUFF) $(MSWINC)\wx_vlbox.h
-
-wx_buttn.obj: wx_buttn.$(SRCSUFF) $(MSWINC)\wx_buttn.h
-
-wx_messg.obj: wx_messg.$(SRCSUFF) $(MSWINC)\wx_messg.h
-
-wx_check.obj: wx_check.$(SRCSUFF) $(MSWINC)\wx_check.h
+GENDIR=$(WXDIR)\src\generic
+COMMDIR=$(WXDIR)\src\common
+HTMLDIR=$(WXDIR)\src\html
+OLEDIR=ole
+MSWDIR=$(WXDIR)\src\msw
+
+GENERICOBJS= $(GENDIR)\busyinfo.obj \
+               $(GENDIR)\calctrl.obj \
+               $(GENDIR)\choicdgg.obj \
+               $(GENDIR)\dcbuffer.obj \
+               $(GENDIR)\dcpsg.obj \
+               $(GENDIR)\dirctrlg.obj \
+               $(GENDIR)\dragimgg.obj \
+               $(GENDIR)\grid.obj \
+               $(GENDIR)\gridctrl.obj \
+               $(GENDIR)\gridsel.obj \
+               $(GENDIR)\laywin.obj \
+               $(GENDIR)\logg.obj \
+               $(GENDIR)\numdlgg.obj \
+               $(GENDIR)\panelg.obj \
+               $(GENDIR)\progdlgg.obj \
+               $(GENDIR)\renderg.obj \
+               $(GENDIR)\sashwin.obj \
+               $(GENDIR)\scrlwing.obj \
+               $(GENDIR)\selstore.obj \
+               $(GENDIR)\spinctlg.obj \
+               $(GENDIR)\splash.obj \
+               $(GENDIR)\splitter.obj \
+               $(GENDIR)\statusbr.obj \
+               $(GENDIR)\textdlgg.obj \
+               $(GENDIR)\tipdlg.obj \
+               $(GENDIR)\tipwin.obj \
+               $(GENDIR)\treectlg.obj \
+               $(GENDIR)\wizard.obj
+
+COMMONOBJS = $(COMMDIR)\accesscmn.obj \
+               $(COMMDIR)\appbase.obj \
+               $(COMMDIR)\appcmn.obj \
+               $(COMMDIR)\artprov.obj \
+               $(COMMDIR)\artstd.obj \
+                $(COMMDIR)\bookctrl.obj \
+               $(COMMDIR)\choiccmn.obj \
+               $(COMMDIR)\clipcmn.obj \
+               $(COMMDIR)\clntdata.obj \
+               $(COMMDIR)\cmdline.obj \
+               $(COMMDIR)\cmdproc.obj \
+               $(COMMDIR)\cmndata.obj \
+               $(COMMDIR)\config.obj \
+               $(COMMDIR)\containr.obj \
+               $(COMMDIR)\cshelp.obj \
+               $(COMMDIR)\ctrlcmn.obj \
+               $(COMMDIR)\ctrlsub.obj \
+               $(COMMDIR)\datacmn.obj \
+               $(COMMDIR)\datetime.obj \
+               $(COMMDIR)\datstrm.obj \
+               $(COMMDIR)\db.obj \
+               $(COMMDIR)\dbgrid.obj \
+               $(COMMDIR)\dbtable.obj \
+               $(COMMDIR)\dcbase.obj \
+               $(COMMDIR)\dircmn.obj \
+               $(COMMDIR)\dlgcmn.obj \
+               $(COMMDIR)\dndcmn.obj \
+               $(COMMDIR)\dobjcmn.obj \
+               $(COMMDIR)\docmdi.obj \
+               $(COMMDIR)\docview.obj \
+               $(COMMDIR)\dpycmn.obj \
+               $(COMMDIR)\dseldlg.obj \
+               $(COMMDIR)\dynarray.obj \
+               $(COMMDIR)\dynlib.obj \
+               $(COMMDIR)\dynload.obj \
+               $(COMMDIR)\effects.obj \
+               $(COMMDIR)\encconv.obj \
+               $(COMMDIR)\event.obj \
+               $(COMMDIR)\extended.obj \
+               $(COMMDIR)\fddlgcmn.obj \
+               $(COMMDIR)\ffile.obj \
+               $(COMMDIR)\file.obj \
+               $(COMMDIR)\fileconf.obj \
+               $(COMMDIR)\filefn.obj \
+               $(COMMDIR)\filename.obj \
+               $(COMMDIR)\filesys.obj \
+               $(COMMDIR)\fldlgcmn.obj \
+               $(COMMDIR)\fmapbase.obj \
+               $(COMMDIR)\fontcmn.obj \
+               $(COMMDIR)\fontmap.obj \
+               $(COMMDIR)\framecmn.obj \
+               $(COMMDIR)\fs_inet.obj \
+               $(COMMDIR)\fs_mem.obj \
+               $(COMMDIR)\fs_zip.obj \
+               $(COMMDIR)\ftp.obj \
+               $(COMMDIR)\gaugecmn.obj \
+               $(COMMDIR)\gdicmn.obj \
+               $(COMMDIR)\geometry.obj \
+               $(COMMDIR)\gifdecod.obj \
+               $(COMMDIR)\hash.obj \
+               $(COMMDIR)\hashmap.obj \
+               $(COMMDIR)\helpbase.obj \
+               $(COMMDIR)\http.obj \
+               $(COMMDIR)\iconbndl.obj \
+               $(COMMDIR)\imagall.obj \
+               $(COMMDIR)\imagbmp.obj \
+               $(COMMDIR)\image.obj \
+               $(COMMDIR)\imagfill.obj \
+               $(COMMDIR)\imaggif.obj \
+               $(COMMDIR)\imagiff.obj \
+               $(COMMDIR)\imagjpeg.obj \
+               $(COMMDIR)\imagpcx.obj \
+               $(COMMDIR)\imagpng.obj \
+               $(COMMDIR)\imagpnm.obj \
+               $(COMMDIR)\imagtiff.obj \
+               $(COMMDIR)\imagxpm.obj \
+               $(COMMDIR)\intl.obj \
+               $(COMMDIR)\init.obj \
+               $(COMMDIR)\ipcbase.obj \
+               $(COMMDIR)\layout.obj \
+               $(COMMDIR)\lboxcmn.obj \
+               $(COMMDIR)\list.obj \
+               $(COMMDIR)\log.obj \
+               $(COMMDIR)\longlong.obj \
+               $(COMMDIR)\matrix.obj \
+               $(COMMDIR)\memory.obj \
+               $(COMMDIR)\menucmn.obj \
+               $(COMMDIR)\mimecmn.obj \
+               $(COMMDIR)\module.obj \
+               $(COMMDIR)\msgout.obj \
+               $(COMMDIR)\mstream.obj \
+               $(COMMDIR)\nbkbase.obj \
+               $(COMMDIR)\object.obj \
+               $(COMMDIR)\paper.obj \
+               $(COMMDIR)\popupcmn.obj \
+               $(COMMDIR)\prntbase.obj \
+               $(COMMDIR)\process.obj \
+               $(COMMDIR)\protocol.obj \
+               $(COMMDIR)\quantize.obj \
+               $(COMMDIR)\radiocmn.obj \
+               $(COMMDIR)\regex.obj \
+               $(COMMDIR)\rendcmn.obj  \
+               $(COMMDIR)\rgncmn.obj \
+               $(COMMDIR)\sckaddr.obj \
+               $(COMMDIR)\sckfile.obj \
+               $(COMMDIR)\sckipc.obj \
+               $(COMMDIR)\sckstrm.obj \
+               $(COMMDIR)\settcmn.obj \
+               $(COMMDIR)\sizer.obj \
+               $(COMMDIR)\socket.obj \
+               $(COMMDIR)\statbar.obj \
+               $(COMMDIR)\stopwatch.obj \
+               $(COMMDIR)\strconv.obj \
+               $(COMMDIR)\stream.obj \
+               $(COMMDIR)\string.obj \
+               $(COMMDIR)\sysopt.obj \
+               $(COMMDIR)\taskbarcmn.obj \
+               $(COMMDIR)\tbarbase.obj \
+               $(COMMDIR)\textbuf.obj \
+               $(COMMDIR)\textcmn.obj \
+               $(COMMDIR)\textfile.obj \
+               $(COMMDIR)\timercmn.obj \
+               $(COMMDIR)\tokenzr.obj \
+               $(COMMDIR)\toplvcmn.obj \
+               $(COMMDIR)\treebase.obj \
+               $(COMMDIR)\txtstrm.obj \
+               $(COMMDIR)\unzip.obj \
+               $(COMMDIR)\url.obj \
+               $(COMMDIR)\utilscmn.obj \
+               $(COMMDIR)\valgen.obj \
+               $(COMMDIR)\validate.obj \
+               $(COMMDIR)\valtext.obj \
+               $(COMMDIR)\variant.obj \
+               $(COMMDIR)\wfstream.obj \
+               $(COMMDIR)\wincmn.obj \
+               $(COMMDIR)\wxchar.obj \
+               $(COMMDIR)\xpmdecod.obj \
+               $(COMMDIR)\zipstrm.obj \
+               $(COMMDIR)\zstream.obj
+
+HTMLOBJS = $(HTMLDIR)\helpctrl.obj \
+               $(HTMLDIR)\helpdata.obj \
+               $(HTMLDIR)\helpfrm.obj \
+               $(HTMLDIR)\htmlcell.obj \
+               $(HTMLDIR)\htmlfilt.obj \
+               $(HTMLDIR)\htmlpars.obj \
+               $(HTMLDIR)\htmltag.obj \
+               $(HTMLDIR)\htmlwin.obj \
+               $(HTMLDIR)\htmprint.obj \
+               $(HTMLDIR)\m_dflist.obj \
+               $(HTMLDIR)\m_fonts.obj \
+               $(HTMLDIR)\m_hline.obj \
+               $(HTMLDIR)\m_image.obj \
+               $(HTMLDIR)\m_layout.obj \
+               $(HTMLDIR)\m_links.obj \
+               $(HTMLDIR)\m_list.obj \
+               $(HTMLDIR)\m_pre.obj \
+               $(HTMLDIR)\m_style.obj \
+               $(HTMLDIR)\m_tables.obj \
+               $(HTMLDIR)\winpars.obj
+
+MSWOBJS = $(MSWDIR)\accel.obj \
+               $(MSWDIR)\ole\access.obj \
+               $(MSWDIR)\app.obj \
+               $(MSWDIR)\ole\automtn.obj \
+               $(MSWDIR)\basemsw.obj \
+               $(MSWDIR)\bitmap.obj \
+               $(MSWDIR)\bmpbuttn.obj \
+               $(MSWDIR)\brush.obj \
+               $(MSWDIR)\button.obj \
+               $(MSWDIR)\caret.obj \
+               $(MSWDIR)\checkbox.obj \
+               $(MSWDIR)\checklst.obj \
+               $(MSWDIR)\choice.obj \
+               $(MSWDIR)\clipbrd.obj \
+               $(MSWDIR)\colordlg.obj \
+               $(MSWDIR)\colour.obj \
+               $(MSWDIR)\combobox.obj \
+               $(MSWDIR)\control.obj \
+               $(MSWDIR)\cursor.obj \
+               $(MSWDIR)\data.obj \
+               $(MSWDIR)\ole\dataobj.obj \
+               $(MSWDIR)\dc.obj \
+               $(MSWDIR)\dcclient.obj \
+               $(MSWDIR)\dcmemory.obj \
+               $(MSWDIR)\dcprint.obj \
+               $(MSWDIR)\dcscreen.obj \
+               $(MSWDIR)\dde.obj \
+               $(MSWDIR)\dialog.obj \
+               $(MSWDIR)\dialup.obj \
+               $(MSWDIR)\dib.obj \
+               $(MSWDIR)\dir.obj \
+               $(MSWDIR)\dirdlg.obj \
+               $(MSWDIR)\display.obj \
+               $(MSWDIR)\dragimag.obj \
+               $(MSWDIR)\ole\dropsrc.obj \
+               $(MSWDIR)\ole\droptgt.obj \
+               $(MSWDIR)\enhmeta.obj \
+               $(MSWDIR)\evtloop.obj \
+               $(MSWDIR)\fdrepdlg.obj \
+               $(MSWDIR)\filedlg.obj \
+               $(MSWDIR)\font.obj \
+               $(MSWDIR)\fontdlg.obj \
+               $(MSWDIR)\fontenum.obj \
+               $(MSWDIR)\fontutil.obj \
+               $(MSWDIR)\frame.obj \
+               $(MSWDIR)\gauge95.obj \
+               $(MSWDIR)\gdiimage.obj \
+               $(MSWDIR)\gdiobj.obj \
+               $(MSWDIR)\glcanvas.obj \
+               $(MSWDIR)\gsocket.obj \
+               $(MSWDIR)\gsockmsw.obj \
+               $(MSWDIR)\helpbest.obj \
+               $(MSWDIR)\helpchm.obj \
+               $(MSWDIR)\helpwin.obj \
+               $(MSWDIR)\icon.obj \
+               $(MSWDIR)\imaglist.obj \
+               $(MSWDIR)\iniconf.obj \
+               $(MSWDIR)\joystick.obj \
+               $(MSWDIR)\listbox.obj \
+               $(MSWDIR)\listctrl.obj \
+               $(MSWDIR)\main.obj \
+               $(MSWDIR)\mdi.obj \
+               $(MSWDIR)\menu.obj \
+               $(MSWDIR)\menuitem.obj \
+               $(MSWDIR)\metafile.obj \
+               $(MSWDIR)\mimetype.obj \
+               $(MSWDIR)\minifram.obj \
+               $(MSWDIR)\msgdlg.obj \
+               $(MSWDIR)\mslu.obj \
+               $(MSWDIR)\nativdlg.obj \
+               $(MSWDIR)\notebook.obj \
+               $(MSWDIR)\ole\oleutils.obj \
+               $(MSWDIR)\ownerdrw.obj \
+               $(MSWDIR)\palette.obj \
+               $(MSWDIR)\pen.obj \
+               $(MSWDIR)\penwin.obj \
+               $(MSWDIR)\popupwin.obj \
+               $(MSWDIR)\printdlg.obj \
+               $(MSWDIR)\printwin.obj \
+               $(MSWDIR)\radiobox.obj \
+               $(MSWDIR)\radiobut.obj \
+               $(MSWDIR)\regconf.obj \
+               $(MSWDIR)\region.obj \
+               $(MSWDIR)\renderer.obj \
+               $(MSWDIR)\registry.obj \
+               $(MSWDIR)\scrolbar.obj \
+               $(MSWDIR)\settings.obj \
+               $(MSWDIR)\slider95.obj \
+               $(MSWDIR)\snglinst.obj \
+               $(MSWDIR)\spinbutt.obj \
+               $(MSWDIR)\spinctrl.obj \
+               $(MSWDIR)\statbmp.obj \
+               $(MSWDIR)\statbox.obj \
+               $(MSWDIR)\statbr95.obj \
+               $(MSWDIR)\statline.obj \
+               $(MSWDIR)\stattext.obj \
+               $(MSWDIR)\tabctrl.obj \
+               $(MSWDIR)\taskbar.obj \
+               $(MSWDIR)\tbar95.obj \
+               $(MSWDIR)\textctrl.obj \
+               $(MSWDIR)\tglbtn.obj \
+               $(MSWDIR)\thread.obj \
+               $(MSWDIR)\timer.obj \
+               $(MSWDIR)\tooltip.obj \
+               $(MSWDIR)\toplevel.obj \
+               $(MSWDIR)\treectrl.obj \
+               $(MSWDIR)\utils.obj \
+               $(MSWDIR)\utilsexc.obj \
+               $(MSWDIR)\utilsgui.obj \
+               $(MSWDIR)\ole\uuid.obj \
+               $(MSWDIR)\uxtheme.obj \
+               $(MSWDIR)\volume.obj \
+               $(MSWDIR)\wave.obj \
+               $(MSWDIR)\window.obj
+
+# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
+OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) 
+
+all: MAKEARCHDIR MAKELIBS PCH $(LIBTARGET) zlib png jpeg tiff regex
+
+MAKEARCHDIR:
+    @if not exist $(MSWINCDIR)\setup.h copy $(MSWINCDIR)\setup0.h $(MSWINCDIR)\setup.h
+    @if not exist $(ARCHINCDIR)\wx\setup.h mkdir $(ARCHINCDIR)
+    @if not exist $(ARCHINCDIR)\wx\setup.h mkdir $(ARCHINCDIR)\wx
+    @if not exist $(ARCHINCDIR)\wx\setup.h copy $(MSWINCDIR)\setup.h $(ARCHINCDIR)\wx\setup.h
+    @if not exist $(WXOUTDIR)\nul mkdir $(WXOUTDIR)
+
+#build our own copies of missing libraries
+MAKELIBS:
+      implib  /s $(LIBDIR)\$(SHELLLIB) $(LIBDIR)\$(SC_SUFFIX)\$(SHELLLIB).def
+      implib  /s $(LIBDIR)\$(WINSOCKLIB) $(LIBDIR)\$(SC_SUFFIX)\$(WINSOCKLIB).def
+      implib  /s $(LIBDIR)\$(WINMMLIB) $(LIBDIR)\$(SC_SUFFIX)\$(WINMMLIB).def
+
+$(LIBTARGET): $(OBJECTS)
+       -del $(LIBTARGET)
+       *lib /PAGESIZE:512 $(LIBTARGET) y $(OBJECTS), nul;
+
+clean: clean_msw clean_zlib clean_png clean_jpeg clean_tiff clean_regex clean_pch
+
+clean_msw:
+       -del $(COMMDIR)\*.obj
+       -del $(MSWDIR)\*.obj
+       -del $(GENDIR)\*.obj
+        -del $(HTMLDIR)\*.obj
+       -del *.obj
+        -del *.sym
+        -del ole\*.obj
+        -del $(LIBTARGET)
 
-wx_choic.obj: wx_choic.$(SRCSUFF) $(MSWINC)\wx_choic.h
+PCH: $(INCDIR)\wx\wxprec.h
+        dmc $(CPPFLAGS) $(CFLAGS) $(INCLUDE) -HF$(WXOUTDIR)\wxprec.SYM -o$(WXOUTDIR)\wxprec.PCO $(INCDIR)\wx\wxprec.h
 
-wx_rbox.obj: wx_rbox.$(SRCSUFF) $(MSWINC)\wx_rbox.h
+clean_pch:
+        del $(WXOUTDIR)\*.sym
+        del $(WXOUTDIR)\*.PCO
 
-wx_lbox.obj: wx_lbox.$(SRCSUFF) $(MSWINC)\wx_lbox.h
 
-wx_group.obj: wx_group.$(SRCSUFF) $(MSWINC)\wx_group.h
+png:   
+        make -f $(WXDIR)\src\png\makefile.sc FINAL=$(FINAL)
 
-wx_gauge.obj: wx_gauge.$(SRCSUFF) $(MSWINC)\wx_gauge.h
+clean_png:
+        make -f $(WXDIR)\src\png\makefile.sc clean
 
-wx_txt.obj: wx_txt.$(SRCSUFF) $(MSWINC)\wx_txt.h
+zlib:   
+        make -f $(WXDIR)\src\zlib\makefile.sc FINAL=$(FINAL) 
 
-wx_mtxt.obj: wx_mtxt.$(SRCSUFF) $(MSWINC)\wx_mtxt.h
+clean_zlib:
+        make -f $(WXDIR)\src\zlib\makefile.sc clean
 
-wx_slidr.obj: wx_slidr.$(SRCSUFF) $(MSWINC)\wx_slidr.h
+jpeg:   
+        make -f $(WXDIR)\src\jpeg\makefile.sc FINAL=$(FINAL)
 
-wx_menu.obj: wx_menu.$(SRCSUFF) $(MSWINC)\wx_menu.h
+clean_jpeg:
+        make -f $(WXDIR)\src\jpeg\makefile.sc clean
 
-wx_db.obj: wx_db.$(SRCSUFF) $(MSWINC)\wx_db.h
+regex:  
+        make -f $(WXDIR)\src\regex\makefile.sc FINAL=$(FINAL) 
 
-wx_cmdlg.obj: wx_cmdlg.$(SRCSUFF) $(MSWINC)\wx_cmdlg.h
+clean_regex:
+        make -f $(WXDIR)\src\regex\makefile.sc clean
 
-$(MSWINC)/wx_win.h:  $(BASEINC)/wb_win.h
-$(MSWINC)/wx_main.h:  $(BASEINC)/wb_main.h
-$(MSWINC)/wx_frame.h:  $(BASEINC)/wb_frame.h
-$(MSWINC)/wx_panel.h:  $(BASEINC)/wb_panel.h
-$(MSWINC)/wx_text.h:  $(BASEINC)/wb_text.h
-$(MSWINC)/wx_dialg.h:  $(BASEINC)/wb_dialg.h
-$(MSWINC)/wx_ipc.h:  $(BASEINC)/wb_ipc.h
-$(MSWINC)/wx_gdi.h:  $(BASEINC)/wb_gdi.h
-$(MSWINC)/wx_event.h:  $(BASEINC)/wb_event.h
-$(MSWINC)/wx_canvs.h:  $(BASEINC)/wb_canvs.h
-$(MSWINC)/wx_mf.h:  $(BASEINC)/wb_mf.h
-$(MSWINC)/wx_item.h:  $(BASEINC)/wb_item.h
-$(MSWINC)/wx_buttn.h:  $(BASEINC)/wb_buttn.h
-$(MSWINC)/wx_messg.h:  $(BASEINC)/wb_messg.h
-$(MSWINC)/wx_choic.h:  $(BASEINC)/wb_choic.h
-$(MSWINC)/wx_check.h:  $(BASEINC)/wb_check.h
-$(MSWINC)/wx_lbox.h:  $(BASEINC)/wb_lbox.h
-$(MSWINC)/wx_txt.h:  $(BASEINC)/wb_txt.h
-$(MSWINC)/wx_mtxt.h:  $(BASEINC)/wb_mtxt.h
-$(MSWINC)/wx_slidr.h:  $(BASEINC)/wb_slidr.h
-$(MSWINC)/wx_menu.h:  $(BASEINC)/wb_menu.h
+tiff:  
+        make -f $(WXDIR)\src\tiff\makefile.sc FINAL=$(FINAL) 
 
+clean_tiff:
+        make -f $(WXDIR)\src\tiff\makefile.sc clean
 
-clean:
-       -del *.obj
+MFTYPE=sc
+self : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
+       perl -x$(WXWIN)\distrib\msw\tmake -S tmake -t$(MFTYPE) wxwin.pro -o $(WXWIN)\distrib\msw\tmake\makefile.sc
+       copy $(WXWIN)\distrib\msw\tmake\makefile.$(MFTYPE) $(WXWIN)\src\msw