Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

101 lines
3.0 KiB

#
# The MAJORCOMP and MINORCOMP variables are defined
# so that $(MAJORCOMP)$(MINORCOMP)filename can be used in
# cross compiling to provide unique filenames in a flat namespace.
#
MAJORCOMP=windows
MINORCOMP=media
#
# The TARGETNAME variable is defined by the developer. It is the name of
# the target (component) that is being built by this makefile. It
# should NOT include any path or file extension information.
#
TARGETNAME=dxvutils
#
# The TARGETPATH and TARGETTYPE variables are defined by the developer.
# The first specifies where the target is to be build. The second specifies
# the type of target (either PROGRAM, DYNLINK, LIBRARY, DRIVER, etc
# UMAPPL_NOLIB is used when you're only building user-mode
# apps and don't need to build a library.
#
TARGETPATH=obj
TARGETTYPE=LIBRARY
USE_STL=1
!if "$(DPLAY_PCH)" != "off"
PRECOMPILED_CXX=1
PRECOMPILED_INCLUDE=..\dxvutilspch.h
PRECOMPILED_PCH=dxvutilspch.pch
PRECOMPILED_OBJ=dxvutilspch.obj
!endif
#
# The INCLUDES variable specifies any include paths that are specific to
# this source directory. Separate multiple directory paths with single
# semicolons. Relative path specifications are okay.
#
INCLUDES=..\..\common;..\..\inc;..\..\dxvoice;..\..\..\dplay8\inc\;$(SDXROOT)\public\internal\multimedia\inc;..\..\dxvtlib;..\
!if "$(NTDEBUG)" == "ntsd" || "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "sym"
C_DEFINES=$(C_DEFINES) /DDEBUG /D_DEBUG /DDBG
!endif
#
# The SOURCES variable is defined by the developer. It is a list of all the
# source files for this component. Each source file should be on a separate
# line using the line continuation character. This will minimize merge
# conflicts if two developers adding source files to the same component.
#
SOURCES= dvcdb.cpp \
dsplayb.cpp \
dsplayd.cpp \
inqueue2.cpp \
sndutils.cpp \
dscrecd.cpp \
innerque.cpp \
wiutils.cpp \
Frame.cpp \
winutil.cpp \
dscrecd.cpp \
dsprvobj.cpp \
dscrecb.cpp \
devmap.cpp \
decibels.cpp \
agcva1.cpp \
wavformat.cpp \
diagnos.cpp \
dvtimer.cpp\
mixline.cpp\
dverror.cpp
#
# Next specify options for the compiler.
#
# Note about CRT defines. When linking with MSVCRT you must have both _MT and _DLL specified.
# Using the build environment's USE_MSVCRT=1 would do this for us, but because we define our
# own operator new this will cause a link error because the build environment will not properly
# pull in msvcrt.lib last as of 5/11/2001. Therefore, we do it all manually specifying _DLL, _MT,
# and msvcrt.lib and USE_NOLIBS=1 ourselves. This also means that we must manually add msvcprt.lib
# where STL is used.
#
C_DEFINES= $(C_DEFINES) /D_LIB /DWIN32 /D_MT /D_DLL /DDIRECTSOUND_VERSION=0x0800
!if "$(VOICE_TARGET)" == "gamevoice"
C_DEFINES= $(C_DEFINES) /DVOICE_BUILD_GAMEVOICE
!endif
!if "$(VOICE_TARGET)" == "allegiance"
C_DEFINES= $(C_DEFINES) /DVOICE_BUILD_ALLEGIANCE
!endif
USE_NATIVE_EH=1
USE_STL=1