23424f5a2ecd200c00915d05f2f5d1dbbfc4d782
[fw/openocd] / src / jtag / Makefile.am
1 noinst_LTLIBRARIES += %D%/libjtag.la
2
3 %C%_libjtag_la_LIBADD =
4
5 if HLADAPTER
6 include %D%/hla/Makefile.am
7 %C%_libjtag_la_LIBADD += $(top_builddir)/%D%/hla/libocdhla.la
8 endif
9
10 if AICE
11 include %D%/aice/Makefile.am
12 %C%_libjtag_la_LIBADD += $(top_builddir)/%D%/aice/libocdaice.la
13 endif
14
15 include %D%/drivers/Makefile.am
16 %C%_libjtag_la_LIBADD += $(top_builddir)/%D%/drivers/libocdjtagdrivers.la
17
18 %C%_libjtag_la_SOURCES = \
19         %D%/adapter.c \
20         %D%/adapter.h \
21         %D%/commands.c \
22         %D%/core.c \
23         %D%/interface.c \
24         %D%/interfaces.c \
25         %D%/tcl.c \
26         %D%/swim.c \
27         %D%/commands.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
36 STARTUP_TCL_SRCS += %D%/startup.tcl