Add missing files (header and .txt) for release.
[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 FTDI_DRIVER
47 DRIVERFILES += ftdi.c mpsse.c
48 endif
49 if USB_BLASTER_DRIVER
50 DRIVERFILES += usb_blaster.c
51 endif
52 if AMTJTAGACCEL
53 DRIVERFILES += amt_jtagaccel.c
54 endif
55 if EP93XX
56 DRIVERFILES += ep93xx.c
57 endif
58 if AT91RM9200
59 DRIVERFILES += at91rm9200.c
60 endif
61 if GW16012
62 DRIVERFILES += gw16012.c
63 endif
64 if BITQ
65 DRIVERFILES += bitq.c
66 endif
67 if PRESTO_DRIVER
68 DRIVERFILES += presto.c
69 endif
70 if USBPROG
71 DRIVERFILES += usbprog.c
72 endif
73 if JLINK
74 DRIVERFILES += jlink.c
75 endif
76 if RLINK
77 DRIVERFILES += rlink.c rlink_speed_table.c
78 endif
79 if ULINK
80 DRIVERFILES += ulink.c
81 nobase_dist_ocddata_DATA += $(ULINK_FIRMWARE)/ulink_firmware.hex
82 endif
83 if VSLLINK
84 DRIVERFILES += versaloon/usbtoxxx/usbtogpio.c
85 DRIVERFILES += versaloon/usbtoxxx/usbtojtagraw.c
86 DRIVERFILES += versaloon/usbtoxxx/usbtoswd.c
87 DRIVERFILES += versaloon/usbtoxxx/usbtopwr.c
88 DRIVERFILES += versaloon/usbtoxxx/usbtoxxx.c
89 DRIVERFILES += versaloon/versaloon.c
90 DRIVERFILES += vsllink.c
91 endif
92 if ARMJTAGEW
93 DRIVERFILES += arm-jtag-ew.c
94 endif
95 if BUSPIRATE
96 DRIVERFILES += buspirate.c
97 endif
98 if REMOTE_BITBANG
99 DRIVERFILES += remote_bitbang.c
100 endif
101 if STLINK
102 DRIVERFILES += stlink_usb.c
103 endif
104 if OSBDM
105 DRIVERFILES += osbdm.c
106 endif
107 if OPENDOUS
108 DRIVERFILES += opendous.c
109 endif
110
111 noinst_HEADERS = \
112         bitbang.h \
113         bitq.h \
114         ftd2xx_common.h \
115         libusb0_common.h \
116         libusb1_common.h \
117         libusb_common.h \
118         minidriver_imp.h \
119         mpsse.h \
120         rlink.h \
121         rlink_dtc_cmd.h \
122         rlink_ep1_cmd.h \
123         rlink_st7.h \
124         usb_common.h \
125         versaloon/usbtoxxx/usbtoxxx.h \
126         versaloon/usbtoxxx/usbtoxxx_internal.h \
127         versaloon/versaloon.h \
128         versaloon/versaloon_include.h \
129         versaloon/versaloon_internal.h
130
131 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in