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