2013-04-14 20:23:18 +00:00
|
|
|
include $(top_srcdir)/common.mk
|
|
|
|
|
2014-03-30 19:15:42 +00:00
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/src/jtag/drivers $(LIBUSB1_CFLAGS) $(LIBFTDI_CFLAGS)
|
2013-11-03 16:31:44 +00:00
|
|
|
|
2013-04-14 20:23:18 +00:00
|
|
|
noinst_LTLIBRARIES = libocdusbblaster.la
|
|
|
|
libocdusbblaster_la_SOURCES = $(USB_BLASTER_SRC)
|
|
|
|
|
|
|
|
USB_BLASTER_SRC = usb_blaster.c
|
|
|
|
|
2016-02-15 22:17:24 +00:00
|
|
|
if USB_BLASTER
|
2013-04-14 20:23:18 +00:00
|
|
|
USB_BLASTER_SRC += ublast_access_ftdi.c
|
|
|
|
endif
|
|
|
|
|
2013-11-03 16:31:44 +00:00
|
|
|
if USB_BLASTER_2
|
|
|
|
USB_BLASTER_SRC += ublast2_access_libusb.c
|
|
|
|
endif
|
|
|
|
|
2013-04-14 20:23:18 +00:00
|
|
|
noinst_HEADERS = ublast_access.h
|
2013-07-06 22:59:50 +00:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|