TARGETNAME=wavemsp TARGETPATH=obj TARGETTYPE=DYNLINK !IF !$(FREEBUILD) !IF defined (DEBUG_MEMORY) # Use debug CRTs and turn on assertions. DEBUG_CRTS=1 C_DEFINES=$(C_DEFINES) -D_DEBUG -D_DBG # _CRTDBG_MAP_ALLOC: Map normal heap operations to their debug versions. # DEBUG_HEAPS: Activate code in our DllMain to activate leak checking. C_DEFINES=$(C_DEFINES) -D_CRTDBG_MAP_ALLOC -DDEBUG_HEAPS !ENDIF !ENDIF # Enable tracing. C_DEFINES=$(C_DEFINES) -DMSPLOG # Use unicode. C_DEFINES=$(C_DEFINES) -DUNICODE # As a temporary workaround, allow intelligent connection for Unimodem. C_DEFINES=$(C_DEFINES) -DALLOW_INTELLIGENT_CONNECTION DLLENTRY=_DllMainCRTStartup MIDL_TBLDIR=$(O) PRECOMPILED_CXX=1 PRECOMPILED_INCLUDE=stdafx.h USE_ATL=1 USE_MSVCRT=1 USE_NATIVE_EH=1 USE_RTTI=1 TARGETLIBS=\ $(LIBRARY_PATH)\advapi32.lib \ $(LIBRARY_PATH)\gdi32.lib \ $(LIBRARY_PATH)\kernel32.lib \ $(LIBRARY_PATH)\mspbase.lib \ $(LIBRARY_PATH)\ole32.lib \ $(LIBRARY_PATH)\oleaut32.lib \ $(LIBRARY_PATH)\rtutils.lib \ $(LIBRARY_PATH)\shell32.lib \ $(LIBRARY_PATH)\strmbase.lib \ $(LIBRARY_PATH)\strmiids.lib \ $(LIBRARY_PATH)\user32.lib \ $(LIBRARY_PATH)\uuid.lib \ $(LIBRARY_PATH)\winmm.lib \ $(LIBRARY_PATH)\ws2_32.lib INCLUDES=$(SDK_PATH)\amovie\inc; SOURCES=\ waveaddr.cpp \ wavecall.cpp \ wavemsp.cpp \ wavemsp.idl \ wavemsp.rc \ wavestrm.cpp