target: consolidate existing target/algo common_magic
[fw/openocd] / src / jtag / Makefile.am
index 4ed5e7aa0b1b384d4328e3ebae85647862a2cc43..43c6f8b27d2ffd7f8e66d0745e8d8648f75b32ef 100644 (file)
@@ -1,6 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 noinst_LTLIBRARIES += %D%/libjtag.la
 
-JTAG_SRCS = %D%/commands.c
 %C%_libjtag_la_LIBADD =
 
 if HLADAPTER
@@ -18,20 +19,20 @@ include %D%/drivers/Makefile.am
 
 %C%_libjtag_la_SOURCES = \
        %D%/adapter.c \
+       %D%/adapter.h \
+       %D%/commands.c \
        %D%/core.c \
        %D%/interface.c \
        %D%/interfaces.c \
        %D%/tcl.c \
        %D%/swim.c \
        %D%/commands.h \
-       %D%/driver.h \
        %D%/interface.h \
        %D%/interfaces.h \
        %D%/minidriver.h \
        %D%/jtag.h \
        %D%/swd.h \
        %D%/swim.h \
-       %D%/tcl.h \
-       $(JTAG_SRCS)
+       %D%/tcl.h
 
 STARTUP_TCL_SRCS += %D%/startup.tcl