jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / src / Makefile.am
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 noinst_LTLIBRARIES += %D%/libopenocd.la
4 bin_PROGRAMS += %D%/openocd
5
6 %C%_openocd_SOURCES = \
7 %D%/main.c
8
9 %C%_libopenocd_la_SOURCES = \
10 %D%/hello.c %D%/hello.h \
11 %D%/openocd.c %D%/openocd.h
12
13 %C%_openocd_LDADD = %D%/libopenocd.la
14
15 %C%_openocd_LDADD += $(MINGWLDADD)
16
17 if INTERNAL_JIMTCL
18 %C%_openocd_LDADD += $(top_builddir)/jimtcl/libjim.a
19 else
20 %C%_openocd_LDADD += -ljim
21 endif
22
23 %C%_libopenocd_la_CPPFLAGS =
24
25 # banner output includes RELSTR appended to $VERSION from the configure script
26 # guess-rev.sh returns either a repository version ID or "-snapshot"
27 if RELEASE
28 %C%_libopenocd_la_CPPFLAGS += -DRELSTR=\"\"
29 %C%_libopenocd_la_CPPFLAGS += -DGITVERSION=\"\"
30 else
31 %C%_libopenocd_la_CPPFLAGS += -DRELSTR=\"`$(top_srcdir)/guess-rev.sh $(top_srcdir)`\"
32 %C%_libopenocd_la_CPPFLAGS += -DGITVERSION=\"`cd $(top_srcdir) && git describe`\"
33 %C%_libopenocd_la_CPPFLAGS += -DPKGBLDDATE=\"`date +%F-%R`\"
34 endif
35
36 # add default CPPFLAGS
37 %C%_libopenocd_la_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS)
38
39 # the library search path.
40 %C%_libopenocd_la_LDFLAGS = $(all_libraries)
41
42 if IS_MINGW
43 MINGWLDADD = -lws2_32
44 else
45 MINGWLDADD =
46 endif
47
48 %C%_libopenocd_la_LIBADD = \
49 %D%/xsvf/libxsvf.la \
50 %D%/svf/libsvf.la \
51 %D%/pld/libpld.la \
52 %D%/jtag/libjtag.la \
53 %D%/transport/libtransport.la \
54 %D%/flash/libflash.la \
55 %D%/target/libtarget.la \
56 %D%/server/libserver.la \
57 %D%/rtos/librtos.la \
58 %D%/helper/libhelper.la \
59 %D%/rtt/librtt.la
60
61 BIN2C = $(srcdir)/%D%/helper/bin2char.sh
62
63 STARTUP_TCL_SRCS =
64 EXTRA_DIST += $(STARTUP_TCL_SRCS)
65
66 BUILT_SOURCES += %D%/startup_tcl.inc
67
68 # Convert .tcl to c-array
69 %D%/startup_tcl.inc: $(STARTUP_TCL_SRCS)
70 mkdir -p %D%
71 cat $^ | $(BIN2C) > $@ || { rm -f $@; false; }
72
73 # add generated files to make clean list
74 CLEANFILES += %D%/startup_tcl.inc
75
76 # we do not want generated file in the dist
77 #dist-hook:
78 # rm -f $(distdir)/%D%/startup_tcl.inc
79
80 include %D%/helper/Makefile.am
81 include %D%/jtag/Makefile.am
82 include %D%/transport/Makefile.am
83 include %D%/xsvf/Makefile.am
84 include %D%/svf/Makefile.am
85 include %D%/target/Makefile.am
86 include %D%/rtos/Makefile.am
87 include %D%/server/Makefile.am
88 include %D%/flash/Makefile.am
89 include %D%/pld/Makefile.am
90 include %D%/rtt/Makefile.am

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)