!IF 0
**************************************************************
Sources file for building CALL PROFILER dll.

Module Name :	cap.dll

Author:  RezaB

Revision:

Comments:

	The following defines can be used to control output of all the
	debugging information to the debugger via KdPrint() for the checked
	builds:

	(All debugging options are undefined in cap.c for free/retail builds)

	#ifdef INFODBG	 : Displays messages to indicate when data dumping/
			   clearing operations are completed.  It has no effect
			   on timing.  *DEFAULT*

	#ifdef SETUPDBG  : Displays messages during memory management and
			   symbol lookup operations.  It has some affect
			   on timing whenever a chuck of memory is committed.

	#ifdef DETAILDBG : Dispalys detailed data during dump operations.
			   Sends lots of output (2 lines for each data cell)
			   to the debugger.  Should only be used for debugging
			   data cell info.

	#ifdef C6	 : Generate code using C6 compiler.  C6 compiler
			   calls _mcount() as the profiling routine where as
			   C8 calls _penter().

**************************************************************
!ENDIF

DLLBASE=0x77900000
DLLENTRY=CallProfMain

!IF $(386)
DLLDEF=cap386.def
!ENDIF
!IF $(MIPS)
DLLDEF=capmip.def
!ENDIF
!IF $(ALPHA)
DLLDEF=capmip.def
!ENDIF

MAJORCOMP=windows
TARGETNAME=cap
TARGETPATH=$(BASEDIR)\public\sdk\lib
TARGETTYPE=DYNLINK
TARGETLIBS=$(BASEDIR)\public\sdk\lib\*\user32.lib \
	   $(BASEDIR)\public\sdk\lib\*\kernel32.lib \
	   $(BASEDIR)\public\sdk\lib\*\imagehlp.lib \
	   $(BASEDIR)\public\sdk\lib\*\csrsrv.lib

INCLUDES=.

SOURCES=cap.c cap.rc

UMTYPE=windows
UMLIBS=obj\*\cap.res

C_DEFINES=-DWIN32 -DSTRICT -DPRINTDBG

386_FLAGS=-Gs
386_OPTIMIZATION=-Od

MIPS_FLAGS=-Gs
MIPS_OPTIMIZATION=-Od

ALPHA_OPTIMIZATION=-Od

alpha_SOURCES=alpha\caputl.s
