
srcdir = @srcdir@
builddir = @builddir@

PLTSRCDIR = $(srcdir)/../..
PLTBUILDDIR = $(builddir)/../..

###########################
#      Common Macros      #
###########################
CC = @CC@
CXX = @CXX@
LINKER = $(CXX)
PERL = @PERL@
RANLIB = @RANLIB@
AR = @STATIC_AR@
ARFLAGS = @ARFLAGS@
OPTIONS = @OPTIONS@ @MROPTIONS@
XINCLUDE = @X_CFLAGS@
XLIB = @X_LIBS@
LDLIBS = @X_PRE_LIBS@ -lXaw -lXmu -lXt -lX11 -lXext @X_EXTRA_LIBS@ @LIBS@
GCDIRECTORY = @GCDIR@
WBUILD = @WBUILD@

WXINC = $(PLTSRCDIR)/wxxt/src/AIAI-include -I$(PLTSRCDIR)/wxxt/src
NOGCINC = -I$(WXINC) -I$(PLTSRCDIR)/mred/wxme/ -I$(PLTBUILDDIR)/mzscheme/ -I$(PLTSRCDIR)/mzscheme/include/
INC = -I$(PLTSRCDIR)/mzscheme/$(GCDIRECTORY) $(NOGCINC)
CXXFLAGS = $(INC) $(XINCLUDE) $(OPTIONS) -Dwx_xt @COMPFLAGS@ @PROFFLAGS@ @CXXFLAGS@ @PREFLAGS@
CFLAGS = $(INC) $(XINCLUDE) $(OPTIONS) -Dwx_xt @COMPFLAGS@ @PROFFLAGS@ @CFLAGS@ @PREFLAGS@
LDFLAGS = $(XLIB)
###########################

WXDIR = ..

#------------------------------------------------------------------------------
# libraryname
#------------------------------------------------------------------------------

LIBNAME = wx_xt

#------------------------------------------------------------------------------
# objectfiles this directory
#   CCOBJS : C++    files
#   COBJS  : C      files
#   WOBJS  : Wbuild files
#------------------------------------------------------------------------------

CCOBJS =\
 Application/AppMain.@LTO@\
 Application/GlobalData.@LTO@\
\
 DataStructures/Object.@LTO@\
 DataStructures/TypeTree.@LTO@\
 DataStructures/wb_hash.@LTO@\
 DataStructures/wb_list.@LTO@\
\
 DeviceContexts/DC.@LTO@\
 DeviceContexts/MemoryDC.@LTO@\
 DeviceContexts/PSDC.@LTO@\
 DeviceContexts/WindowDC.@LTO@\
\
 Dialogs/FileDialog.@LTO@\
 Dialogs/MessageBox.@LTO@\
\
 EventHandling/wb_sysev.@LTO@\
 EventHandling/wb_stdev.@LTO@\
 EventHandling/EvtHandler.@LTO@\
\
 GDI-Classes/Bitmap.@LTO@\
 GDI-Classes/Colour.@LTO@\
 GDI-Classes/Font.@LTO@\
 GDI-Classes/FontDirectory.@LTO@\
 GDI-Classes/Pen+Brush.@LTO@\
\
 Misc/Clipboard.@LTO@\
 Misc/Timer.@LTO@\
\
 Utilities/Application.@LTO@\
 Utilities/Assert.@LTO@\
 Utilities/BusyCursor.@LTO@\
 Utilities/Date+Time.@LTO@\
 Utilities/Directory.@LTO@\
 Utilities/Error.@LTO@\
 Utilities/GDI.@LTO@\
 Utilities/Home.@LTO@\
 Utilities/Misc.@LTO@\
 Utilities/Net.@LTO@\
 Utilities/Path.@LTO@\
 Utilities/Resources.@LTO@\
 Utilities/String.@LTO@\
 Utilities/TempFile.@LTO@\
\
 Windows/Button.@LTO@\
 Windows/Canvas.@LTO@\
 Windows/CheckBox.@LTO@\
 Windows/Choice.@LTO@\
 Windows/DialogBox.@LTO@\
 \
 Windows/Frame.@LTO@\
 Windows/Gauge.@LTO@\
 Windows/Item.@LTO@\
 Windows/Layout.@LTO@\
 Windows/ListBox.@LTO@\
 Windows/Menu.@LTO@\
 Windows/MenuBar.@LTO@\
 Windows/Message.@LTO@\
 Windows/Panel.@LTO@\
 Windows/RadioBox.@LTO@\
 Windows/Slider.@LTO@\
 Windows/Window.@LTO@

COBJS =\
 XWidgets/xwTabString.@LTO@\
 XWidgets/xwTools3d.@LTO@\
 XWidgets/xwscroll.@LTO@\
\
 XWidgets/xwMenu.@LTO@\
\
 XWidgets/xwMultiList.@LTO@

WOBJS =\
 XWidgets/xwCommon.@LTO@\
 XWidgets/xwFrame.@LTO@\
 XWidgets/xwBoard.@LTO@\
 XWidgets/xwLabel.@LTO@\
 XWidgets/xwButton.@LTO@\
 XWidgets/xwToggle.@LTO@\
\
 XWidgets/xwCanvas.@LTO@\
 XWidgets/xwEnforcer.@LTO@\
 XWidgets/xwGroup.@LTO@\
 XWidgets/xwRowCol.@LTO@\
\
 XWidgets/xwArrow.@LTO@\
 XWidgets/xwSlider2.@LTO@\
 XWidgets/xwHScrollb.@LTO@\
 XWidgets/xwVScrollb.@LTO@\
 XWidgets/xwScrollbar.@LTO@\
\
 XWidgets/xwScrollWin.@LTO@

OBJS = $(COBJS) $(WOBJS) $(CCOBJS)

#------------------------------------------------------------------------------
# dependencies for wbuild widgets
#------------------------------------------------------------------------------

xwArrow_w_dep     = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwArrow.w
xwBoard_w_dep     = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w
xwButton_w_dep    = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwLabel.w $(srcdir)/XWidgets/xwButton.w
xwCanvas_w_dep    = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwCanvas.w
xwCommon_w_dep    = $(srcdir)/XWidgets/xwCommon.w
xwMenu_w_dep    = $(srcdir)/XWidgets/xwBoard.w $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w \
			 $(srcdir)/XWidgets/xwMenu.w
xwEnforcer_w_dep  = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwEnforcer.w
xwFrame_w_dep     = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w
xwGroup_w_dep     = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwRowCol.w $(srcdir)/XWidgets/xwGroup.w
xwHScrollb_w_dep  = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwScrollbar.w $(srcdir)/XWidgets/xwHScrollb.w
xwLabel_w_dep     = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwLabel.w
xwRowCol_w_dep    = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwRowCol.w
xwScrollWin_w_dep = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwScrollWin.w
xwScrollbar_w_dep = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwScrollbar.w
xwSlider2_w_dep   = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwLabel.w $(srcdir)/XWidgets/xwSlider2.w
xwToggle_w_dep    = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwLabel.w $(srcdir)/XWidgets/xwButton.w $(srcdir)/XWidgets/xwToggle.w
xwVScrollb_w_dep  = $(srcdir)/XWidgets/xwCommon.w $(srcdir)/XWidgets/xwFrame.w $(srcdir)/XWidgets/xwBoard.w \
			 $(srcdir)/XWidgets/xwScrollbar.w $(srcdir)/XWidgets/xwVScrollb.w

#------------------------------------------------------------------------------
# generated rules
#------------------------------------------------------------------------------

_WX_CXX_FLAGS = @WX_MMD_FLAG@ -I$(srcdir) -I$(srcdir)/XWidgets
_WX_C_FLAGS = @WX_MMD_FLAG@ -I$(srcdir)/XWidgets

all: lib$(LIBNAME).@LIBSFX@

min: $(COBJS) $(WOBJS)

lib$(LIBNAME).@LIBSFX@: $(OBJS)
	$(AR) $(ARFLAGS) lib$(LIBNAME).@LIBSFX@ $(OBJS)
	$(RANLIB) $@

Application/AppMain.@LTO@: $(srcdir)/Application/AppMain.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Application/AppMain.@LTO@ $(srcdir)/Application/AppMain.cc
Application/GlobalData.@LTO@: $(srcdir)/Application/GlobalData.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Application/GlobalData.@LTO@ $(srcdir)/Application/GlobalData.cc

DataStructures/Object.@LTO@: $(srcdir)/DataStructures/Object.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o DataStructures/Object.@LTO@ $(srcdir)/DataStructures/Object.cc
DataStructures/TypeTree.@LTO@: $(srcdir)/DataStructures/TypeTree.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o DataStructures/TypeTree.@LTO@ $(srcdir)/DataStructures/TypeTree.cc
DataStructures/wb_hash.@LTO@: $(srcdir)/DataStructures/wb_hash.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o DataStructures/wb_hash.@LTO@ $(srcdir)/DataStructures/wb_hash.cc
DataStructures/wb_list.@LTO@: $(srcdir)/DataStructures/wb_list.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o DataStructures/wb_list.@LTO@ $(srcdir)/DataStructures/wb_list.cc

DeviceContexts/DC.@LTO@: $(srcdir)/DeviceContexts/DC.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o DeviceContexts/DC.@LTO@ $(srcdir)/DeviceContexts/DC.cc
DeviceContexts/WindowDC.@LTO@: $(srcdir)/DeviceContexts/WindowDC.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o DeviceContexts/WindowDC.@LTO@ $(srcdir)/DeviceContexts/WindowDC.cc
DeviceContexts/PSDC.@LTO@: $(srcdir)/DeviceContexts/PSDC.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o DeviceContexts/PSDC.@LTO@ $(srcdir)/DeviceContexts/PSDC.cc
DeviceContexts/MemoryDC.@LTO@: $(srcdir)/DeviceContexts/MemoryDC.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o DeviceContexts/MemoryDC.@LTO@ $(srcdir)/DeviceContexts/MemoryDC.cc

Dialogs/FileDialog.@LTO@: $(srcdir)/Dialogs/FileDialog.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Dialogs/FileDialog.@LTO@ $(srcdir)/Dialogs/FileDialog.cc
Dialogs/MessageBox.@LTO@: $(srcdir)/Dialogs/MessageBox.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Dialogs/MessageBox.@LTO@ $(srcdir)/Dialogs/MessageBox.cc

EventHandling/EvtHandler.@LTO@: $(srcdir)/EventHandling/EvtHandler.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o EventHandling/EvtHandler.@LTO@ $(srcdir)/EventHandling/EvtHandler.cc
EventHandling/wb_sysev.@LTO@: $(srcdir)/EventHandling/wb_sysev.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o EventHandling/wb_sysev.@LTO@ $(srcdir)/EventHandling/wb_sysev.cc
EventHandling/wb_stdev.@LTO@: $(srcdir)/EventHandling/wb_stdev.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o EventHandling/wb_stdev.@LTO@ $(srcdir)/EventHandling/wb_stdev.cc

GDI-Classes/Bitmap.@LTO@: $(srcdir)/GDI-Classes/Bitmap.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o GDI-Classes/Bitmap.@LTO@ $(srcdir)/GDI-Classes/Bitmap.cc
GDI-Classes/Pen+Brush.@LTO@: $(srcdir)/GDI-Classes/Pen+Brush.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o GDI-Classes/Pen+Brush.@LTO@ $(srcdir)/GDI-Classes/Pen+Brush.cc
GDI-Classes/Colour.@LTO@: $(srcdir)/GDI-Classes/Colour.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o GDI-Classes/Colour.@LTO@ $(srcdir)/GDI-Classes/Colour.cc
GDI-Classes/Font.@LTO@: $(srcdir)/GDI-Classes/Font.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o GDI-Classes/Font.@LTO@ $(srcdir)/GDI-Classes/Font.cc
GDI-Classes/FontDirectory.@LTO@: $(srcdir)/GDI-Classes/FontDirectory.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o GDI-Classes/FontDirectory.@LTO@ $(srcdir)/GDI-Classes/FontDirectory.cc

Misc/Clipboard.@LTO@: $(srcdir)/Misc/Clipboard.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Misc/Clipboard.@LTO@ $(srcdir)/Misc/Clipboard.cc
Misc/Timer.@LTO@: $(srcdir)/Misc/Timer.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Misc/Timer.@LTO@ $(srcdir)/Misc/Timer.cc

Utilities/Application.@LTO@: $(srcdir)/Utilities/Application.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_C_FLAGS) -o Utilities/Application.@LTO@ $(srcdir)/Utilities/Application.cc
Utilities/Assert.@LTO@: $(srcdir)/Utilities/Assert.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_C_FLAGS) -o Utilities/Assert.@LTO@ $(srcdir)/Utilities/Assert.cc
Utilities/BusyCursor.@LTO@: $(srcdir)/Utilities/BusyCursor.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/BusyCursor.@LTO@ $(srcdir)/Utilities/BusyCursor.cc
Utilities/Date+Time.@LTO@: $(srcdir)/Utilities/Date+Time.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/Date+Time.@LTO@ $(srcdir)/Utilities/Date+Time.cc
Utilities/Directory.@LTO@: $(srcdir)/Utilities/Directory.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/Directory.@LTO@ $(srcdir)/Utilities/Directory.cc
Utilities/Error.@LTO@: $(srcdir)/Utilities/Error.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/Error.@LTO@ $(srcdir)/Utilities/Error.cc
Utilities/GDI.@LTO@: $(srcdir)/Utilities/GDI.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/GDI.@LTO@ $(srcdir)/Utilities/GDI.cc
Utilities/Home.@LTO@: $(srcdir)/Utilities/Home.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/Home.@LTO@ $(srcdir)/Utilities/Home.cc
Utilities/Misc.@LTO@: $(srcdir)/Utilities/Misc.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/Misc.@LTO@ $(srcdir)/Utilities/Misc.cc
Utilities/Net.@LTO@: $(srcdir)/Utilities/Net.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o Utilities/Net.@LTO@ $(srcdir)/Utilities/Net.c
Utilities/Path.@LTO@: $(srcdir)/Utilities/Path.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/Path.@LTO@ $(srcdir)/Utilities/Path.cc
Utilities/Resources.@LTO@: $(srcdir)/Utilities/Resources.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/Resources.@LTO@ $(srcdir)/Utilities/Resources.cc
Utilities/String.@LTO@: $(srcdir)/Utilities/String.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/String.@LTO@ $(srcdir)/Utilities/String.cc
Utilities/TempFile.@LTO@: $(srcdir)/Utilities/TempFile.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Utilities/TempFile.@LTO@ $(srcdir)/Utilities/TempFile.cc

Windows/Button.@LTO@: $(srcdir)/Windows/Button.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Button.@LTO@ $(srcdir)/Windows/Button.cc
Windows/Canvas.@LTO@: $(srcdir)/Windows/Canvas.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Canvas.@LTO@ $(srcdir)/Windows/Canvas.cc
Windows/CheckBox.@LTO@: $(srcdir)/Windows/CheckBox.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/CheckBox.@LTO@ $(srcdir)/Windows/CheckBox.cc
Windows/Choice.@LTO@: $(srcdir)/Windows/Choice.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Choice.@LTO@ $(srcdir)/Windows/Choice.cc
Windows/DialogBox.@LTO@: $(srcdir)/Windows/DialogBox.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/DialogBox.@LTO@ $(srcdir)/Windows/DialogBox.cc
Windows/Frame.@LTO@: $(srcdir)/Windows/Frame.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Frame.@LTO@ $(srcdir)/Windows/Frame.cc
Windows/Gauge.@LTO@: $(srcdir)/Windows/Gauge.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Gauge.@LTO@ $(srcdir)/Windows/Gauge.cc
Windows/Item.@LTO@: $(srcdir)/Windows/Item.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Item.@LTO@ $(srcdir)/Windows/Item.cc
Windows/Layout.@LTO@: $(srcdir)/Windows/Layout.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Layout.@LTO@ $(srcdir)/Windows/Layout.cc
Windows/ListBox.@LTO@: $(srcdir)/Windows/ListBox.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/ListBox.@LTO@ $(srcdir)/Windows/ListBox.cc
Windows/Menu.@LTO@: $(srcdir)/Windows/Menu.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Menu.@LTO@ $(srcdir)/Windows/Menu.cc
Windows/MenuBar.@LTO@: $(srcdir)/Windows/MenuBar.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/MenuBar.@LTO@ $(srcdir)/Windows/MenuBar.cc
Windows/Message.@LTO@: $(srcdir)/Windows/Message.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Message.@LTO@ $(srcdir)/Windows/Message.cc
Windows/Panel.@LTO@: $(srcdir)/Windows/Panel.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Panel.@LTO@ $(srcdir)/Windows/Panel.cc
Windows/RadioBox.@LTO@: $(srcdir)/Windows/RadioBox.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/RadioBox.@LTO@ $(srcdir)/Windows/RadioBox.cc
Windows/Slider.@LTO@: $(srcdir)/Windows/Slider.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Slider.@LTO@ $(srcdir)/Windows/Slider.cc
Windows/Window.@LTO@: $(srcdir)/Windows/Window.cc
	$(CXX) -c $(CXXFLAGS) $(_WX_CXX_FLAGS) -o Windows/Window.@LTO@ $(srcdir)/Windows/Window.cc

XWidgets/wxAllocColor.@LTO@: $(srcdir)/XWidgets/wxAllocColor.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/wxAllocColor.@LTO@ $(srcdir)/XWidgets/wxAllocColor.c
XWidgets/xwArrow.@LTO@: $(srcdir)/XWidgets/xwArrow.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwArrow.@LTO@ $(srcdir)/XWidgets/xwArrow.c
XWidgets/xwBoard.@LTO@: $(srcdir)/XWidgets/xwBoard.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwBoard.@LTO@ $(srcdir)/XWidgets/xwBoard.c
XWidgets/xwButton.@LTO@: $(srcdir)/XWidgets/xwButton.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwButton.@LTO@ $(srcdir)/XWidgets/xwButton.c
XWidgets/xwCanvas.@LTO@: $(srcdir)/XWidgets/xwCanvas.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwCanvas.@LTO@ $(srcdir)/XWidgets/xwCanvas.c
XWidgets/xwCommon.@LTO@: $(srcdir)/XWidgets/xwCommon.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwCommon.@LTO@ $(srcdir)/XWidgets/xwCommon.c
XWidgets/xwEnforcer.@LTO@: $(srcdir)/XWidgets/xwEnforcer.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwEnforcer.@LTO@ $(srcdir)/XWidgets/xwEnforcer.c
XWidgets/xwFrame.@LTO@: $(srcdir)/XWidgets/xwFrame.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwFrame.@LTO@ $(srcdir)/XWidgets/xwFrame.c
XWidgets/xwGroup.@LTO@: $(srcdir)/XWidgets/xwGroup.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwGroup.@LTO@ $(srcdir)/XWidgets/xwGroup.c
XWidgets/xwHScrollb.@LTO@: $(srcdir)/XWidgets/xwHScrollb.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwHScrollb.@LTO@ $(srcdir)/XWidgets/xwHScrollb.c
XWidgets/xwLabel.@LTO@: $(srcdir)/XWidgets/xwLabel.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwLabel.@LTO@ $(srcdir)/XWidgets/xwLabel.c
XWidgets/xwMenu.@LTO@: $(srcdir)/XWidgets/xwMenu.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwMenu.@LTO@ $(srcdir)/XWidgets/xwMenu.c
XWidgets/xwMultiList.@LTO@: $(srcdir)/XWidgets/xwMultiList.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwMultiList.@LTO@ $(srcdir)/XWidgets/xwMultiList.c
XWidgets/xwRowCol.@LTO@: $(srcdir)/XWidgets/xwRowCol.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwRowCol.@LTO@ $(srcdir)/XWidgets/xwRowCol.c
XWidgets/xwScrollWin.@LTO@: $(srcdir)/XWidgets/xwScrollWin.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwScrollWin.@LTO@ $(srcdir)/XWidgets/xwScrollWin.c
XWidgets/xwScrollbar.@LTO@: $(srcdir)/XWidgets/xwScrollbar.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwScrollbar.@LTO@ $(srcdir)/XWidgets/xwScrollbar.c
XWidgets/xwSlider2.@LTO@: $(srcdir)/XWidgets/xwSlider2.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwSlider2.@LTO@ $(srcdir)/XWidgets/xwSlider2.c
XWidgets/xwTabString.@LTO@: $(srcdir)/XWidgets/xwTabString.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwTabString.@LTO@ $(srcdir)/XWidgets/xwTabString.c
XWidgets/xwToggle.@LTO@: $(srcdir)/XWidgets/xwToggle.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwToggle.@LTO@ $(srcdir)/XWidgets/xwToggle.c
XWidgets/xwTools3d.@LTO@: $(srcdir)/XWidgets/xwTools3d.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwTools3d.@LTO@ $(srcdir)/XWidgets/xwTools3d.c
XWidgets/xwVScrollb.@LTO@: $(srcdir)/XWidgets/xwVScrollb.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwVScrollb.@LTO@ $(srcdir)/XWidgets/xwVScrollb.c
XWidgets/xwscroll.@LTO@: $(srcdir)/XWidgets/xwscroll.c
	$(CC) -c $(CFLAGS) $(_WX_C_FLAGS) -o XWidgets/xwscroll.@LTO@ $(srcdir)/XWidgets/xwscroll.c

clean:
	rm -f Application/*.@LTO@ Application/*.d
	rm -f DataStructures/*.@LTO@ DataStructures/*.d
	rm -f DeviceContexts/*.@LTO@ DeviceContexts/*.d
	rm -f Dialogs/*.@LTO@ Dialogs/*.d
	rm -f EventHandling/*.@LTO@ EventHandling/*.d
	rm -f GDI-Classes/*.@LTO@ GDI-Classes/*.d
	rm -f Misc/*.@LTO@ Misc/*.d
	rm -f Utilities/*.@LTO@ Utilities/*.d
	rm -f Windows/*.@LTO@ Windows/*.d
	rm -f XWidgets/*.@LTO@ XWidgets/*.d
	rm -f lib$(LIBNAME).@LIBSFX@

#------------------------------------------------------------------------------
# dependencies (imprecise)
#------------------------------------------------------------------------------

$(srcdir)/XWidgets/xwArrow.c $(srcdir)/XWidgets/xwArrow.h: $(srcdir)/XWidgets/xwArrow.w
	$(WBUILD) $(xwArrow_w_dep)
$(srcdir)/XWidgets/xwBoard.c $(srcdir)/XWidgets/xwBoard.h: $(srcdir)/XWidgets/xwBoard.w
	$(WBUILD) $(xwBoard_w_dep)
$(srcdir)/XWidgets/xwButton.c $(srcdir)/XWidgets/xwButton.h: $(srcdir)/XWidgets/xwButton.w
	$(WBUILD) $(xwButton_w_dep)
$(srcdir)/XWidgets/xwCanvas.c $(srcdir)/XWidgets/xwCanvas.h: $(srcdir)/XWidgets/xwCanvas.w
	$(WBUILD) $(xwCanvas_w_dep)
$(srcdir)/XWidgets/xwCommon.c $(srcdir)/XWidgets/xwCommon.h: $(srcdir)/XWidgets/xwCommon.w
	$(WBUILD) $(xwCommon_w_dep)
$(srcdir)/XWidgets/xwEnforcer.c $(srcdir)/XWidgets/xwEnforcer.h: $(srcdir)/XWidgets/xwEnforcer.w
	$(WBUILD) $(xwEnforcer_w_dep)
$(srcdir)/XWidgets/xwFrame.c $(srcdir)/XWidgets/xwFrame.h: $(srcdir)/XWidgets/xwFrame.w
	$(WBUILD) $(xwFrame_w_dep)
$(srcdir)/XWidgets/xwGroup.c $(srcdir)/XWidgets/xwGroup.h: $(srcdir)/XWidgets/xwGroup.w
	$(WBUILD) $(xwGroup_w_dep)
$(srcdir)/XWidgets/xwHScrollb.c $(srcdir)/XWidgets/xwHScrollb.h: $(srcdir)/XWidgets/xwHScrollb.w
	$(WBUILD) $(xwHScrollb_w_dep)
$(srcdir)/XWidgets/xwLabel.c $(srcdir)/XWidgets/xwLabel.h: $(srcdir)/XWidgets/xwLabel.w
	$(WBUILD) $(xwLabel_w_dep)
$(srcdir)/XWidgets/xwRowCol.c $(srcdir)/XWidgets/xwRowCol.h: $(srcdir)/XWidgets/xwRowCol.w
	$(WBUILD) $(xwRowCol_w_dep)
$(srcdir)/XWidgets/xwScrollWin.c $(srcdir)/XWidgets/xwScrollWin.h: $(srcdir)/XWidgets/xwScrollWin.w
	$(WBUILD) $(xwScrollWin_w_dep)
$(srcdir)/XWidgets/xwScrollbar.c $(srcdir)/XWidgets/xwScrollbar.h: $(srcdir)/XWidgets/xwScrollbar.w
	$(WBUILD) $(xwScrollbar_w_dep)
$(srcdir)/XWidgets/xwSlider2.c $(srcdir)/XWidgets/xwSlider2.h: $(srcdir)/XWidgets/xwSlider2.w
	$(WBUILD) $(xwSlider2_w_dep)
$(srcdir)/XWidgets/xwToggle.c $(srcdir)/XWidgets/xwToggle.h: $(srcdir)/XWidgets/xwToggle.w
	$(WBUILD) $(xwToggle_w_dep)
$(srcdir)/XWidgets/xwVScrollb.c $(srcdir)/XWidgets/xwVScrollb.h: $(srcdir)/XWidgets/xwVScrollb.w
	$(WBUILD) $(xwVScrollb_w_dep)
 
Application/AppMain.@LTO@:\
	$(srcdir)/Application/AppMain.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/DataStructures/PrintSetup.h $(srcdir)/Application/AppMain.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/GDI-Classes/FontDirectory.h $(srcdir)/../../wxcommon/FontDirectory.h

Application/GlobalData.@LTO@:\
	$(srcdir)/Application/GlobalData.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/../../wxcommon/wx_hash.h $(srcdir)/DataStructures/TypeTree.h

DataStructures/Object.@LTO@:\
	$(srcdir)/DataStructures/Object.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/../../wxcommon/wx_hash.h

DataStructures/TypeTree.@LTO@:\
	$(srcdir)/DataStructures/TypeTree.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/../../wxcommon/wx_hash.h $(srcdir)/DataStructures/TypeTree.h

DataStructures/wb_hash.@LTO@:\
	$(srcdir)/DataStructures/wb_hash.cc $(srcdir)/../../wxcommon/wb_hash.cxx \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/../../wxcommon/wx_hash.h

DataStructures/wb_list.@LTO@:\
	$(srcdir)/DataStructures/wb_list.cc $(srcdir)/../../wxcommon/wb_list.cxx \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h

DeviceContexts/DC.@LTO@:\
	$(srcdir)/DeviceContexts/DC.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/DeviceContexts/DC.h

DeviceContexts/MemoryDC.@LTO@:\
	$(srcdir)/DeviceContexts/MemoryDC.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/DeviceContexts/DC.h $(srcdir)/DeviceContexts/WindowDC.h \
	$(srcdir)/DeviceContexts/MemoryDC.h

DeviceContexts/PSDC.@LTO@:\
	$(srcdir)/DeviceContexts/PSDC.cc $(srcdir)/../../wxcommon/PSDC.cxx \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/DataStructures/PrintSetup.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/FontDirectory.h $(srcdir)/../../wxcommon/FontDirectory.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h $(srcdir)/Utilities/Net.h \
	$(srcdir)/DeviceContexts/PSDC.h $(srcdir)/../../wxcommon/PSDC.h

DeviceContexts/WindowDC.@LTO@:\
	$(srcdir)/DeviceContexts/WindowDC.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/DeviceContexts/DC.h $(srcdir)/DeviceContexts/WindowDC.h

Dialogs/FileDialog.@LTO@:\
	$(srcdir)/Dialogs/FileDialog.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/EventHandling/wx_sysev.h $(srcdir)/EventHandling/wx_stdev.h $(srcdir)/EventHandling/EvtHandler.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/DeviceContexts/DC.h $(srcdir)/DeviceContexts/WindowDC.h \
	$(srcdir)/Windows/Layout.h $(srcdir)/Windows/Window.h $(srcdir)/Windows/Panel.h \
	$(srcdir)/Windows/Frame.h $(srcdir)/Windows/DialogBox.h $(srcdir)/Windows/Item.h \
	$(srcdir)/Windows/Button.h $(srcdir)/Windows/ListBox.h $(srcdir)/Windows/Message.h

Dialogs/MessageBox.@LTO@:\
	$(srcdir)/Dialogs/MessageBox.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h $(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Window.h \
	$(srcdir)/Windows/Panel.h $(srcdir)/Windows/Frame.h $(srcdir)/Windows/DialogBox.h

EventHandling/wb_stdev.@LTO@:\
	$(srcdir)/EventHandling/wb_stdev.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/EventHandling/wx_sysev.h $(srcdir)/EventHandling/wx_stdev.h

EventHandling/wb_sysev.@LTO@:\
	$(srcdir)/EventHandling/wb_sysev.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h

EventHandling/EvtHandler.@LTO@:\
	$(srcdir)/EventHandling/EvtHandler.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/EventHandling/wx_sysev.h $(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h

GDI-Classes/Bitmap.@LTO@:\
	$(srcdir)/GDI-Classes/Bitmap.cc $(srcdir)/DeviceContexts/DC.h $(srcdir)/DeviceContexts/MemoryDC.h \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h

GDI-Classes/Colour.@LTO@:\
	$(srcdir)/GDI-Classes/Colour.cc $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/GDI-Classes/Colour.h

GDI-Classes/Font.@LTO@:\
	$(srcdir)/GDI-Classes/Font.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/GDI-Classes/Font.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/GDI-Classes/FontDirectory.h $(srcdir)/../../wxcommon/FontDirectory.h

GDI-Classes/FontDirectory.@LTO@:\
	$(srcdir)/GDI-Classes/FontDirectory.cc $(srcdir)/../../wxcommon/FontDirectory.cxx \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/GDI-Classes/FontDirectory.h $(srcdir)/../../wxcommon/FontDirectory.h \
	$(srcdir)/DeviceContexts/DC.h

GDI-Classes/Pen+Brush.@LTO@:\
	$(srcdir)/GDI-Classes/Pen+Brush.cc  $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/../../wxcommon/Region.h $(srcdir)/../../wxcommon/Region.cxx

Misc/Timer.@LTO@:\
	$(srcdir)/Misc/Timer.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/Misc/Timer.h

Misc/Clipboard.@LTO@:\
	$(srcdir)/Misc/Clipboard.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/Application/GlobalData.h \
	$(srcdir)/Misc/Clipboard.h $(srcdir)/Windows/Frame.h $(srcdir)/Windows/Window.h

Utilities/Application.@LTO@:\
	$(srcdir)/Utilities/Application.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/Application/AppMain.h

Utilities/Assert.@LTO@:\
	$(srcdir)/Utilities/Assert.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/BusyCursor.@LTO@:\
	$(srcdir)/Utilities/BusyCursor.cc $(srcdir)/Application/GlobalData.h \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/Date+Time.@LTO@:\
	$(srcdir)/Utilities/Date+Time.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/Directory.@LTO@:\
	$(srcdir)/Utilities/Directory.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/Error.@LTO@:\
	$(srcdir)/Utilities/Error.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/GDI.@LTO@:\
	$(srcdir)/Utilities/GDI.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/Home.@LTO@:\
	$(srcdir)/Utilities/Home.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/Misc.@LTO@:\
	$(srcdir)/Utilities/Misc.cc $(srcdir)/Application/GlobalData.h \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/Net.@LTO@:\
	$(srcdir)/Utilities/Net.c \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/Path.@LTO@:\
	$(srcdir)/Utilities/Path.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/Resources.@LTO@:\
	$(srcdir)/Utilities/Resources.cc \
	$(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/String.@LTO@:\
	$(srcdir)/Utilities/String.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Utilities/TempFile.@LTO@:\
	$(srcdir)/Utilities/TempFile.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h 

Windows/Button.@LTO@:\
	$(srcdir)/Windows/Button.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Window.h \
	$(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h $(srcdir)/Windows/Button.h

Windows/Canvas.@LTO@:\
	$(srcdir)/Windows/Canvas.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Window.h \
	$(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h $(srcdir)/Windows/Canvas.h

Windows/CheckBox.@LTO@:\
	$(srcdir)/Windows/CheckBox.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/EventHandling/wx_sysev.h $(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/DeviceContexts/DC.h $(srcdir)/DeviceContexts/WindowDC.h \
	$(srcdir)/Windows/Window.h $(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h \
	$(srcdir)/Windows/CheckBox.h

Windows/Choice.@LTO@:\
	$(srcdir)/Windows/Choice.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Window.h \
	$(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h $(srcdir)/Windows/Choice.h

Windows/DialogBox.@LTO@:\
	$(srcdir)/Windows/DialogBox.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/EventHandling/wx_sysev.h $(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/DeviceContexts/DC.h $(srcdir)/DeviceContexts/WindowDC.h \
	$(srcdir)/Windows/Window.h $(srcdir)/Windows/Panel.h $(srcdir)/Windows/Frame.h \
	$(srcdir)/Windows/DialogBox.h

Windows/Frame.@LTO@:\
	$(srcdir)/Windows/Frame.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/../../wxcommon/wx_hash.h \
	$(srcdir)/DataStructures/TypeTree.h $(srcdir)/Application/AppMain.h \
	$(srcdir)/Application/GlobalData.h \
	$(srcdir)/EventHandling/wx_sysev.h $(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/DeviceContexts/DC.h $(srcdir)/DeviceContexts/WindowDC.h \
	$(srcdir)/Windows/Layout.h $(srcdir)/Windows/Window.h $(srcdir)/Windows/Panel.h \
	$(srcdir)/Windows/Frame.h $(srcdir)/Windows/Item.h $(srcdir)/Windows/Menu.h \
	$(srcdir)/Windows/MenuBar.h $(srcdir)/Windows/Message.h

Windows/Gauge.@LTO@:\
	$(srcdir)/Windows/Gauge.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Window.h \
	$(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h $(srcdir)/Windows/Gauge.h

Windows/Item.@LTO@:\
	$(srcdir)/Windows/Item.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Window.h \
	$(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h

Windows/Layout.@LTO@:\
	$(srcdir)/Windows/Layout.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/../../wxcommon/wx_hash.h \
	$(srcdir)/DataStructures/TypeTree.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Layout.h \
	$(srcdir)/Windows/Window.h $(srcdir)/Windows/Panel.h $(srcdir)/Windows/Frame.h

Windows/ListBox.@LTO@:\
	$(srcdir)/Windows/ListBox.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/EventHandling/wx_sysev.h $(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/DeviceContexts/DC.h $(srcdir)/DeviceContexts/WindowDC.h \
	$(srcdir)/Windows/Window.h $(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h \
	$(srcdir)/Windows/ListBox.h

Windows/Menu.@LTO@:\
	$(srcdir)/Windows/Menu.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/Application/GlobalData.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/Windows/Menu.h

Windows/MenuBar.@LTO@:\
	$(srcdir)/Windows/MenuBar.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Layout.h \
	$(srcdir)/Windows/Window.h $(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h \
	$(srcdir)/Windows/Menu.h $(srcdir)/Windows/MenuBar.h

Windows/Message.@LTO@:\
	$(srcdir)/Windows/Message.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Window.h \
	$(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h $(srcdir)/Windows/Message.h

Windows/Panel.@LTO@:\
	$(srcdir)/Windows/Panel.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/../../wxcommon/wx_hash.h \
	$(srcdir)/DataStructures/TypeTree.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Window.h \
	$(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h $(srcdir)/Windows/Button.h

Windows/RadioBox.@LTO@:\
	$(srcdir)/Windows/RadioBox.cc \
	$(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h $(srcdir)/../../wxcommon/wx_list.h \
	$(srcdir)/EventHandling/wx_sysev.h $(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h \
	$(srcdir)/GDI-Classes/Bitmap.h $(srcdir)/GDI-Classes/Colour.h \
	$(srcdir)/GDI-Classes/Font.h $(srcdir)/GDI-Classes/Pen+Brush.h \
	$(srcdir)/DeviceContexts/DC.h $(srcdir)/DeviceContexts/WindowDC.h \
	$(srcdir)/Windows/Window.h $(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h \
	$(srcdir)/Windows/RadioBox.h

Windows/Slider.@LTO@:\
	$(srcdir)/Windows/Slider.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Window.h \
	$(srcdir)/Windows/Panel.h $(srcdir)/Windows/Item.h $(srcdir)/Windows/Slider.h

Windows/Window.@LTO@:\
	$(srcdir)/Windows/Window.cc $(srcdir)/DataStructures/Object.h $(srcdir)/../../wxcommon/wxGC.h \
	$(srcdir)/../../wxcommon/wx_list.h $(srcdir)/../../wxcommon/wx_hash.h \
	$(srcdir)/DataStructures/TypeTree.h $(srcdir)/EventHandling/wx_sysev.h \
	$(srcdir)/EventHandling/wx_stdev.h \
	$(srcdir)/EventHandling/EvtHandler.h $(srcdir)/GDI-Classes/Bitmap.h \
	$(srcdir)/GDI-Classes/Colour.h $(srcdir)/GDI-Classes/Font.h \
	$(srcdir)/GDI-Classes/Pen+Brush.h $(srcdir)/DeviceContexts/DC.h \
	$(srcdir)/DeviceContexts/WindowDC.h $(srcdir)/Windows/Layout.h \
	$(srcdir)/Windows/Window.h $(srcdir)/Windows/Menu.h

XWidgets/xwTabString.@LTO@:\
	$(srcdir)/XWidgets/xwTabString.c

XWidgets/xwTools3d.@LTO@:\
	$(srcdir)/XWidgets/xwTools3d.c

XWidgets/xwscroll.@LTO@:\
	$(srcdir)/XWidgets/xwscroll.c

XWidgets/xwMenu.@LTO@:\
	$(srcdir)/XWidgets/xwMenu.c $(srcdir)/XWidgets/xwMenu.h $(srcdir)/XWidgets/xwMenuP.h

XWidgets/xwMultiList.@LTO@:\
	$(srcdir)/XWidgets/xwMultiList.c $(srcdir)/XWidgets/xwMultiList.h $(srcdir)/XWidgets/xwMultiListP.h

XWidgets/xwCommon.@LTO@:	 $(xwCommon_w_dep) $(srcdir)/XWidgets/wxAllocColor.c

XWidgets/xwFrame.@LTO@:	 $(xwFrame_w_dep)

XWidgets/xwBoard.@LTO@:	 $(xwBoard_w_dep)

XWidgets/xwLabel.@LTO@:	 $(xwLabel_w_dep)

XWidgets/xwButton.@LTO@:	 $(xwButton_w_dep)

XWidgets/xwToggle.@LTO@:	 $(xwToggle_w_dep)

XWidgets/xwCanvas.@LTO@:	 $(xwCanvas_w_dep)

XWidgets/xwEnforcer.@LTO@:	 $(xwEnforcer_w_dep)

XWidgets/xwGroup.@LTO@:	 $(xwGroup_w_dep)

XWidgets/xwRowCol.@LTO@:	 $(xwRowCol_w_dep)

XWidgets/xwArrow.@LTO@:	 $(xwArrow_w_dep)

XWidgets/xwSlider2.@LTO@:	 $(xwSlider2_w_dep)

XWidgets/xwHScrollb.@LTO@:	 $(xwHScrollb_w_dep)

XWidgets/xwVScrollb.@LTO@:	 $(xwVScrollb_w_dep)

XWidgets/xwScrollbar.@LTO@:	 $(xwScrollbar_w_dep)

XWidgets/xwScrollWin.@LTO@:	 $(xwScrollWin_w_dep)

#------------------------------------------------------------------------------
# auto dependencies
#------------------------------------------------------------------------------

@INCLUDEDEP@ Application/AppMain.d
@INCLUDEDEP@ Application/GlobalData.d
@INCLUDEDEP@ DataStructures/Object.d
@INCLUDEDEP@ DataStructures/TypeTree.d
@INCLUDEDEP@ DataStructures/wb_hash.d
@INCLUDEDEP@ DataStructures/wb_list.d
@INCLUDEDEP@ DeviceContexts/DC.d
@INCLUDEDEP@ DeviceContexts/MemoryDC.d
@INCLUDEDEP@ DeviceContexts/PSDC.d
@INCLUDEDEP@ DeviceContexts/WindowDC.d
@INCLUDEDEP@ Dialogs/FileDialog.d
@INCLUDEDEP@ Dialogs/MessageBox.d
@INCLUDEDEP@ EventHandling/wb_stdev.d
@INCLUDEDEP@ EventHandling/wb_sysev.d
@INCLUDEDEP@ EventHandling/EvtHandler.d
@INCLUDEDEP@ GDI-Classes/Bitmap.d
@INCLUDEDEP@ GDI-Classes/Colour.d
@INCLUDEDEP@ GDI-Classes/Font.d
@INCLUDEDEP@ GDI-Classes/FontDirectory.d
@INCLUDEDEP@ GDI-Classes/Pen+Brush.d
@INCLUDEDEP@ Misc/Timer.d
@INCLUDEDEP@ Misc/Clipboard.d
@INCLUDEDEP@ Utilities/Application.d
@INCLUDEDEP@ Utilities/Assert.d
@INCLUDEDEP@ Utilities/BusyCursor.d
@INCLUDEDEP@ Utilities/Date+Time.d
@INCLUDEDEP@ Utilities/Directory.d
@INCLUDEDEP@ Utilities/Error.d
@INCLUDEDEP@ Utilities/GDI.d
@INCLUDEDEP@ Utilities/Home.d
@INCLUDEDEP@ Utilities/Misc.d
@INCLUDEDEP@ Utilities/Net.d
@INCLUDEDEP@ Utilities/Path.d
@INCLUDEDEP@ Utilities/Resources.d
@INCLUDEDEP@ Utilities/String.d
@INCLUDEDEP@ Utilities/TempFile.d
@INCLUDEDEP@ Windows/Button.d
@INCLUDEDEP@ Windows/Canvas.d
@INCLUDEDEP@ Windows/CheckBox.d
@INCLUDEDEP@ Windows/Choice.d
@INCLUDEDEP@ Windows/DialogBox.d
@INCLUDEDEP@ Windows/Frame.d
@INCLUDEDEP@ Windows/Gauge.d
@INCLUDEDEP@ Windows/Item.d
@INCLUDEDEP@ Windows/Layout.d
@INCLUDEDEP@ Windows/ListBox.d
@INCLUDEDEP@ Windows/Menu.d
@INCLUDEDEP@ Windows/MenuBar.d
@INCLUDEDEP@ Windows/Message.d
@INCLUDEDEP@ Windows/Panel.d
@INCLUDEDEP@ Windows/RadioBox.d
@INCLUDEDEP@ Windows/Slider.d
@INCLUDEDEP@ Windows/Window.d
@INCLUDEDEP@ XWidgets/xwTabString.d
@INCLUDEDEP@ XWidgets/xwTools3d.d
@INCLUDEDEP@ XWidgets/xwscroll.d
@INCLUDEDEP@ XWidgets/xwMenu.d
@INCLUDEDEP@ XWidgets/xwMultiList.d
@INCLUDEDEP@ XWidgets/xwCommon.d
@INCLUDEDEP@ XWidgets/xwFrame.d
@INCLUDEDEP@ XWidgets/xwBoard.d
@INCLUDEDEP@ XWidgets/xwLabel.d
@INCLUDEDEP@ XWidgets/xwButton.d
@INCLUDEDEP@ XWidgets/xwToggle.d
@INCLUDEDEP@ XWidgets/xwCanvas.d
@INCLUDEDEP@ XWidgets/xwEnforcer.d
@INCLUDEDEP@ XWidgets/xwGroup.d
@INCLUDEDEP@ XWidgets/xwRowCol.d
@INCLUDEDEP@ XWidgets/xwArrow.d
@INCLUDEDEP@ XWidgets/xwSlider2.d
@INCLUDEDEP@ XWidgets/xwHScrollb.d
@INCLUDEDEP@ XWidgets/xwVScrollb.d
@INCLUDEDEP@ XWidgets/xwScrollbar.d
@INCLUDEDEP@ XWidgets/xwScrollWin.d
