#
# 
#
# tmake configuration for Win32/IBM Visual Age
#

TEMPLATE		= app
CONFIG			= qt warn_on release

TMAKE_CC		= icc -C
TMAKE_CFLAGS		= -Q -Ft -Gd -Gm+ -qrtti=all
TMAKE_CFLAGS_WARN_ON	= -W3
TMAKE_CFLAGS_WARN_OFF	= -W0
TMAKE_CFLAGS_RELEASE	= -Gl+ -O -Oc+
TMAKE_CFLAGS_DEBUG	= -Fb* -Ti -Tm
TMAKE_CFLAGS_YACC	=

TMAKE_CXX		= $$TMAKE_CC
TMAKE_CXXFLAGS		= $$TMAKE_CFLAGS
TMAKE_CXXFLAGS_WARN_ON	= $$TMAKE_CFLAGS_WARN_ON
TMAKE_CXXFLAGS_WARN_OFF	= $$TMAKE_CFLAGS_WARN_OFF
TMAKE_CXXFLAGS_RELEASE	= $$TMAKE_CFLAGS_RELEASE
TMAKE_CXXFLAGS_DEBUG	= $$TMAKE_CFLAGS_DEBUG
TMAKE_CXXFLAGS_YACC	= $$TMAKE_CFLAGS_YACC

TMAKE_INCDIR		=
TMAKE_INCDIR_QT		= $(QTDIR)\include

TMAKE_RUN_CC		= $(CC) -c $(CFLAGS) $(INCPATH) -Fo"$obj" $src
TMAKE_RUN_CC_IMP	= $(CC) -c $(CFLAGS) $(INCPATH) -Fo"$@" $<
TMAKE_RUN_CXX		= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo"$obj" $src
TMAKE_RUN_CXX_IMP	= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo"$@" $<

TMAKE_LINK		= icc -Tdp $(CFLAGS)
TMAKE_LFLAGS		= -nologo -code:RX -data:RW -def -noe
TMAKE_LFLAGS_RELEASE	= -OPTF
TMAKE_LFLAGS_DEBUG	= -de -br
TMAKE_LFLAGS_CONSOLE	= -pmtype:vio
TMAKE_LFLAGS_WINDOWS	= -pmtype:pm
TMAKE_LFLAGS_CONSOLE_DLL= -DLL
TMAKE_LFLAGS_WINDOWS_DLL= -DLL

TMAKE_LIBS		=
TMAKE_LIBS_CONSOLE	=
TMAKE_LIBS_WINDOWS	= user32.lib gdi32.lib comdlg32.lib imm32.lib ole32.lib uuid.lib wsock32.lib
TMAKE_LIBS_QT		= $(QTDIR)\lib\qt.lib
TMAKE_LIBS_QT_DLL	= $(QTDIR)\lib\qtmain.lib
TMAKE_LIBS_QT_OPENGL	= $(QTDIR)\lib\qgl.lib
TMAKE_LIBS_OPENGL	= opengl32.lib glu32.lib

TMAKE_MOC		= moc

TMAKE_LIB		= ilib
TMAKE_RC		= rc

TMAKE_ZIP		= zip -r -9
