X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fjtag%2Faice%2FMakefile.am;h=bc5dac1e24367436ff6587af0c33da12881aa862;hb=96202cda1906be3b698614a6a7977cc5e6407cf6;hp=38c441e1210e40e602ca53ffb9e292952c350efe;hpb=ceb402dc9e903d2f3f6bc8125dfed9d82b83d2d1;p=fw%2Fopenocd diff --git a/src/jtag/aice/Makefile.am b/src/jtag/aice/Makefile.am index 38c441e12..bc5dac1e2 100644 --- a/src/jtag/aice/Makefile.am +++ b/src/jtag/aice/Makefile.am @@ -1,27 +1,16 @@ -include $(top_srcdir)/common.mk +# SPDX-License-Identifier: GPL-2.0-or-later -AM_CPPFLAGS += -I$(top_srcdir)/src/jtag/drivers +noinst_LTLIBRARIES += %D%/libocdaice.la -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 +%C%_libocdaice_la_CPPFLAGS = -I$(top_srcdir)/src/jtag/drivers $(AM_CPPFLAGS) $(LIBUSB1_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