-#
-# File: makefile.nt
-# Author: Julian Smart
-# Created: 1997
-# Updated:
-# Copyright: (c) 1997, Julian Smart
-#
-# "%W% %G%"
-#
-# Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
-# Arguments:
-#
-# FINAL=1 argument to nmake to build version with no debugging info.
-# dll builds a library (wxdll.lib) suitable for creating DLLs
-# * Note that the dll target is experimental - see docs/dll.txt.
-#
-!include <..\makevc.env>
-
-THISDIR=$(WXWIN)\src\msw
-
-!if "$(WXMAKINGDLL)" == "1"
-LIBTARGET=$(WXDIR)\lib\wx200.dll
-DUMMYOBJ=dummydll.obj
-!else
-LIBTARGET=$(WXLIB)
-DUMMYOBJ=dummy.obj
-!endif
-
-# Please set these according to the settings in wx_setup.h, so we can include
-# the appropriate libraries in wx.lib
-
-# This one overrides the others, to be consistent with the settings in wx_setup.h
-MINIMAL_WXWINDOWS_SETUP=0
-
-PERIPH_LIBS=
-PERIPH_TARGET=
-PERIPH_CLEAN_TARGET=
-
-# These are absolute paths, so that the compiler
-# generates correct __FILE__ symbols for debugging.
-# Otherwise you don't be able to double-click on a memory
-# error to load that file.
-GENDIR=$(WXDIR)\src\generic
-COMMDIR=$(WXDIR)\src\common
-XPMDIR=$(WXDIR)\src\xpm
-OLEDIR=ole
-MSWDIR=$(WXDIR)\src\msw
-
-DOCDIR = $(WXDIR)\docs
-
-GENERICOBJS= \
- $(GENDIR)\choicdgg.obj \
- $(GENDIR)\gridg.obj \
- $(GENDIR)\laywin.obj \
- $(GENDIR)\panelg.obj \
- $(GENDIR)\prop.obj \
- $(GENDIR)\propform.obj \
- $(GENDIR)\proplist.obj \
- $(GENDIR)\sashwin.obj \
- $(GENDIR)\scrolwin.obj \
- $(GENDIR)\splitter.obj \
- $(GENDIR)\statusbr.obj \
- $(GENDIR)\tabg.obj \
- $(GENDIR)\textdlgg.obj
-
-# $(GENDIR)\imaglist.obj \
-# $(GENDIR)\treectrl.obj \
-# $(GENDIR)\listctrl.obj \
-# $(GENDIR)\notebook.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= \
- $(GENDIR)\printps.obj \
- $(GENDIR)\prntdlgg.obj \
- $(GENDIR)\msgdlgg.obj \
- $(GENDIR)\helpxlp.obj \
- $(GENDIR)\colrdlgg.obj \
- $(GENDIR)\fontdlgg.obj
-
-COMMONOBJS = \
- $(COMMDIR)\cmndata.obj \
- $(COMMDIR)\config.obj \
- $(COMMDIR)\db.obj \
- $(COMMDIR)\dbtable.obj \
- $(COMMDIR)\docview.obj \
- $(COMMDIR)\docmdi.obj \
- $(COMMDIR)\dynarray.obj \
- $(COMMDIR)\dynlib.obj \
- $(COMMDIR)\event.obj \
- $(COMMDIR)\file.obj \
- $(COMMDIR)\filefn.obj \
- $(COMMDIR)\fileconf.obj \
- $(COMMDIR)\framecmn.obj \
- $(COMMDIR)\gdicmn.obj \
- $(COMMDIR)\image.obj \
- $(COMMDIR)\intl.obj \
- $(COMMDIR)\ipcbase.obj \
- $(COMMDIR)\helpbase.obj \
- $(COMMDIR)\layout.obj \
- $(COMMDIR)\log.obj \
- $(COMMDIR)\memory.obj \
- $(COMMDIR)\mimetype.obj \
- $(COMMDIR)\module.obj \
- $(COMMDIR)\odbc.obj \
- $(COMMDIR)\object.obj \
- $(COMMDIR)\prntbase.obj \
- $(COMMDIR)\resource.obj \
- $(COMMDIR)\tbarbase.obj \
- $(COMMDIR)\tbarsmpl.obj \
- $(COMMDIR)\textfile.obj \
- $(COMMDIR)\timercmn.obj \
- $(COMMDIR)\utilscmn.obj \
- $(COMMDIR)\validate.obj \
- $(COMMDIR)\valtext.obj \
- $(COMMDIR)\date.obj \
- $(COMMDIR)\hash.obj \
- $(COMMDIR)\list.obj \
- $(COMMDIR)\string.obj \
- $(COMMDIR)\socket.obj \
- $(COMMDIR)\sckaddr.obj \
- $(COMMDIR)\sckfile.obj \
- $(COMMDIR)\sckipc.obj \
- $(COMMDIR)\sckstrm.obj \
- $(COMMDIR)\url.obj \
- $(COMMDIR)\http.obj \
- $(COMMDIR)\protocol.obj \
- $(COMMDIR)\time.obj \
- $(COMMDIR)\tokenzr.obj \
- $(COMMDIR)\wxexpr.obj \
- $(COMMDIR)\y_tab.obj \
- $(COMMDIR)\extended.obj \
- $(COMMDIR)\process.obj \
- $(COMMDIR)\wfstream.obj \
- $(COMMDIR)\mstream.obj \
- $(COMMDIR)\zstream.obj \
- $(COMMDIR)\stream.obj \
- $(COMMDIR)\datstrm.obj \
- $(COMMDIR)\objstrm.obj \
- $(COMMDIR)\variant.obj \
- $(COMMDIR)\wincmn.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)\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)\gauge95.obj \
- $(MSWDIR)\gaugemsw.obj \
- $(MSWDIR)\gdiobj.obj \
- $(MSWDIR)\helpwin.obj \
- $(MSWDIR)\icon.obj \
- $(MSWDIR)\iniconf.obj \
- $(MSWDIR)\joystick.obj \
- $(MSWDIR)\imaglist.obj \
- $(MSWDIR)\listbox.obj \
- $(MSWDIR)\listctrl.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)\notebook.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)\registry.obj \
- $(MSWDIR)\regconf.obj \
- $(MSWDIR)\scrolbar.obj \
- $(MSWDIR)\settings.obj \
- $(MSWDIR)\slidrmsw.obj \
- $(MSWDIR)\slider95.obj \
- $(MSWDIR)\spinbutt.obj \
- $(MSWDIR)\statbmp.obj \
- $(MSWDIR)\statbox.obj \
- $(MSWDIR)\statbr95.obj \
- $(MSWDIR)\stattext.obj \
- $(MSWDIR)\tabctrl.obj \
- $(MSWDIR)\taskbar.obj \
- $(MSWDIR)\tbar95.obj \
- $(MSWDIR)\tbarmsw.obj \
- $(MSWDIR)\textctrl.obj \
- $(MSWDIR)\thread.obj \
- $(MSWDIR)\timer.obj \
- $(MSWDIR)\tooltip.obj \
- $(MSWDIR)\treectrl.obj \
- $(MSWDIR)\utils.obj \
- $(MSWDIR)\utilsexc.obj \
- $(OLEDIR)\uuid.obj \
- $(MSWDIR)\wave.obj \
- $(MSWDIR)\window.obj \
- $(MSWDIR)\xpmhand.obj \
- $(OLEDIR)\dataobj.obj \
- $(OLEDIR)\automtn.obj \
- $(OLEDIR)\droptgt.obj \
- $(OLEDIR)\dropsrc.obj \
- $(OLEDIR)\oleutils.obj
-
-# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
-OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
-
-# Normal, static library
-all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm $(LIBTARGET)
-
-# wxWindows library as DLL
-dll:
- nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
-
-# wxWindows + app as DLL. Only affects main.cpp.
-dllapp:
- nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
-
-# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
-dllnp:
- nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
-
-# Use this to make dummy.obj and generate a PCH.
-# You might use the dll target, then the pch target, in order to
-# generate a DLL, then a PCH/dummy.obj for compiling your applications with.
-#
-# Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
-# are associated with wx.lib. When using a DLL version of wxWindows, however,
-# the DLL is compiled without a PCH, so you only need it for compiling the app.
-# In fact headers are compiled differently depending on whether a DLL is being made
-# or an app is calling the DLL exported functionality (WXDLLEXPORT is different
-# in each case) so you couldn't use the same PCH.
-pch:
- nmake -f makefile.vc pch1 WXUSINGDLL=1
-
-pch1: $(DUMMYOBJ)
-
-$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
- -erase $(LIBTARGET)
- $(implib) @<<
--out:$@
--machine:$(CPU)
-$(OBJECTS) $(PERIPH_LIBS)
-<<
-
-# Update the import library
-$(WXDIR)\lib\wx200.lib: $(DUMMYOBJ) $(OBJECTS)
- $(implib) @<<
- -machine:$(CPU)
- -def:wx.def
- $(DUMMYOBJ) $(OBJECTS)
- -out:$(WXDIR)\lib\wx200.lib
-<<
-
-# Update the dynamic link library
-$(WXDIR)\lib\wx200.dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\wx200.lib
- $(link) @<<
- $(LINKFLAGS)
- -out:$(WXDIR)\lib\wx200.dll
- $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\xpm.lib
-<<
-
-########################################################
-# Windows-specific objects
-
-dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
- cl $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF)
-
-dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
- cl @<<
-$(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF)
-<<
-
-$(MSWDIR)/accel.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/app.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /D__NO_VC_CRTDBG__ /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/brush.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/button.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/choice.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/colour.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/control.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/curico.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/data.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/dde.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
-<<
-
-$(MSWDIR)/dc.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/dib.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/dibutils.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/font.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/frame.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/gauge95.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/icon.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
-<<
-
-$(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
-<<