remove tertiary include paths
[openocd.git] / src / jtag / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src
3
4 METASOURCES = AUTO
5 noinst_LTLIBRARIES = libjtag.la
6
7 SUBDIRS =
8 DRIVERFILES =
9 libjtag_la_LIBADD =
10
11 if MINIDRIVER
12
13 # for minidriver_imp.h
14 AM_CPPFLAGS += -I$(srcdir)/minidriver
15
16 if ZY1000
17 DRIVERFILES += zy1000/zy1000.c
18 AM_CPPFLAGS += -I$(srcdir)/zy1000
19 endif
20 if MINIDRIVER_DUMMY
21 DRIVERFILES += minidummy/minidummy.c commands.c
22 AM_CPPFLAGS += -I$(srcdir)/minidummy
23 endif
24
25 else
26
27 DRIVERFILES += commands.c
28
29 SUBDIRS += drivers
30 libjtag_la_LIBADD += $(top_builddir)/src/jtag/drivers/libocdjtagdrivers.la
31
32 # for minidriver_imp.h
33 AM_CPPFLAGS += -I$(srcdir)/drivers
34
35 endif
36 # endif // MINIDRIVER
37
38 libjtag_la_SOURCES = \
39         core.c \
40         interface.c \
41         interfaces.c \
42         tcl.c \
43         $(DRIVERFILES)
44
45 noinst_HEADERS = \
46         commands.h \
47         interface.h \
48         interfaces.h \
49         minidriver.h \
50         jtag.h \
51         minidriver/minidriver_imp.h \
52         minidummy/jtag_minidriver.h
53
54 EXTRA_DIST = startup.tcl
55
56 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in