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