Makefile.am 1.51 KB
Newer Older
1
2


3
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/helper  $(all_includes) -I$(top_srcdir)/src/target 
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
METASOURCES = AUTO
noinst_LIBRARIES = libjtag.a

if BITBANG
BITBANGFILES = bitbang.c
else
BITBANGFILES =
endif

if PARPORT
PARPORTFILES = parport.c
else
PARPORTFILES =
endif

19
20
21
22
23
24
if DUMMY
DUMMYFILES = dummy.c
else
DUMMYFILES =
endif

25
26
if FT2232_LIBFTDI
FT2232FILES = ft2232.c
27
else
28
29
if FT2232_FTD2XX
FT2232FILES = ft2232.c
30
else
31
FT2232FILES =
32
endif
33
endif
34
35
36
37
38
39
40
41
42
43
44
45
46

if AMTJTAGACCEL
AMTJTAGACCELFILES = amt_jtagaccel.c
else
AMTJTAGACCELFILES =
endif

if EP93XX
EP93XXFILES = ep93xx.c
else
EP93XXFILES =
endif

47
if ECOSBOARD
oharboe's avatar
oharboe committed
48
ECOSBOARDFILES = zy1000.c
49
50
51
52
else
ECOSBOARDFILES =
endif

53
54
55
56
57
58
if AT91RM9200
AT91RM9200FILES = at91rm9200.c
else
AT91RM9200FILES =
endif

59
60
61
62
63
64
if GW16012
GW16012FILES = gw16012.c
else
GW16012FILES =
endif

65
66
67
68
69
70
if BITQ
BITQFILES = bitq.c
else
BITQFILES =
endif

71
if PRESTO_LIBFTDI
72
73
PRESTOFILES = presto.c
else
74
75
if PRESTO_FTD2XX
PRESTOFILES = presto.c
drath's avatar
drath committed
76
else
77
78
PRESTOFILES =
endif
drath's avatar
drath committed
79
endif
80
81
82
83
84
85
86

if USBPROG
USBPROGFILES = usbprog.c
else
USBPROGFILES =
endif

87
88
89
90
91
92
if JLINK
JLINKFILES = jlink.c
else
JLINKFILES =
endif

93
94
95
96
97
98
if RLINK
RLINKFILES = rlink/rlink.c rlink/rlink_speed_table.c
else
RLINKFILES =
endif

duane's avatar
duane committed
99
100
101
102
103
104
if VSLLINK
VSLLINKFILES = vsllink.c
else
VSLLINKFILES =
endif

105
libjtag_a_SOURCES = jtag.c $(BITBANGFILES) $(PARPORTFILES) $(DUMMYFILES) $(FT2232FILES) $(AMTJTAGACCELFILES) $(EP93XXFILES) \
duane's avatar
duane committed
106
	$(AT91RM9200FILES) $(GW16012FILES) $(BITQFILES) $(PRESTOFILES) $(USBPROGFILES) $(ECOSBOARDFILES) $(JLINKFILES) $(RLINKFILES) $(VSLLINKFILES)
107
108

noinst_HEADERS = bitbang.h jtag.h