#
# $Id$
#
# tmake configuration for Win32/Microsoft C++
#

MAKEFILE_GENERATOR      = DSP
TEMPLATE			= app
CONFIG			= warn_on release

TMAKE_CC			= cl.exe
TMAKE_CFLAGS		= /nologo /FD /c
TMAKE_CFLAGS_WARN_ON	= /W3
TMAKE_CFLAGS_WARN_OFF	= /W0
TMAKE_CFLAGS_RELEASE	= /Gm /GX /O1
TMAKE_CFLAGS_DEBUG	= /Gm /GX /GZ /ZI
TMAKE_CFLAGS_MT		= -MT
TMAKE_CFLAGS_MT_DBG	= -MTd
TMAKE_CFLAGS_MT_DLL	= -MD
TMAKE_CFLAGS_MT_DLLDBG	= -MDd
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_MT	= $$TMAKE_CFLAGS_MT
TMAKE_CXXFLAGS_MT_DBG	= $$TMAKE_CFLAGS_MT_DBG
TMAKE_CXXFLAGS_MT_DLL	= $$TMAKE_CFLAGS_MT_DLL
TMAKE_CXXFLAGS_MT_DLLDBG= $$TMAKE_CFLAGS_MT_DLLDBG
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		= link.exe
TMAKE_LFLAGS		= /nologo /incremental:no /machine:I386
TMAKE_LFLAGS_RELEASE	= /nodefaultlib:"libcmt"
TMAKE_LFLAGS_DEBUG	= /debug /pdbtype:sept /nodefaultlib:"libcmtd"
TMAKE_LFLAGS_RELEASE_MT	= /nodefaultlib:"libcmt"
TMAKE_LFLAGS_DEBUG_MT	= /debug /pdbtype:sept /nodefaultlib:"libcmtd"
TMAKE_LFLAGS_CONSOLE	= /subsystem:console
TMAKE_LFLAGS_WINDOWS	= /subsystem:windows
TMAKE_LFLAGS_CONSOLE_DLL= /subsystem:console /dll
TMAKE_LFLAGS_WINDOWS_DLL= /subsystem:windows /dll
TMAKE_LFLAGS_QT_DLL	= /base:0x39D00000

TMAKE_LIBS		=
TMAKE_LIBS_CONSOLE	=
TMAKE_LIBS_WINDOWS	= kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib comctl32.lib
TMAKE_LIBS_QT		= $(QTDIR)\lib\qt.lib
TMAKE_LIBS_QT_DLL	= $(QTDIR)\lib\qtmain.lib

TMAKE_LIBS_OPENGL	= opengl32.lib glu32.lib

TMAKE_MOC		= moc.exe
TMAKE_UIC               = uic.exe

TMAKE_LIB		= lib.exe /NOLOGO
TMAKE_RC		= rc

TMAKE_ZIP		= zip -r -9
