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