Makefile.am 1.48 KB
Newer Older
1
2

if FTD2XXDIR
3
4
5
if IS_MINGW
FTD2XXINC = -I@WITH_FTD2XX@
else
6
FTD2XXINC = -I@WITH_FTD2XX@/
7
endif
8
9
10
11
else
FTD2XXINC =
endif

oharboe's avatar
oharboe committed
12
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/helper $(FTD2XXINC) $(all_includes) -I$(top_srcdir)/src/target 
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
METASOURCES = AUTO
noinst_LIBRARIES = libjtag.a

if BITBANG
BITBANGFILES = bitbang.c
else
BITBANGFILES =
endif

if PARPORT
PARPORTFILES = parport.c
else
PARPORTFILES =
endif

28
29
30
31
32
33
if DUMMY
DUMMYFILES = dummy.c
else
DUMMYFILES =
endif

34
35
if FT2232_LIBFTDI
FT2232FILES = ft2232.c
36
else
37
38
if FT2232_FTD2XX
FT2232FILES = ft2232.c
39
else
40
FT2232FILES =
41
endif
42
endif
43
44
45
46
47
48
49
50
51
52
53
54
55

if AMTJTAGACCEL
AMTJTAGACCELFILES = amt_jtagaccel.c
else
AMTJTAGACCELFILES =
endif

if EP93XX
EP93XXFILES = ep93xx.c
else
EP93XXFILES =
endif

56
if ECOSBOARD
57
ECOSBOARDFILES = $(ECOS_SOURCE_FILES)/zy1000.c
58
59
60
61
else
ECOSBOARDFILES =
endif

62
63
64
65
66
67
if AT91RM9200
AT91RM9200FILES = at91rm9200.c
else
AT91RM9200FILES =
endif

68
69
70
71
72
73
if GW16012
GW16012FILES = gw16012.c
else
GW16012FILES =
endif

74
75
76
77
78
79
if BITQ
BITQFILES = bitq.c
else
BITQFILES =
endif

80
if PRESTO_LIBFTDI
81
82
PRESTOFILES = presto.c
else
83
84
if PRESTO_FTD2XX
PRESTOFILES = presto.c
drath's avatar
drath committed
85
else
86
87
PRESTOFILES =
endif
drath's avatar
drath committed
88
endif
89
90
91
92
93
94
95

if USBPROG
USBPROGFILES = usbprog.c
else
USBPROGFILES =
endif

96
97
98
99
100
101
if JLINK
JLINKFILES = jlink.c
else
JLINKFILES =
endif

102
libjtag_a_SOURCES = jtag.c $(BITBANGFILES) $(PARPORTFILES) $(DUMMYFILES) $(FT2232FILES) $(AMTJTAGACCELFILES) $(EP93XXFILES) \
103
	$(AT91RM9200FILES) $(GW16012FILES) $(BITQFILES) $(PRESTOFILES) $(USBPROGFILES) $(ECOSBOARDFILES) $(JLINKFILES)
104
105

noinst_HEADERS = bitbang.h jtag.h