Makefile.am 1.3 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

12
INCLUDES = -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
if FT2232_LIBFTDI
FT2232FILES = ft2232.c
30
else
31
32
if FT2232_FTD2XX
FT2232FILES = ft2232.c
33
else
34
FT2232FILES =
35
endif
36
endif
37
38
39
40
41
42
43
44
45
46
47
48
49

if AMTJTAGACCEL
AMTJTAGACCELFILES = amt_jtagaccel.c
else
AMTJTAGACCELFILES =
endif

if EP93XX
EP93XXFILES = ep93xx.c
else
EP93XXFILES =
endif

50
51
52
53
54
55
if ECOSBOARD
ECOSBOARDFILES = eCosBoard.c
else
ECOSBOARDFILES =
endif

56
57
58
59
60
61
if AT91RM9200
AT91RM9200FILES = at91rm9200.c
else
AT91RM9200FILES =
endif

62
63
64
65
66
67
if GW16012
GW16012FILES = gw16012.c
else
GW16012FILES =
endif

68
69
70
71
72
73
if BITQ
BITQFILES = bitq.c
else
BITQFILES =
endif

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

if USBPROG
USBPROGFILES = usbprog.c
else
USBPROGFILES =
endif

libjtag_a_SOURCES = jtag.c $(BITBANGFILES) $(PARPORTFILES) $(FT2232FILES) $(AMTJTAGACCELFILES) $(EP93XXFILES) \
91
	$(AT91RM9200FILES) $(GW16012FILES) $(BITQFILES) $(PRESTOFILES) $(USBPROGFILES) $(ECOSBOARDFILES)
92
93

noinst_HEADERS = bitbang.h jtag.h