aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/aice
diff options
context:
space:
mode:
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-11-06 20:19:26 +0100
committerPaul Fertser <fercerpav@gmail.com>2016-12-08 16:23:10 +0000
commit5be455a710c57bbbbd49c2d671b42098db7be5dc (patch)
treee909a1e6ff6fa5e58b0e3a380b591199e255ce99 /src/jtag/aice
parentf2e93b597f7ea2f284be9bb66ddbc27be8fd281f (diff)
downloadriscv-openocd-5be455a710c57bbbbd49c2d671b42098db7be5dc.zip
riscv-openocd-5be455a710c57bbbbd49c2d671b42098db7be5dc.tar.gz
riscv-openocd-5be455a710c57bbbbd49c2d671b42098db7be5dc.tar.bz2
Convert to non-recursive make
Change-Id: I11f8bc8553957e2ff083c09e72e16881e4d3bb6f Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/3865 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/jtag/aice')
-rw-r--r--src/jtag/aice/Makefile.am41
1 files changed, 14 insertions, 27 deletions
diff --git a/src/jtag/aice/Makefile.am b/src/jtag/aice/Makefile.am
index 7b9469d..97e3825 100644
--- a/src/jtag/aice/Makefile.am
+++ b/src/jtag/aice/Makefile.am
@@ -1,27 +1,14 @@
-include $(top_srcdir)/common.mk
-
-AM_CPPFLAGS += -I$(top_srcdir)/src/jtag/drivers $(LIBUSB1_CFLAGS) $(LIBUSB0_CFLAGS)
-
-noinst_LTLIBRARIES = libocdaice.la
-
-libocdaice_la_SOURCES = \
- $(AICEFILES)
-
-AICEFILES =
-
-if AICE
-AICEFILES += aice_transport.c
-AICEFILES += aice_interface.c
-AICEFILES += aice_port.c
-AICEFILES += aice_usb.c
-AICEFILES += aice_pipe.c
-endif
-
-noinst_HEADERS = \
- aice_transport.h \
- aice_interface.h \
- aice_port.h \
- aice_usb.h \
- aice_pipe.h
-
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+noinst_LTLIBRARIES += %D%/libocdaice.la
+
+%C%_libocdaice_la_CPPFLAGS = -I$(top_srcdir)/src/jtag/drivers $(AM_CPPFLAGS) $(LIBUSB1_CFLAGS) $(LIBUSB0_CFLAGS)
+%C%_libocdaice_la_SOURCES = \
+ %D%/aice_transport.c \
+ %D%/aice_interface.c \
+ %D%/aice_port.c \
+ %D%/aice_usb.c \
+ %D%/aice_pipe.c \
+ %D%/aice_transport.h \
+ %D%/aice_interface.h \
+ %D%/aice_port.h \
+ %D%/aice_usb.h \
+ %D%/aice_pipe.h