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.

46 lines
1.2 KiB

  1. #+---------------------------------------------------------------------------
  2. #
  3. # Microsoft Windows
  4. # Copyright (C) Microsoft Corporation, 1992 - 1999.
  5. #
  6. #----------------------------------------------------------------------------
  7. TARGETNAME=strmiids
  8. TARGETPATH=obj
  9. TARGETTYPE=LIBRARY
  10. # prevent system headers from being included. They are not needed just to
  11. # process a bunch of DEFINE_GUIDs anyhow. Excluding them generates a much
  12. # smaller library too.
  13. #
  14. C_DEFINES=$(C_DEFINES) /D_MIDL_USE_GUIDDEF_\
  15. /D__RPCNDR_H__ /D__RPC_H__ /DRPC_NO_WINDOWS_H /DCOM_NO_WINDOWS_H\
  16. /DGUID_DEFS_ONLY
  17. INCLUDES=$(INCLUDES);..\idl\$(O)
  18. !if "$(BUILD_PRODUCT)" == "NT"
  19. C_DEFINES = $(C_DEFINES) -DAM_RM -DDDRAW_RM -DBUILD_PRODUCT_NT
  20. !endif
  21. !ifndef TUNING_MODEL_ONLY
  22. TUNING_MODEL_ONLY=0
  23. !endif
  24. !if "$(TUNING_MODEL_ONLY)" == "1"
  25. C_DEFINES = $(C_DEFINES) -DTUNING_MODEL_ONLY=1
  26. !endif
  27. SOURCES=\
  28. strmiids.c \
  29. amstrmid.c \
  30. PASS1_PUBLISH= \
  31. {$(O)\strmiids.lib=$(SDK_LIB_PATH)\strmiids.lib} \
  32. {$(O)\strmiids.lib=$(SDK_LIB_PATH)\amstrmid.lib}
  33. # Add lib flags for old platforms when shipping DX
  34. !ifdef DIRECTX_REDIST
  35. LIBRARIAN_FLAGS = $(LIBRARIAN_FLAGS) /link50compat
  36. !endif