Convert to non-recursive make
[openocd.git] / src / jtag / hla / Makefile.am
index 4fbc70e..6bb2960 100644 (file)
@@ -1,23 +1,11 @@
-include $(top_srcdir)/common.mk
-
-noinst_LTLIBRARIES = libocdhla.la
-
-libocdhla_la_SOURCES = \
-       $(HLFILES)
-
-HLFILES =
-
-if HLADAPTER
-HLFILES += hla_transport.c
-HLFILES += hla_tcl.c
-HLFILES += hla_interface.c
-HLFILES += hla_layout.c
-endif
-
-noinst_HEADERS = \
-       hla_interface.h \
-       hla_layout.h \
-       hla_tcl.h \
-       hla_transport.h
-
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+noinst_LTLIBRARIES += %D%/libocdhla.la
+
+%C%_libocdhla_la_SOURCES = \
+       %D%/hla_transport.c \
+       %D%/hla_tcl.c \
+       %D%/hla_interface.c \
+       %D%/hla_layout.c \
+       %D%/hla_transport.h \
+       %D%/hla_interface.h \
+       %D%/hla_layout.h \
+       %D%/hla_tcl.h