ARM: only use one set of dummy FPA registers
[openocd.git] / src / Makefile.am
1 SUBDIRS = helper jtag xsvf svf target server flash pld
2
3 lib_LTLIBRARIES = libopenocd.la
4 bin_PROGRAMS = openocd
5
6 if ECOSBOARD
7 MAINFILE = ecosboard.c
8 else
9 MAINFILE = main.c
10 endif
11
12 openocd_SOURCES = $(MAINFILE)
13 openocd_LDADD = libopenocd.la
14
15 libopenocd_la_SOURCES = \
16 hello.c \
17 openocd.c
18
19 noinst_HEADERS = \
20 openocd.h
21
22
23 # set the include path found by configure
24 AM_CPPFLAGS = \
25 -I$(top_srcdir)/src \
26 -I$(top_srcdir)/src/helper \
27 -I$(top_srcdir)/src/jtag \
28 -I$(top_srcdir)/src/target \
29 -I$(top_srcdir)/src/xsvf \
30 -I$(top_srcdir)/src/svf \
31 -I$(top_srcdir)/src/server \
32 -I$(top_srcdir)/src/flash \
33 -I$(top_srcdir)/src/pld
34
35 libopenocd_la_CPPFLAGS = -DPKGBLDDATE=\"`date +%F-%R`\"
36
37 # banner output includes RELSTR appended to $VERSION from the configure script
38 # guess-rev.sh returns either a repository version ID or "-snapshot"
39 if RELEASE
40 libopenocd_la_CPPFLAGS += -DRELSTR=\"\"
41 else
42 libopenocd_la_CPPFLAGS += -DRELSTR=\"`$(top_srcdir)/guess-rev.sh $(top_srcdir)`\"
43 endif
44
45 # add default CPPFLAGS
46 libopenocd_la_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS)
47
48 # the library search path.
49 libopenocd_la_LDFLAGS = $(all_libraries)
50
51 if IS_MINGW
52 MINGWLDADD = -lws2_32
53 else
54 MINGWLDADD =
55 endif
56
57 if FT2232_LIBFTDI
58 FTDI2232LIB = -lftdi -lusb
59 else
60 if PRESTO_LIBFTDI
61 FTDI2232LIB = -lftdi -lusb
62 else
63 FTDI2232LIB =
64 endif
65 endif
66
67 if USBPROG
68 LIBUSB = -lusb
69 else
70 if JLINK
71 LIBUSB = -lusb
72 else
73 if RLINK
74 LIBUSB = -lusb
75 else
76 if VSLLINK
77 LIBUSB = -lusb
78 else
79 LIBUSB =
80 endif
81 endif
82 endif
83 endif
84
85 libopenocd_la_LIBADD = \
86 $(top_builddir)/src/xsvf/libxsvf.la \
87 $(top_builddir)/src/svf/libsvf.la \
88 $(top_builddir)/src/pld/libpld.la \
89 $(top_builddir)/src/jtag/libjtag.la \
90 $(top_builddir)/src/flash/libflash.la \
91 $(top_builddir)/src/target/libtarget.la \
92 $(top_builddir)/src/server/libserver.la \
93 $(top_builddir)/src/helper/libhelper.la \
94 $(FTDI2232LIB) $(MINGWLDADD) $(LIBUSB)
95
96 if HTTPD
97 libopenocd_la_LIBADD += -lmicrohttpd
98 endif
99
100 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
101
102 # The "quick" target builds executables & reinstalls the executables
103 # Primary use: developer types to quicken the edit/compile/debug
104 # cycle. by not requiring a "full build and full install". Note the
105 # assumption is: You are only rebuilding the EXE.... and everything
106 # else is/was previously installed.
107 #
108 # use at your own risk
109 quick: all install-binPROGRAMS
110

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)