core arm11: Silence logs at level 3 if there is no activity
[openocd/genbsdl.git] / src / jtag / Makefile.am
blob3f132d4778b8111ab73c2960bd48a764cad68836
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src \
3         -I$(top_builddir)/src
5 METASOURCES = AUTO
6 noinst_LTLIBRARIES = libjtag.la
8 SUBDIRS =
9 DRIVERFILES =
10 libjtag_la_LIBADD =
12 CLEANFILES =
14 BUILT_SOURCES =
16 BUILT_SOURCES += minidriver_imp.h
17 CLEANFILES += minidriver_imp.h
19 if MINIDRIVER
21 if ZY1000
22 DRIVERFILES += zy1000/zy1000.c
23 JTAG_MINIDRIVER_DIR = $(srcdir)/zy1000
24 endif
25 if MINIDRIVER_DUMMY
26 DRIVERFILES += minidummy/minidummy.c commands.c
27 JTAG_MINIDRIVER_DIR = $(srcdir)/minidummy
28 endif
30 MINIDRIVER_IMP_DIR = $(srcdir)/minidriver
32 jtag_minidriver.h: $(JTAG_MINIDRIVER_DIR)/jtag_minidriver.h
33         cp $< $@
35 BUILT_SOURCES += jtag_minidriver.h
37 CLEANFILES += jtag_minidriver.h
39 else
41 MINIDRIVER_IMP_DIR = $(srcdir)/drivers
42 DRIVERFILES += commands.c
44 SUBDIRS += drivers
45 libjtag_la_LIBADD += $(top_builddir)/src/jtag/drivers/libocdjtagdrivers.la
47 endif
49 # endif // MINIDRIVER
51 minidriver_imp.h: $(MINIDRIVER_IMP_DIR)/minidriver_imp.h
52         cp $< $@
55 libjtag_la_SOURCES = \
56         core.c \
57         interface.c \
58         interfaces.c \
59         tcl.c \
60         $(DRIVERFILES)
62 noinst_HEADERS = \
63         commands.h \
64         interface.h \
65         interfaces.h \
66         minidriver.h \
67         jtag.h \
68         minidriver/minidriver_imp.h \
69         minidummy/jtag_minidriver.h
71 EXTRA_DIST = startup.tcl
73 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in