# Jamfile for utils
SubInclude PRESTO rtflags ;

if $(PRESTO) = ""
{
    EXIT The environment variable PRESTO is not set to the root of the Presto tree ;
}

SubDir PRESTO utils ;

include $(PRESTO)/ifiledefs.jam ;

# Linklibraries
LINKLIBS on videorender.exe = 
    $(ROOT)/lib/i386/amstrmid.lib
    $(ROOT)/lib/i386/ole32.lib
    $(ROOT)/lib/i386/ddraw.lib
    $(ROOT)/lib/i386/winmm.lib
    $(ROOT)/lib/i386/user32.lib
    $(ROOT)/lib/i386/kernel32.lib
    $(ROOT)/lib/i386/gdi32.lib 
    ;

SUBDIRC++FLAGS = -MTd -D"RUNTIMEFLAGS" -D "_AFXDLL" -D "_MBCS" ;
 
Main videorender :
    videorender.cpp
    ;

LinkLibraries videorender :
    utils
    rtflags
    ;

Library utils :
    exception.cpp
    helpq.cpp
    mfc_utils.cpp
    stdafx.cpp
    ;
