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