jtag: Add an option to ignore the bypass bit
[openocd.git] / Makefile.am
1 # not a GNU package. You can remove this line, if
2 # have all needed files, that a GNU package needs
3 AUTOMAKE_OPTIONS = gnu 1.6
4
5 .DELETE_ON_ERROR:
6
7 # make sure we pass the correct jimtcl flags to distcheck
8 DISTCHECK_CONFIGURE_FLAGS = --disable-install-jim
9
10 # do not run Jim Tcl tests (esp. during distcheck)
11 check-recursive: SUBDIRS :=
12
13 nobase_dist_pkgdata_DATA = \
14 contrib/libdcc/dcc_stdio.c \
15 contrib/libdcc/dcc_stdio.h \
16 contrib/libdcc/example.c \
17 contrib/libdcc/README \
18 contrib/60-openocd.rules
19
20 SUBDIRS =
21 DIST_SUBDIRS =
22 bin_PROGRAMS =
23 noinst_LTLIBRARIES =
24 info_TEXINFOS =
25 dist_man_MANS =
26 EXTRA_DIST =
27
28 if INTERNAL_JIMTCL
29 SUBDIRS += jimtcl
30 DIST_SUBDIRS += jimtcl
31 endif
32
33 # common flags used in openocd build
34 AM_CFLAGS = $(GCC_WARNINGS)
35
36 AM_CPPFLAGS = $(HOST_CPPFLAGS)\
37 -I$(top_srcdir)/src \
38 -I$(top_builddir)/src \
39 -DPKGDATADIR=\"$(pkgdatadir)\" \
40 -DBINDIR=\"$(bindir)\"
41
42 if INTERNAL_JIMTCL
43 AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
44 -I$(top_builddir)/jimtcl
45 endif
46 EXTRA_DIST += \
47 BUGS \
48 HACKING \
49 NEWTAPS \
50 README.Windows \
51 README.macOS \
52 $(EXTRA_DIST_NEWS) \
53 Doxyfile.in \
54 LICENSES/license-rules.txt \
55 LICENSES/preferred/BSD-1-Clause \
56 LICENSES/preferred/BSD-2-Clause \
57 LICENSES/preferred/BSD-3-Clause \
58 LICENSES/preferred/GFDL-1.2 \
59 LICENSES/preferred/gfdl-1.2.texi.readme \
60 LICENSES/preferred/GPL-2.0 \
61 LICENSES/preferred/MIT \
62 LICENSES/stand-alone/GPL-3.0 \
63 tools/logger.pl \
64 tools/rlink_make_speed_table \
65 tools/st7_dtc_as \
66 contrib
67
68 libtool: $(LIBTOOL_DEPS)
69 $(SHELL) ./config.status --recheck
70
71 docs: pdf html doxygen
72
73 Doxyfile: $(srcdir)/Doxyfile.in
74 @echo "Creating $@ from $<..."
75 @( \
76 echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
77 echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
78 sed -e 's,@srcdir\@,$(srcdir),' \
79 -e 's,@builddir\@,$(builddir),' \
80 -e 's,@doxygen_as_html\@,$(doxygen_as_html),' \
81 -e 's,@doxygen_as_pdf\@,$(doxygen_as_pdf),' $< \
82 ) > $@
83
84 THE_MANUAL = doxygen/latex/refman.pdf
85
86 doxygen::
87 $(MAKE) Doxyfile
88 doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
89 @if [ -f doxygen/latex/refman.tex ]; then \
90 echo "Creating $(THE_MANUAL)..."; \
91 $(MAKE) $(THE_MANUAL); \
92 else \
93 echo "Skipping Doxygen PDF..."; \
94 fi
95
96 $(THE_MANUAL): %.pdf: %.tex
97 -cd $$(dirname $*) && pdflatex $$(basename $*)
98 -cd $$(dirname $*) && pdflatex $$(basename $*)
99
100 TCL_PATH = tcl
101 # command to find paths of script files, relative to TCL_PATH
102 TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' -o -name '*.txt' | \
103 sed -e 's,^$(srcdir)/$(TCL_PATH),,'
104
105 dist-hook:
106 if test -d $(srcdir)/.git -a \( ! -e $(distdir)/ChangeLog -o -w $(distdir)/ChangeLog \) ; then \
107 git --git-dir $(srcdir)/.git log | $(srcdir)/tools/git2cl/git2cl > $(distdir)/ChangeLog ; \
108 fi
109 for i in $$($(TCL_FILES)); do \
110 j="$(distdir)/$(TCL_PATH)/$$i" && \
111 mkdir -p "$$(dirname $$j)" && \
112 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
113 done
114
115 install-data-hook:
116 for i in $$($(TCL_FILES)); do \
117 j="$(DESTDIR)$(pkgdatadir)/scripts/$$i" && \
118 mkdir -p "$$(dirname $$j)" && \
119 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
120 done
121
122 uninstall-hook:
123 rm -rf $(DESTDIR)$(pkgdatadir)/scripts
124
125 distclean-local:
126 rm -rf Doxyfile doxygen
127 rm -f $(srcdir)/jimtcl/configure.gnu
128
129 DISTCLEANFILES = doxygen.log
130
131 METASOURCES = AUTO
132
133 BUILT_SOURCES =
134 CLEANFILES =
135
136 MAINTAINERCLEANFILES = \
137 %D%/INSTALL \
138 %D%/configure \
139 %D%/Makefile.in \
140 %D%/depcomp \
141 %D%/config.guess \
142 %D%/config.sub \
143 %D%/config.h.in \
144 %D%/config.h.in~ \
145 %D%/compile \
146 %D%/ltmain.sh \
147 %D%/missing \
148 %D%/aclocal.m4 \
149 %D%/install-sh \
150 %D%/texinfo.tex
151
152 include src/Makefile.am
153 include doc/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)