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