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.
 
 
 
 
 
 

111 lines
2.1 KiB

!ifndef ROOT
ROOT=$(MAKEDIR:\av\dcap\32=)
!endif
!ifndef DEVROOT
DEVROOT=$(ROOT)\dev
!endif
!include $(DEVROOT)\common.inc
MAJORCOMP=dcap
MINORCOMP=dcap32
TARGETNAME=dcap32
TARGETPATH=$(_OBJ_DIR)
# Note: the order is important - build.exe always uses the last definition
!if "$(386)" != "1"
TARGETTYPE=NOTARGET
!else
TARGETTYPE=DYNLINK
!endif
DLLDEF=dcap32.def
DLLENTRY=DllEntryPoint
# C_DEFINES=-DSHOW_VFW2WDM_MAPPER $(C_DEFINES)
# C_DEFINES=-DHIDE_WDM_DEVICES $(C_DEFINES)
C_DEFINES = -D_MEM_ZEROINIT $(C_DEFINES)
USER_C_FLAGS = $(USER_C_FLAGS) /DNO_HELP_IDS
SOURCES=
INCLUDES=..\inc
# strmbasd.lib/strmbase.lib (DEBUG/RETAIL) is required for:
# wdmcap.obj() : _CLSID_VideoInputDeviceCategory
# wdmcap.obj() : _CLSID_SystemDeviceEnum
# wdmcap.obj() : _IID_ICreateDevEnum
# uuid.lib is required for:
# wdmcap.obj() : _IID_IPropertyBag
# oleaut32.lib is required for:
# wdmcap.obj() : __imp__SysFreeString@4
# ksuser.lib is required for:
# wdmpin.obj() : __imp__KsCreatePin@16
LINKLIBS= $(ROOT)\nmutil\nmutila\$(_OBJ_DIR)\*\nmutila.lib
# PhilF+: Check-in strmbase.lib + include files
TARGETLIBS= $(SDK_LIB_PATH)\winmm.lib \
$(DEVROOT)\LIB95\kernel32.lib \
$(SDK_LIB_PATH)\strmbase.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\uuid.lib \
$(SDK_LIB_PATH)\ole32.lib \
$(SDK_LIB_PATH)\oleaut32.lib \
$(SDK_LIB_PATH)\comctl32.lib \
$(SDK_LIB_PATH)\version.lib
#
# List of sources
#
i386_SOURCES= debug.cpp \
dcap32.cpp \
wdmpin.cpp \
wdmdrivr.cpp \
wdmcap.cpp \
wdmstrmr.cpp \
wdmdialg.cpp \
dcthk.asm \
dcap32.rc
386_STDCALL = 1
ASM_FLAGS = -DIS_32
NTTARGETFILE0=dcthk.asm
#
# Precompiled specs
#
PRECOMPILED_INCLUDE = precomp.h
PRECOMPILED_PCH = precomp.pch
PRECOMPILED_cpp = precomp.obj
PRECOMPILED_CXX = 1
CONDITIONAL_INCLUDES = \
macocidl.h \
macwin32.h \
rpcerr.h \
rpcmac.h \
winwlm.h \
macname1.h \
macname2.h \
macpub.h \
macapi.h \
compman.h \
drawdib.h \
avifile.h \
mciwnd.h \
msvideo.h \
avicap.h