
#ifndef MS_WINDOWS
LOCINCL = -I../../include/base -I../../include/x
#else
LOCINCL = -I../../include/base -I../../include/msw
#endif

#include "Imake.inc"

#if HasGcc
XCOMM STD_INCLUDES=-I/usr/local/lib/g++-include
#endif


#if HasGcc
CDEBUGFLAGS=-g -O2
#endif

SRCS1 =			\
	wb_canvs.cc	\
	wb_dc.cc	\
	wb_dialg.cc	\
	wb_form.cc	\
	wb_frame.cc	\
	wb_gdi.cc	\
	wb_hash.cc	\
	wb_help.cc	\
	wb_ipc.cc	\
	wb_item.cc	\
	wb_list.cc	\
	wb_main.cc	\
	wb_mf.cc	\
	wb_obj.cc	\
	wb_panel.cc	\
	wb_ps.cc	\
	wb_stdev.cc	\
	wb_sysev.cc	\
	wb_text.cc	\
	wb_timer.cc	\
	wb_types.cc	\
	wb_utils.cc	\
	wb_win.cc

XCOMM	wb_event.cc	/* Not compiled */

OBJS1 = $(SRCS1:.cc=.ExtObj)
SRCS  = $(SRCS1)

all:: $(OBJS1)

DependTarget()

WorldRule()

#ifndef XView
IDIR=/usr/local/wx150
#else
IDIR=/usr/local/wx150_ol
#endif

install::
        mkdirhier $(IDIR)/include/base

InstallNonExec(../../include/base/common.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_buttn.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_canvs.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_check.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_choic.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_dc.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_dccan.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_dcmem.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_dialg.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_frame.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_gdi.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_ipc.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_ipcob.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_item.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_lbox.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_main.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_menu.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_messg.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_mf.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_mnuit.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_mtxt.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_panel.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_rbox.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_slidr.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_text.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_timer.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_txt.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wb_win.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_clipb.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_dcps.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_form.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_hash.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_help.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_list.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_obj.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_stdev.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_sysev.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_types.h,$(IDIR)/include/base)
InstallNonExec(../../include/base/wx_utils.h,$(IDIR)/include/base)

DoDosSpecial(Imakefile,imakefil)
DoDos(wb_canvs.cc)
DoDos(wb_dc.cc)
DoDos(wb_dialg.cc)
DoDos(wb_event.cc)
DoDos(wb_form.cc)
DoDos(wb_frame.cc)
DoDos(wb_gdi.cc)
DoDos(wb_hash.cc)
DoDos(wb_help.cc)
DoDos(wb_ipc.cc)
DoDos(wb_item.cc)
DoDos(wb_list.cc)
DoDos(wb_main.cc)
DoDos(wb_mf.cc)
DoDos(wb_obj.cc)
DoDos(wb_panel.cc)
DoDos(wb_ps.cc)
DoDos(wb_stdev.cc)
DoDos(wb_sysev.cc)
DoDos(wb_text.cc)
DoDos(wb_timer.cc)
DoDos(wb_types.cc)
DoDos(wb_utils.cc)
DoDos(wb_win.cc)

dos::
	mkdirhier $(DOS)/../../include/base

DoDos(../../include/base/common.h)
DoDos(../../include/base/wb_buttn.h)
DoDos(../../include/base/wb_canvs.h)
DoDos(../../include/base/wb_check.h)
DoDos(../../include/base/wb_choic.h)
DoDos(../../include/base/wb_dc.h)
DoDos(../../include/base/wb_dccan.h)
DoDos(../../include/base/wb_dcmem.h)
DoDos(../../include/base/wb_dialg.h)
DoDos(../../include/base/wb_frame.h)
DoDos(../../include/base/wb_gdi.h)
DoDos(../../include/base/wb_ipc.h)
DoDos(../../include/base/wb_ipcob.h)
DoDos(../../include/base/wb_item.h)
DoDos(../../include/base/wb_lbox.h)
DoDos(../../include/base/wb_main.h)
DoDos(../../include/base/wb_menu.h)
DoDos(../../include/base/wb_messg.h)
DoDos(../../include/base/wb_mf.h)
DoDos(../../include/base/wb_mnuit.h)
DoDos(../../include/base/wb_mtxt.h)
DoDos(../../include/base/wb_panel.h)
DoDos(../../include/base/wb_rbox.h)
DoDos(../../include/base/wb_slidr.h)
DoDos(../../include/base/wb_text.h)
DoDos(../../include/base/wb_timer.h)
DoDos(../../include/base/wb_txt.h)
DoDos(../../include/base/wb_win.h)
DoDos(../../include/base/wx.h)
DoDos(../../include/base/wx_clipb.h)
DoDos(../../include/base/wx_dcps.h)
DoDos(../../include/base/wx_form.h)
DoDos(../../include/base/wx_hash.h)
DoDos(../../include/base/wx_help.h)
DoDos(../../include/base/wx_list.h)
DoDos(../../include/base/wx_obj.h)
DoDos(../../include/base/wx_stdev.h)
DoDos(../../include/base/wx_sysev.h)
DoDos(../../include/base/wx_types.h)
DoDos(../../include/base/wx_utils.h)
