0d4ef61b2429f37f710766dcdeb7fd91bb5db042
[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) $(LIBFTDI_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
11 USB_BLASTER_SRC += ublast_access_ftdi.c
12 endif
13
14 if USB_BLASTER_2
15 USB_BLASTER_SRC += ublast2_access_libusb.c
16 endif
17
18 noinst_HEADERS = ublast_access.h
19
20 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in