95e84fecd71efe1650f4901eb96277594c9a7e1c
[openocd.git] / src / jtag / drivers / usb_blaster / Makefile.am
1 include $(top_srcdir)/common.mk
2
3 AM_CPPFLAGS += -I$(top_srcdir)/src/jtag/drivers $(LIBUSB1_CFLAGS)
4
5 noinst_LTLIBRARIES = libocdusbblaster.la
6 libocdusbblaster_la_SOURCES = $(USB_BLASTER_SRC)
7
8 USB_BLASTER_SRC = usb_blaster.c
9
10 if USB_BLASTER_LIBFTDI
11 USB_BLASTER_SRC += ublast_access_ftdi.c
12 endif
13
14 if USB_BLASTER_FTD2XX
15 USB_BLASTER_SRC += ublast_access_ftd2xx.c
16 endif
17
18 if USB_BLASTER_2
19 USB_BLASTER_SRC += ublast2_access_libusb.c
20 endif
21
22 noinst_HEADERS = ublast_access.h
23
24 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in