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