Source code of Windows XP (NT5)
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.

82 lines
1.9 KiB

  1. # This file contains everything that's common between all AMovie directories.
  2. SOURCES_USED=$(ROOT)\common.inc
  3. SDK_ROOT=$(BASEDIR)\public\sdk\amovie
  4. UMTYPE=windows
  5. # Use NT4/Win95 base API's with IE4 addon support.
  6. WIN32_WINNT_VERSION=0x0400
  7. WIN32_WIN95_VERSION=0x0400
  8. WIN32_IE_VERSION=0x0400
  9. NOT_LEAN_AND_MEAN=1
  10. # Runs on NT4/Win95 or better
  11. SUBSYSTEM_VERSION=4.00
  12. !if "$(BUILD_PRODUCT)" != "NT"
  13. C_DEFINES=$(C_DEFINES) -DSTRICT -DWINVER=0x0400 -DNT_BUILD -DDIRECTDRAW_VERSION=0x0300 -DDIRECTSOUND_VERSION=0x0300 -DFINAL=1 -DOFFICIAL=1
  14. !else
  15. C_DEFINES=$(C_DEFINES) -DSTRICT -DWINVER=0x0500 -DNT_BUILD -DDIRECTDRAW_VERSION=0x0300 -DDIRECTSOUND_VERSION=0x0700 -DFINAL=1 -DOFFICIAL=1
  16. !endif
  17. !if !$(FREEBUILD)
  18. C_DEFINES=$(C_DEFINES) -DDEBUG
  19. LINKER_NOICF = 1 # ICF is s-l-o-w
  20. !endif
  21. INCLUDES= \
  22. $(SDK_ROOT)\inc; \
  23. $(ROOT)\h;
  24. !if exist( "$(ROOT)\qbuild.ver" )
  25. C_DEFINES=$(C_DEFINES) -DQBUILD_VER
  26. INCLUDES = $(INCLUDES)$(ROOT);
  27. !endif
  28. MSC_WARNING_LEVEL=/W3
  29. # unfortunately sources files define PRECOMPILED_INCLUDE after this
  30. # file is preprocessed, and there doesn't appear to be a way to delay
  31. # its evaluation
  32. !ifndef PRECOMPILED_INCLUDE
  33. !ifndef DISABLE_PCH
  34. USER_C_FLAGS=/Yustreams.h /Fp$(SDK_ROOT)\lib$(BUILD_ALT_DIR)\$(TARGET_DIRECTORY)\streams.pch $(USER_C_FLAGS)
  35. !endif
  36. !endif
  37. USE_MSVCRT=1
  38. QUARTZ_LIB_DIR = $(ROOT)\lib$(BUILD_ALT_DIR)\$(TARGET_DIRECTORY)
  39. !ifdef PERF
  40. C_DEFINES=$(C_DEFINES) -DPERF
  41. QUARTZ_PERF_LIB=$(QUARTZ_LIB_DIR)\measure.lib
  42. !endif
  43. # allow mixing debug/retail strmbase.lib in our builds only. the NT
  44. # tree pulls it from nt\public\sdk\lib
  45. #STRMBASE_LIB=$(SDK_ROOT)\lib$(BUILD_ALT_DIR)\$(TARGET_DIRECTORY)\strmbase.lib
  46. !if "$(BUILD_ALT_DIR)" == "d"
  47. STRMBASE_LIB=$(SDK_LIB_PATH)\strmbasd.lib
  48. !else
  49. STRMBASE_LIB=$(SDK_LIB_PATH)\strmbase.lib
  50. !endif
  51. !if "$(BUILD_PRODUCT)" != "NT"
  52. !if !$(FREEBUILD)
  53. DEBUG_CRTS=1
  54. !endif
  55. !else
  56. !ifndef NEVER_UNICODE
  57. C_DEFINES=-DUNICODE -D_UNICODE $(C_DEFINES)
  58. WIN32_WINNT_VERSION=0x0500
  59. !endif
  60. !endif