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.

76 lines
1.9 KiB

  1. #
  2. # StIrUsb driver - diagnostic build
  3. # Has -DDIAGS and -DVARIABLE_SETTINGS enabled.
  4. # Based on a win2k free build.
  5. #
  6. TARGETNAME=IRSTUSB
  7. TARGETPATH=obj
  8. TARGETTYPE=DRIVER
  9. TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib \
  10. $(DDK_LIB_PATH)\wdm.lib \
  11. $(DDK_LIB_PATH)\usbd.lib
  12. C_DEFINES=$(C_DEFINES) -DNDIS_WDM=1 -DNDIS_MINIPORT_DRIVER=1 -DNDIS50_MINIPORT=1 -DIRDA -DDRIVER -DBINARY_COMPATIBLE=1 \
  13. -DSERIALIZE \
  14. -DFAST_WRITE_REGISTERS \
  15. -DWORKAROUND_POLLING_FIFO_COUNT \
  16. -DWORKAROUND_BROKEN_MIR \
  17. -DWORKAROUND_33_HANG \
  18. -DWORKAROUND_XX_HANG \
  19. -DWORKAROUND_FF_HANG \
  20. -DWORKAROUND_GEAR_DOWN \
  21. -DWORKAROUND_E0_81_FLAG \
  22. -DWORKAROUND_9600_ANTIBOUNCING \
  23. -DWORKAROUND_MISSING_7E \
  24. -DWORKAROUND_FAKE_EMPTY_FIFO \
  25. -DWORKAROUND_STUCK_AFTER_GEAR_DOWN \
  26. -DWORKAROUND_BAD_SOF \
  27. -DWORKAROUND_BAD_ESC \
  28. # -DWORKAROUND_CASIO \
  29. -DVARIABLE_SETTINGS\
  30. # Uncomment to support the LA8 version
  31. -DSUPPORT_LA8 \
  32. # Keep these commented out for Whistler
  33. # -DLEGACY_NDIS5 \
  34. # Keep these commented out for public builds
  35. -DERROR_MESSAGES \
  36. -DDIAGS \
  37. # -DRECEIVE_LOGGING \
  38. # -DRECEIVE_ERROR_LOGGING \
  39. # -DSEND_LOGGING \
  40. # These two workarounds are used together in the current code
  41. -DWORKAROUND_EXTRA_BYTE \
  42. -DWORKAROUND_MISSING_C1 \
  43. -DWORKAROUND_MISSING_7E \
  44. -DONLY_ERROR_MESSAGES
  45. # This will be commented out for free builds
  46. #MSC_OPTIMIZATION=/Od /Oi
  47. INCLUDES= \
  48. $(BASEDIR)\inc; \
  49. $(BASEDIR)\inc\ddk; \
  50. ..\..\..\inc; \
  51. ..\..\inc
  52. LINKER_FLAGS=-map
  53. DRIVER_ALIGNMENT=0x200
  54. #MSC_WARNING_LEVEL=/W3 /WX
  55. SOURCES= \
  56. convert.c \
  57. rwir.c \
  58. irmisc.c \
  59. irusb.c \
  60. request.c \
  61. resource.c \
  62. settings.c \
  63. receive.c \
  64. openclos.c \
  65. debug.c \
  66. send.c \
  67. irusb.rc \
  68. hwio.c \
  69. diags.c