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

  1. !ifndef ROOT
  2. ROOT=$(MAKEDIR:\av\dcap\32=)
  3. !endif
  4. !ifndef DEVROOT
  5. DEVROOT=$(ROOT)\dev
  6. !endif
  7. !include $(DEVROOT)\common.inc
  8. MAJORCOMP=dcap
  9. MINORCOMP=dcap32
  10. TARGETNAME=dcap32
  11. TARGETPATH=$(_OBJ_DIR)
  12. # Note: the order is important - build.exe always uses the last definition
  13. !if "$(386)" != "1"
  14. TARGETTYPE=NOTARGET
  15. !else
  16. TARGETTYPE=DYNLINK
  17. !endif
  18. DLLDEF=dcap32.def
  19. DLLENTRY=DllEntryPoint
  20. # C_DEFINES=-DSHOW_VFW2WDM_MAPPER $(C_DEFINES)
  21. # C_DEFINES=-DHIDE_WDM_DEVICES $(C_DEFINES)
  22. C_DEFINES = -D_MEM_ZEROINIT $(C_DEFINES)
  23. USER_C_FLAGS = $(USER_C_FLAGS) /DNO_HELP_IDS
  24. SOURCES=
  25. INCLUDES=..\inc
  26. # strmbasd.lib/strmbase.lib (DEBUG/RETAIL) is required for:
  27. # wdmcap.obj() : _CLSID_VideoInputDeviceCategory
  28. # wdmcap.obj() : _CLSID_SystemDeviceEnum
  29. # wdmcap.obj() : _IID_ICreateDevEnum
  30. # uuid.lib is required for:
  31. # wdmcap.obj() : _IID_IPropertyBag
  32. # oleaut32.lib is required for:
  33. # wdmcap.obj() : __imp__SysFreeString@4
  34. # ksuser.lib is required for:
  35. # wdmpin.obj() : __imp__KsCreatePin@16
  36. LINKLIBS= $(ROOT)\nmutil\nmutila\$(_OBJ_DIR)\*\nmutila.lib
  37. # PhilF+: Check-in strmbase.lib + include files
  38. TARGETLIBS= $(SDK_LIB_PATH)\winmm.lib \
  39. $(DEVROOT)\LIB95\kernel32.lib \
  40. $(SDK_LIB_PATH)\strmbase.lib \
  41. $(SDK_LIB_PATH)\user32.lib \
  42. $(SDK_LIB_PATH)\advapi32.lib \
  43. $(SDK_LIB_PATH)\uuid.lib \
  44. $(SDK_LIB_PATH)\ole32.lib \
  45. $(SDK_LIB_PATH)\oleaut32.lib \
  46. $(SDK_LIB_PATH)\comctl32.lib \
  47. $(SDK_LIB_PATH)\version.lib
  48. #
  49. # List of sources
  50. #
  51. i386_SOURCES= debug.cpp \
  52. dcap32.cpp \
  53. wdmpin.cpp \
  54. wdmdrivr.cpp \
  55. wdmcap.cpp \
  56. wdmstrmr.cpp \
  57. wdmdialg.cpp \
  58. dcthk.asm \
  59. dcap32.rc
  60. 386_STDCALL = 1
  61. ASM_FLAGS = -DIS_32
  62. NTTARGETFILE0=dcthk.asm
  63. #
  64. # Precompiled specs
  65. #
  66. PRECOMPILED_INCLUDE = precomp.h
  67. PRECOMPILED_PCH = precomp.pch
  68. PRECOMPILED_cpp = precomp.obj
  69. PRECOMPILED_CXX = 1
  70. CONDITIONAL_INCLUDES = \
  71. macocidl.h \
  72. macwin32.h \
  73. rpcerr.h \
  74. rpcmac.h \
  75. winwlm.h \
  76. macname1.h \
  77. macname2.h \
  78. macpub.h \
  79. macapi.h \
  80. compman.h \
  81. drawdib.h \
  82. avifile.h \
  83. mciwnd.h \
  84. msvideo.h \
  85. avicap.h