Build Permutations with ftd2xx and libftdi addressed. Also added a new se of regressi...
[openocd.git] / src / Makefile.am
1 bin_PROGRAMS = openocd
2
3 if ECOSBOARD
4 MAINFILE = ecosboard.c
5 else
6 MAINFILE = main.c
7 endif
8
9
10 openocd_SOURCES = $(MAINFILE) openocd.c
11
12 # set the include path found by configure
13 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/helper \
14 -I$(top_srcdir)/src/jtag -I$(top_srcdir)/src/target -I$(top_srcdir)/src/xsvf -I$(top_srcdir)/src/server \
15 -I$(top_srcdir)/src/flash -I$(top_srcdir)/src/pld $(all_includes)
16
17 # pass path to prefix path
18 openocd_CPPFLAGS = \
19 -DPKGLIBDIR=\"$(pkglibdir)\" \
20 -DPKGBLDDATE=\"`date +%F-%R`\" \
21 -DPKGBLDREV=\"`$(top_srcdir)/guess-rev.sh`\" \
22 @CPPFLAGS@
23
24 # the library search path.
25 openocd_LDFLAGS = $(all_libraries)
26 SUBDIRS = helper jtag xsvf target server flash pld
27
28 if IS_MINGW
29 MINGWLDADD = -lwsock32
30 else
31 MINGWLDADD =
32 endif
33
34 if FT2232_LIBFTDI
35 FTDI2232LIB = -lftdi -lusb
36 else
37 if PRESTO_LIBFTDI
38 FTDI2232LIB = -lftdi -lusb
39 else
40 FTDI2232LIB =
41 endif
42 endif
43
44 if USBPROG
45 LIBUSB = -lusb
46 else
47 if JLINK
48 LIBUSB = -lusb
49 else
50 if RLINK
51 LIBUSB = -lusb
52 else
53 LIBUSB =
54 endif
55 endif
56 endif
57
58
59
60 openocd_LDADD = $(top_builddir)/src/xsvf/libxsvf.a \
61 $(top_builddir)/src/target/libtarget.a $(top_builddir)/src/jtag/libjtag.a \
62 $(top_builddir)/src/helper/libhelper.a \
63 $(top_builddir)/src/server/libserver.a $(top_builddir)/src/helper/libhelper.a \
64 $(top_builddir)/src/flash/libflash.a $(top_builddir)/src/target/libtarget.a \
65 $(top_builddir)/src/pld/libpld.a \
66 $(FTDI2232LIB) $(MINGWLDADD) $(LIBUSB)
67
68
69 if HTTPD
70 openocd_LDADD += -lmicrohttpd
71 endif
72
73
74
75 nobase_dist_pkglib_DATA = \
76 tcl/bitsbytes.tcl \
77 tcl/chip/atmel/at91/aic.tcl \
78 tcl/chip/atmel/at91/at91sam7x128.tcl \
79 tcl/chip/atmel/at91/at91sam7x256.tcl \
80 tcl/chip/atmel/at91/pmc.tcl \
81 tcl/chip/atmel/at91/rtt.tcl \
82 tcl/chip/atmel/at91/usarts.tcl \
83 tcl/chip/st/stm32/stm32.tcl \
84 tcl/chip/st/stm32/stm32_rcc.tcl \
85 tcl/chip/st/stm32/stm32_regs.tcl \
86 tcl/cpu/arm/arm7tdmi.tcl \
87 tcl/cpu/arm/arm920.tcl \
88 tcl/cpu/arm/arm946.tcl \
89 tcl/cpu/arm/arm966.tcl \
90 tcl/cpu/arm/cortex_m3.tcl \
91 tcl/memory.tcl \
92 tcl/mmr_helpers.tcl \
93 tcl/readable.tcl

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)