Include ULINK driver in src/jtag/drivers/Makefile.am
[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 nobase_dist_pkglib_DATA =
9
10 ULINK_FIRMWARE = $(srcdir)/OpenULINK
11
12 EXTRA_DIST = $(ULINK_FIRMWARE)
13
14 DRIVERFILES =
15
16 # Standard Driver: common files
17 DRIVERFILES += driver.c
18
19 if USB
20 DRIVERFILES += usb_common.c
21 endif
22
23 if BITBANG
24 DRIVERFILES += bitbang.c
25 endif
26 if PARPORT
27 DRIVERFILES += parport.c
28 endif
29 if DUMMY
30 DRIVERFILES += dummy.c
31 endif
32 if FT2232_DRIVER
33 DRIVERFILES += ft2232.c
34 endif
35 if USB_BLASTER_DRIVER
36 DRIVERFILES += usb_blaster.c
37 endif
38 if AMTJTAGACCEL
39 DRIVERFILES += amt_jtagaccel.c
40 endif
41 if EP93XX
42 DRIVERFILES += ep93xx.c
43 endif
44 if AT91RM9200
45 DRIVERFILES += at91rm9200.c
46 endif
47 if GW16012
48 DRIVERFILES += gw16012.c
49 endif
50 if BITQ
51 DRIVERFILES += bitq.c
52 endif
53 if PRESTO_DRIVER
54 DRIVERFILES += presto.c
55 endif
56 if USBPROG
57 DRIVERFILES += usbprog.c
58 endif
59 if JLINK
60 DRIVERFILES += jlink.c
61 endif
62 if RLINK
63 DRIVERFILES += rlink.c rlink_speed_table.c
64 endif
65 if ULINK
66 DRIVERFILES += ulink.c
67 nobase_dist_pkglib_DATA += $(ULINK_FIRMWARE)/ulink_firmware.hex
68 endif
69 if VSLLINK
70 DRIVERFILES += vsllink.c
71 endif
72 if ARMJTAGEW
73 DRIVERFILES += arm-jtag-ew.c
74 endif
75 if BUSPIRATE
76 DRIVERFILES += buspirate.c
77 endif
78
79 noinst_HEADERS = \
80         bitbang.h \
81         bitq.h \
82         minidriver_imp.h \
83         rlink.h \
84         rlink_dtc_cmd.h \
85         rlink_ep1_cmd.h \
86         rlink_st7.h \
87         usb_common.h
88
89 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in