TARGETNAME=termmgr TARGETPATH=obj TARGETTYPE=DYNLINK !IF !$(FREEBUILD) !IF defined (DEBUG_MEMORY) # Turn on assertions. 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 !IF defined(_ATL_DEBUG_QI) C_DEFINES=$(C_DEFINES) -D_ATL_DEBUG_QI !ENDIF !IF defined(_DEBUG_SHUTDOWN) C_DEFINES=$(C_DEFINES) -D_DEBUG_SHUTDOWN !ENDIF !IF defined(_ATL_DEBUG_REFCOUNT) C_DEFINES=$(C_DEFINES) -D_ATL_DEBUG_REFCOUNT !ENDIF # Always enable tracing. C_DEFINES=$(C_DEFINES) -DMSPLOG C_DEFINES=$(C_DEFINES) -DUNICODE DLLENTRY=_DllMainCRTStartup PRECOMPILED_CXX=1 PRECOMPILED_INCLUDE=stdafx.h USE_ATL=1 USE_MSVCRT=1 USE_NATIVE_EH=1 INCLUDES=\ ..\inc; \ $(SDK_PATH)\amovie\inc; #link to the appropriate flavor of dshow library !if $(FREEBUILD) STRMBASE_LIB=$(LIBRARY_PATH)\strmbase.lib !else STRMBASE_LIB=$(LIBRARY_PATH)\strmbasd.lib !endif TARGETLIBS=\ $(LIBRARY_PATH)\advapi32.lib \ $(LIBRARY_PATH)\amstrmid.lib \ $(LIBRARY_PATH)\kernel32.lib \ $(LIBRARY_PATH)\mspbase.lib \ $(LIBRARY_PATH)\ole32.lib \ $(LIBRARY_PATH)\oleaut32.lib \ $(LIBRARY_PATH)\rtutils.lib \ $(LIBRARY_PATH)\strmiids.lib \ $(LIBRARY_PATH)\user32.lib \ $(LIBRARY_PATH)\uuid.lib \ $(LIBRARY_PATH)\winmm.lib \ $(STRMBASE_LIB) \ $(LIBRARY_PATH)\vfw32.lib \ $(LIBRARY_PATH)\wininet.lib \ ..\Terminals\Storage\$(O)\StorageUnits.lib \ ..\Terminals\MultiTrack\$(O)\multitrackterminal.lib \ ..\Terminals\FRecord\$(O)\FileRecordingTerminal.lib \ ..\Terminals\FPlayback\$(O)\FPTerm.lib SOURCES=\ manager.cpp \ manager.rc \ medpump.cpp \ meterf.cpp \ mtenum.cpp \ newmes.cpp \ ptutil.cpp \ ptreg.cpp \ sample.cpp \ stream.cpp \ termmgr.cpp \ timerq.cpp \ tmutils.cpp \ tmvidrnd.cpp