drivers/ftdi: Group adapter commands
[openocd.git] / src / jtag / Makefile.am
blob4ed5e7aa0b1b384d4328e3ebae85647862a2cc43
1 noinst_LTLIBRARIES += %D%/libjtag.la
3 JTAG_SRCS = %D%/commands.c
4 %C%_libjtag_la_LIBADD =
6 if HLADAPTER
7 include %D%/hla/Makefile.am
8 %C%_libjtag_la_LIBADD += $(top_builddir)/%D%/hla/libocdhla.la
9 endif
11 if AICE
12 include %D%/aice/Makefile.am
13 %C%_libjtag_la_LIBADD += $(top_builddir)/%D%/aice/libocdaice.la
14 endif
16 include %D%/drivers/Makefile.am
17 %C%_libjtag_la_LIBADD += $(top_builddir)/%D%/drivers/libocdjtagdrivers.la
19 %C%_libjtag_la_SOURCES = \
20         %D%/adapter.c \
21         %D%/core.c \
22         %D%/interface.c \
23         %D%/interfaces.c \
24         %D%/tcl.c \
25         %D%/swim.c \
26         %D%/commands.h \
27         %D%/driver.h \
28         %D%/interface.h \
29         %D%/interfaces.h \
30         %D%/minidriver.h \
31         %D%/jtag.h \
32         %D%/swd.h \
33         %D%/swim.h \
34         %D%/tcl.h \
35         $(JTAG_SRCS)
37 STARTUP_TCL_SRCS += %D%/startup.tcl