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