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.
 
 
 
 
 
 

132 lines
2.2 KiB

  1. include $(top_srcdir)/common.mk
  2. noinst_LTLIBRARIES = libocdjtagdrivers.la
  3. libocdjtagdrivers_la_SOURCES = \
  4. $(DRIVERFILES)
  5. ocddatadir = $(pkglibdir)
  6. nobase_dist_ocddata_DATA =
  7. ULINK_FIRMWARE = $(srcdir)/OpenULINK
  8. EXTRA_DIST = $(ULINK_FIRMWARE)
  9. DRIVERFILES =
  10. # Standard Driver: common files
  11. DRIVERFILES += driver.c
  12. if USB
  13. DRIVERFILES += usb_common.c
  14. endif
  15. if USE_LIBUSB1
  16. DRIVERFILES += libusb1_common.c
  17. else
  18. if USE_LIBUSB0
  19. DRIVERFILES += libusb0_common.c
  20. endif
  21. endif
  22. if BITBANG
  23. DRIVERFILES += bitbang.c
  24. endif
  25. if PARPORT
  26. DRIVERFILES += parport.c
  27. endif
  28. if DUMMY
  29. DRIVERFILES += dummy.c
  30. endif
  31. if FT2232_DRIVER
  32. DRIVERFILES += ft2232.c
  33. endif
  34. if FTDI_DRIVER
  35. DRIVERFILES += ftdi.c mpsse.c
  36. endif
  37. if USB_BLASTER_DRIVER
  38. DRIVERFILES += usb_blaster.c
  39. endif
  40. if AMTJTAGACCEL
  41. DRIVERFILES += amt_jtagaccel.c
  42. endif
  43. if EP93XX
  44. DRIVERFILES += ep93xx.c
  45. endif
  46. if AT91RM9200
  47. DRIVERFILES += at91rm9200.c
  48. endif
  49. if GW16012
  50. DRIVERFILES += gw16012.c
  51. endif
  52. if BITQ
  53. DRIVERFILES += bitq.c
  54. endif
  55. if PRESTO_DRIVER
  56. DRIVERFILES += presto.c
  57. endif
  58. if USBPROG
  59. DRIVERFILES += usbprog.c
  60. endif
  61. if JLINK
  62. DRIVERFILES += jlink.c
  63. endif
  64. if RLINK
  65. DRIVERFILES += rlink.c rlink_speed_table.c
  66. endif
  67. if ULINK
  68. DRIVERFILES += ulink.c
  69. nobase_dist_ocddata_DATA += $(ULINK_FIRMWARE)/ulink_firmware.hex
  70. endif
  71. if VSLLINK
  72. DRIVERFILES += versaloon/usbtoxxx/usbtogpio.c
  73. DRIVERFILES += versaloon/usbtoxxx/usbtojtagraw.c
  74. DRIVERFILES += versaloon/usbtoxxx/usbtoswd.c
  75. DRIVERFILES += versaloon/usbtoxxx/usbtopwr.c
  76. DRIVERFILES += versaloon/usbtoxxx/usbtoxxx.c
  77. DRIVERFILES += versaloon/versaloon.c
  78. DRIVERFILES += vsllink.c
  79. endif
  80. if ARMJTAGEW
  81. DRIVERFILES += arm-jtag-ew.c
  82. endif
  83. if BUSPIRATE
  84. DRIVERFILES += buspirate.c
  85. endif
  86. if REMOTE_BITBANG
  87. DRIVERFILES += remote_bitbang.c
  88. endif
  89. if STLINK
  90. DRIVERFILES += stlink_usb.c
  91. endif
  92. if OSBDM
  93. DRIVERFILES += osbdm.c
  94. endif
  95. if OPENDOUS
  96. DRIVERFILES += opendous.c
  97. endif
  98. noinst_HEADERS = \
  99. bitbang.h \
  100. bitq.h \
  101. ftd2xx_common.h \
  102. libusb0_common.h \
  103. libusb1_common.h \
  104. libusb_common.h \
  105. minidriver_imp.h \
  106. mpsse.h \
  107. rlink.h \
  108. rlink_dtc_cmd.h \
  109. rlink_ep1_cmd.h \
  110. rlink_st7.h \
  111. usb_common.h \
  112. versaloon/usbtoxxx/usbtoxxx.h \
  113. versaloon/usbtoxxx/usbtoxxx_internal.h \
  114. versaloon/versaloon.h \
  115. versaloon/versaloon_include.h \
  116. versaloon/versaloon_internal.h
  117. MAINTAINERCLEANFILES = $(srcdir)/Makefile.in