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.

70 lines
1.7 KiB

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