platforms: Remove the hurd module.
[jackhill/guix/guix.git] / Makefile.am
1 # GNU Guix --- Functional package management for GNU
2 # Copyright © 2012-2022 Ludovic Courtès <ludo@gnu.org>
3 # Copyright © 2013 Andreas Enge <andreas@enge.fr>
4 # Copyright © 2015, 2017 Alex Kost <alezost@gmail.com>
5 # Copyright © 2016, 2018 Mathieu Lirzin <mthl@gnu.org>
6 # Copyright © 2016, 2017, 2018, 2019 Mark H Weaver <mhw@netris.org>
7 # Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
8 # Copyright © 2017 Leo Famulari <leo@famulari.name>
9 # Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
10 # Copyright © 2017, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
11 # Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
12 # Copyright © 2018 Nikita <nikita@n0.is>
13 # Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
14 # Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
15 # Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
16 # Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
17 # Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
18 # Copyright © 2021 Andrew Tropin <andrew@trop.in>
19 #
20 # This file is part of GNU Guix.
21 #
22 # GNU Guix is free software; you can redistribute it and/or modify it
23 # under the terms of the GNU General Public License as published by
24 # the Free Software Foundation; either version 3 of the License, or (at
25 # your option) any later version.
26 #
27 # GNU Guix is distributed in the hope that it will be useful, but
28 # WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 # GNU General Public License for more details.
31 #
32 # You should have received a copy of the GNU General Public License
33 # along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
34
35 MSGMERGE_UPDATE = @MSGMERGE@ --update
36
37 bin_SCRIPTS = scripts/guix
38
39 # Handle substitution of fully-expanded Autoconf variables.
40 do_subst = $(SED) \
41 -e 's,[@]GUILE[@],$(GUILE),g' \
42 -e 's,[@]guilemoduledir[@],$(guilemoduledir),g' \
43 -e 's,[@]guileobjectdir[@],$(guileobjectdir),g' \
44 -e 's,[@]abs_top_builddir[@],$(abs_top_builddir),g' \
45 -e 's,[@]localedir[@],$(localedir),g'
46
47 scripts/guix: scripts/guix.in Makefile
48 $(AM_V_at)rm -f $@ $@-t
49 $(AM_V_at)$(MKDIR_P) "$(@D)"
50 $(AM_V_GEN)$(do_subst) < "$(srcdir)/$@.in" > "$@-t"
51 $(AM_V_at)chmod a+x,a-w "$@-t" && mv -f "$@-t" "$@"
52
53 # This is our variant of the 'guile' executable, one that doesn't complain
54 # about locales.
55 pkglibexec_PROGRAMS = guile
56 guile_SOURCES = gnu/packages/aux-files/guile-launcher.c
57 guile_LDADD = $(GUILE_LIBS)
58 guile_CFLAGS = $(GUILE_CFLAGS)
59
60 # Have the 'guix' command refer to our 'guile'.
61 install-exec-hook:
62 $(SED) -i "$(DESTDIR)$(bindir)/guix" \
63 -e 's,^#![[:graph:]]\+,#!$(pkglibexecdir)/guile,g'
64
65 nodist_noinst_SCRIPTS = \
66 pre-inst-env \
67 test-env
68
69 # Modules that are not compiled but are installed nonetheless, such as
70 # build-side modules with unusual dependencies.
71 MODULES_NOT_COMPILED = \
72 guix/build/po.scm \
73 guix/man-db.scm
74
75 include gnu/local.mk
76 include po/doc/local.mk
77
78 MODULES = \
79 guix/base16.scm \
80 guix/base32.scm \
81 guix/base64.scm \
82 guix/ci.scm \
83 guix/cpio.scm \
84 guix/cpu.scm \
85 guix/deprecation.scm \
86 guix/docker.scm \
87 guix/records.scm \
88 guix/openpgp.scm \
89 guix/pki.scm \
90 guix/progress.scm \
91 guix/combinators.scm \
92 guix/memoization.scm \
93 guix/utils.scm \
94 guix/sets.scm \
95 guix/modules.scm \
96 guix/download.scm \
97 guix/discovery.scm \
98 guix/android-repo-download.scm \
99 guix/bzr-download.scm \
100 guix/extracting-download.scm \
101 guix/git-download.scm \
102 guix/hg-download.scm \
103 guix/hash.scm \
104 guix/swh.scm \
105 guix/monads.scm \
106 guix/monad-repl.scm \
107 guix/gexp.scm \
108 guix/profiles.scm \
109 guix/serialization.scm \
110 guix/nar.scm \
111 guix/narinfo.scm \
112 guix/derivations.scm \
113 guix/grafts.scm \
114 guix/repl.scm \
115 guix/transformations.scm \
116 guix/inferior.scm \
117 guix/describe.scm \
118 guix/quirks.scm \
119 guix/channels.scm \
120 guix/gnu-maintenance.scm \
121 guix/self.scm \
122 guix/substitutes.scm \
123 guix/upstream.scm \
124 guix/licenses.scm \
125 guix/lint.scm \
126 guix/glob.scm \
127 guix/git.scm \
128 guix/git-authenticate.scm \
129 guix/graph.scm \
130 guix/cache.scm \
131 guix/cve.scm \
132 guix/workers.scm \
133 guix/least-authority.scm \
134 guix/ipfs.scm \
135 guix/platform.scm \
136 guix/platforms/arm.scm \
137 guix/platforms/mips.scm \
138 guix/platforms/powerpc.scm \
139 guix/platforms/riscv.scm \
140 guix/platforms/s390.scm \
141 guix/platforms/x86.scm \
142 guix/build-system.scm \
143 guix/build-system/android-ndk.scm \
144 guix/build-system/ant.scm \
145 guix/build-system/cargo.scm \
146 guix/build-system/chicken.scm \
147 guix/build-system/clojure.scm \
148 guix/build-system/cmake.scm \
149 guix/build-system/dub.scm \
150 guix/build-system/dune.scm \
151 guix/build-system/elm.scm \
152 guix/build-system/emacs.scm \
153 guix/build-system/font.scm \
154 guix/build-system/go.scm \
155 guix/build-system/meson.scm \
156 guix/build-system/minify.scm \
157 guix/build-system/minetest.scm \
158 guix/build-system/asdf.scm \
159 guix/build-system/copy.scm \
160 guix/build-system/glib-or-gtk.scm \
161 guix/build-system/gnu.scm \
162 guix/build-system/guile.scm \
163 guix/build-system/haskell.scm \
164 guix/build-system/julia.scm \
165 guix/build-system/linux-module.scm \
166 guix/build-system/maven.scm \
167 guix/build-system/node.scm \
168 guix/build-system/perl.scm \
169 guix/build-system/python.scm \
170 guix/build-system/renpy.scm \
171 guix/build-system/ocaml.scm \
172 guix/build-system/qt.scm \
173 guix/build-system/waf.scm \
174 guix/build-system/r.scm \
175 guix/build-system/rakudo.scm \
176 guix/build-system/ruby.scm \
177 guix/build-system/scons.scm \
178 guix/build-system/texlive.scm \
179 guix/build-system/trivial.scm \
180 guix/ftp-client.scm \
181 guix/http-client.scm \
182 guix/gnupg.scm \
183 guix/elf.scm \
184 guix/profiling.scm \
185 guix/store.scm \
186 guix/cvs-download.scm \
187 guix/svn-download.scm \
188 guix/colors.scm \
189 guix/i18n.scm \
190 guix/diagnostics.scm \
191 guix/ui.scm \
192 guix/status.scm \
193 guix/build/android-ndk-build-system.scm \
194 guix/build/ant-build-system.scm \
195 guix/build/download.scm \
196 guix/build/download-nar.scm \
197 guix/build/cargo-build-system.scm \
198 guix/build/cargo-utils.scm \
199 guix/build/chicken-build-system.scm \
200 guix/build/cmake-build-system.scm \
201 guix/build/dub-build-system.scm \
202 guix/build/dune-build-system.scm \
203 guix/build/elm-build-system.scm \
204 guix/build/emacs-build-system.scm \
205 guix/build/meson-build-system.scm \
206 guix/build/minify-build-system.scm \
207 guix/build/font-build-system.scm \
208 guix/build/go-build-system.scm \
209 guix/build/android-repo.scm \
210 guix/build/asdf-build-system.scm \
211 guix/build/bzr.scm \
212 guix/build/copy-build-system.scm \
213 guix/build/git.scm \
214 guix/build/hg.scm \
215 guix/build/glib-or-gtk-build-system.scm \
216 guix/build/gnu-bootstrap.scm \
217 guix/build/gnu-build-system.scm \
218 guix/build/gnu-dist.scm \
219 guix/build/guile-build-system.scm \
220 guix/build/maven-build-system.scm \
221 guix/build/minetest-build-system.scm \
222 guix/build/node-build-system.scm \
223 guix/build/perl-build-system.scm \
224 guix/build/python-build-system.scm \
225 guix/build/ocaml-build-system.scm \
226 guix/build/qt-build-system.scm \
227 guix/build/r-build-system.scm \
228 guix/build/renpy-build-system.scm \
229 guix/build/rakudo-build-system.scm \
230 guix/build/ruby-build-system.scm \
231 guix/build/scons-build-system.scm \
232 guix/build/texlive-build-system.scm \
233 guix/build/waf-build-system.scm \
234 guix/build/haskell-build-system.scm \
235 guix/build/julia-build-system.scm \
236 guix/build/linux-module-build-system.scm \
237 guix/build/store-copy.scm \
238 guix/build/json.scm \
239 guix/build/pack.scm \
240 guix/build/utils.scm \
241 guix/build/union.scm \
242 guix/build/profiles.scm \
243 guix/build/compile.scm \
244 guix/build/cvs.scm \
245 guix/build/svn.scm \
246 guix/build/syscalls.scm \
247 guix/build/gremlin.scm \
248 guix/build/debug-link.scm \
249 guix/build/clojure-build-system.scm \
250 guix/build/clojure-utils.scm \
251 guix/build/emacs-utils.scm \
252 guix/build/java-utils.scm \
253 guix/build/lisp-utils.scm \
254 guix/build/meson-configuration.scm \
255 guix/build/maven/java.scm \
256 guix/build/maven/plugin.scm \
257 guix/build/maven/pom.scm \
258 guix/build/graft.scm \
259 guix/build/bournish.scm \
260 guix/build/qt-utils.scm \
261 guix/build/make-bootstrap.scm \
262 guix/search-paths.scm \
263 guix/packages.scm \
264 guix/import/cabal.scm \
265 guix/import/cpan.scm \
266 guix/import/cran.scm \
267 guix/import/crate.scm \
268 guix/import/egg.scm \
269 guix/import/elm.scm \
270 guix/import/elpa.scm \
271 guix/import/gem.scm \
272 guix/import/git.scm \
273 guix/import/github.scm \
274 guix/import/gnome.scm \
275 guix/import/gnu.scm \
276 guix/import/go.scm \
277 guix/import/hackage.scm \
278 guix/import/json.scm \
279 guix/import/kde.scm \
280 guix/import/launchpad.scm \
281 guix/import/minetest.scm \
282 guix/import/opam.scm \
283 guix/import/print.scm \
284 guix/import/pypi.scm \
285 guix/import/stackage.scm \
286 guix/import/texlive.scm \
287 guix/import/utils.scm \
288 guix/scripts.scm \
289 guix/scripts/download.scm \
290 guix/scripts/perform-download.scm \
291 guix/scripts/build.scm \
292 guix/scripts/archive.scm \
293 guix/scripts/import.scm \
294 guix/scripts/package.scm \
295 guix/scripts/install.scm \
296 guix/scripts/remove.scm \
297 guix/scripts/upgrade.scm \
298 guix/scripts/search.scm \
299 guix/scripts/show.scm \
300 guix/scripts/gc.scm \
301 guix/scripts/hash.scm \
302 guix/scripts/pack.scm \
303 guix/scripts/pull.scm \
304 guix/scripts/processes.scm \
305 guix/scripts/substitute.scm \
306 guix/scripts/authenticate.scm \
307 guix/scripts/refresh.scm \
308 guix/scripts/repl.scm \
309 guix/scripts/describe.scm \
310 guix/scripts/style.scm \
311 guix/scripts/system.scm \
312 guix/scripts/system/search.scm \
313 guix/scripts/system/reconfigure.scm \
314 guix/scripts/home.scm \
315 guix/scripts/home/import.scm \
316 guix/scripts/lint.scm \
317 guix/scripts/challenge.scm \
318 guix/scripts/import/crate.scm \
319 guix/scripts/import/cran.scm \
320 guix/scripts/import/egg.scm \
321 guix/scripts/import/elm.scm \
322 guix/scripts/import/elpa.scm \
323 guix/scripts/import/gem.scm \
324 guix/scripts/import/gnu.scm \
325 guix/scripts/import/go.scm \
326 guix/scripts/import/hackage.scm \
327 guix/scripts/import/json.scm \
328 guix/scripts/import/minetest.scm \
329 guix/scripts/import/opam.scm \
330 guix/scripts/import/pypi.scm \
331 guix/scripts/import/stackage.scm \
332 guix/scripts/import/texlive.scm \
333 guix/scripts/environment.scm \
334 guix/scripts/shell.scm \
335 guix/scripts/publish.scm \
336 guix/scripts/edit.scm \
337 guix/scripts/size.scm \
338 guix/scripts/git.scm \
339 guix/scripts/git/authenticate.scm \
340 guix/scripts/graph.scm \
341 guix/scripts/weather.scm \
342 guix/scripts/container.scm \
343 guix/scripts/container/exec.scm \
344 guix/scripts/deploy.scm \
345 guix/scripts/time-machine.scm \
346 guix.scm \
347 $(GNU_SYSTEM_MODULES)
348
349 if HAVE_GUILE_SSH
350
351 MODULES += \
352 guix/ssh.scm \
353 guix/remote.scm \
354 guix/scripts/copy.scm \
355 guix/store/ssh.scm
356
357 endif HAVE_GUILE_SSH
358
359 if HAVE_GUILE_AVAHI
360
361 MODULES += \
362 guix/avahi.scm \
363 guix/scripts/discover.scm
364
365 endif HAVE_GUILE_AVAHI
366
367 if BUILD_DAEMON_OFFLOAD
368
369 MODULES += \
370 guix/scripts/offload.scm
371
372 endif BUILD_DAEMON_OFFLOAD
373
374 # Scheme implementation of the build daemon and related functionality.
375 STORE_MODULES = \
376 guix/store/database.scm \
377 guix/store/deduplication.scm \
378 guix/store/roots.scm
379
380 MODULES += $(STORE_MODULES)
381
382 # Internal modules with test suite support.
383 dist_noinst_DATA = \
384 guix/tests.scm \
385 guix/tests/http.scm \
386 guix/tests/git.scm \
387 guix/tests/gnupg.scm
388
389 # Auxiliary files for packages.
390 AUX_FILES = \
391 gnu/packages/aux-files/chromium/master-preferences.json \
392 gnu/packages/aux-files/emacs/guix-emacs.el \
393 gnu/packages/aux-files/guix.vim \
394 gnu/packages/aux-files/linux-libre/5.17-arm.conf \
395 gnu/packages/aux-files/linux-libre/5.17-arm64.conf \
396 gnu/packages/aux-files/linux-libre/5.17-i686.conf \
397 gnu/packages/aux-files/linux-libre/5.17-x86_64.conf \
398 gnu/packages/aux-files/linux-libre/5.15-arm.conf \
399 gnu/packages/aux-files/linux-libre/5.15-arm64.conf \
400 gnu/packages/aux-files/linux-libre/5.15-i686.conf \
401 gnu/packages/aux-files/linux-libre/5.15-x86_64.conf \
402 gnu/packages/aux-files/linux-libre/5.10-arm.conf \
403 gnu/packages/aux-files/linux-libre/5.10-arm64.conf \
404 gnu/packages/aux-files/linux-libre/5.10-i686.conf \
405 gnu/packages/aux-files/linux-libre/5.10-x86_64.conf \
406 gnu/packages/aux-files/linux-libre/5.4-arm.conf \
407 gnu/packages/aux-files/linux-libre/5.4-arm64.conf \
408 gnu/packages/aux-files/linux-libre/5.4-i686.conf \
409 gnu/packages/aux-files/linux-libre/5.4-x86_64.conf \
410 gnu/packages/aux-files/linux-libre/4.19-arm.conf \
411 gnu/packages/aux-files/linux-libre/4.19-arm64.conf \
412 gnu/packages/aux-files/linux-libre/4.19-i686.conf \
413 gnu/packages/aux-files/linux-libre/4.19-x86_64.conf \
414 gnu/packages/aux-files/linux-libre/4.14-arm.conf \
415 gnu/packages/aux-files/linux-libre/4.14-i686.conf \
416 gnu/packages/aux-files/linux-libre/4.14-x86_64.conf \
417 gnu/packages/aux-files/linux-libre/4.9-i686.conf \
418 gnu/packages/aux-files/linux-libre/4.9-x86_64.conf \
419 gnu/packages/aux-files/pack-audit.c \
420 gnu/packages/aux-files/python/sanity-check.py \
421 gnu/packages/aux-files/python/sitecustomize.py \
422 gnu/packages/aux-files/renpy/renpy.in \
423 gnu/packages/aux-files/run-in-namespace.c
424
425 # Templates, examples.
426 EXAMPLES = \
427 gnu/system/examples/asus-c201.tmpl \
428 gnu/system/examples/bare-bones.tmpl \
429 gnu/system/examples/bare-hurd.tmpl \
430 gnu/system/examples/beaglebone-black.tmpl \
431 gnu/system/examples/desktop.tmpl \
432 gnu/system/examples/lightweight-desktop.tmpl \
433 gnu/system/examples/docker-image.tmpl \
434 gnu/system/examples/vm-image.tmpl
435
436 GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go $(dist_noinst_DATA:%.scm=%.go)
437
438 nobase_dist_guilemodule_DATA = \
439 guix/d3.v3.js \
440 guix/graph.js \
441 guix/store/schema.sql \
442 $(MODULES) $(MODULES_NOT_COMPILED) $(AUX_FILES) $(EXAMPLES) \
443 $(MISC_DISTRO_FILES)
444 nobase_nodist_guilemodule_DATA = guix/config.scm
445 nobase_nodist_guileobject_DATA = $(GOBJECTS)
446
447 # Handy way to remove the .go files without removing all the rest.
448 clean-go:
449 -$(RM) -f $(GOBJECTS)
450 @find . -path ./test-tmp -prune -o -name '*.go' -print | \
451 if test -t 1; then \
452 xargs -r echo -e "\033[31mwarning:\033[0m stray .go files:"; \
453 else \
454 xargs -r echo "warning: stray .go files:"; \
455 fi
456
457
458 # Test extensions; has to be unconditional.
459 TEST_EXTENSIONS = .scm .sh
460
461 if CAN_RUN_TESTS
462
463 SCM_TESTS = \
464 tests/accounts.scm \
465 tests/base16.scm \
466 tests/base32.scm \
467 tests/base64.scm \
468 tests/boot-parameters.scm \
469 tests/bournish.scm \
470 tests/builders.scm \
471 tests/build-utils.scm \
472 tests/cache.scm \
473 tests/challenge.scm \
474 tests/channels.scm \
475 tests/combinators.scm \
476 tests/containers.scm \
477 tests/cpan.scm \
478 tests/cpio.scm \
479 tests/cran.scm \
480 tests/crate.scm \
481 tests/cve.scm \
482 tests/debug-link.scm \
483 tests/derivations.scm \
484 tests/discovery.scm \
485 tests/egg.scm \
486 tests/elm.scm \
487 tests/elpa.scm \
488 tests/file-systems.scm \
489 tests/gem.scm \
490 tests/gexp.scm \
491 tests/git.scm \
492 tests/git-authenticate.scm \
493 tests/glob.scm \
494 tests/gnu-maintenance.scm \
495 tests/grafts.scm \
496 tests/graph.scm \
497 tests/gremlin.scm \
498 tests/hackage.scm \
499 tests/home-import.scm \
500 tests/http-client.scm \
501 tests/import-git.scm \
502 tests/import-github.scm \
503 tests/import-utils.scm \
504 tests/inferior.scm \
505 tests/lint.scm \
506 tests/minetest.scm \
507 tests/modules.scm \
508 tests/monads.scm \
509 tests/nar.scm \
510 tests/networking.scm \
511 tests/opam.scm \
512 tests/openpgp.scm \
513 tests/packages.scm \
514 tests/pack.scm \
515 tests/pki.scm \
516 tests/print.scm \
517 tests/processes.scm \
518 tests/profiles.scm \
519 tests/publish.scm \
520 tests/pypi.scm \
521 tests/records.scm \
522 tests/scripts.scm \
523 tests/search-paths.scm \
524 tests/services.scm \
525 tests/services/file-sharing.scm \
526 tests/services/configuration.scm \
527 tests/services/linux.scm \
528 tests/services/telephony.scm \
529 tests/sets.scm \
530 tests/size.scm \
531 tests/status.scm \
532 tests/store-database.scm \
533 tests/store-deduplication.scm \
534 tests/store-roots.scm \
535 tests/store.scm \
536 tests/substitute.scm \
537 tests/swh.scm \
538 tests/syscalls.scm \
539 tests/system.scm \
540 tests/style.scm \
541 tests/texlive.scm \
542 tests/transformations.scm \
543 tests/ui.scm \
544 tests/union.scm \
545 tests/upstream.scm \
546 tests/utils.scm \
547 tests/uuid.scm \
548 tests/workers.scm
549
550 if HAVE_GUILE_LIB
551 SCM_TESTS += tests/go.scm
552 else
553 EXTRA_DIST += tests/go.scm
554 endif
555
556 if BUILD_DAEMON_OFFLOAD
557 SCM_TESTS += tests/offload.scm
558 else
559 EXTRA_DIST += tests/offload.scm
560 endif
561
562 SH_TESTS = \
563 tests/guix-build.sh \
564 tests/guix-build-branch.sh \
565 tests/guix-download.sh \
566 tests/guix-gc.sh \
567 tests/guix-git-authenticate.sh \
568 tests/guix-hash.sh \
569 tests/guix-pack.sh \
570 tests/guix-pack-localstatedir.sh \
571 tests/guix-pack-relocatable.sh \
572 tests/guix-package.sh \
573 tests/guix-package-aliases.sh \
574 tests/guix-package-net.sh \
575 tests/guix-system.sh \
576 tests/guix-home.sh \
577 tests/guix-archive.sh \
578 tests/guix-authenticate.sh \
579 tests/guix-environment.sh \
580 tests/guix-environment-container.sh \
581 tests/guix-shell.sh \
582 tests/guix-shell-export-manifest.sh \
583 tests/guix-graph.sh \
584 tests/guix-describe.sh \
585 tests/guix-repl.sh \
586 tests/guix-lint.sh
587
588 TESTS = $(SCM_TESTS) $(SH_TESTS)
589
590 AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0
591
592 SCM_LOG_DRIVER = \
593 $(top_builddir)/test-env --quiet-stderr \
594 $(GUILE) --no-auto-compile -e main \
595 $(top_srcdir)/build-aux/test-driver.scm
596
597 AM_SCM_LOG_DRIVER_FLAGS = --brief=yes
598
599 SH_LOG_COMPILER = $(top_builddir)/test-env $(SHELL)
600 AM_SH_LOG_FLAGS = -x -e
601
602 # Make sure `tests/guix-gc.sh' runs last, after all the others. Otherwise it
603 # could end up removing files from the store while they are being used by
604 # other instances of the daemon.
605 tests/guix-gc.log: \
606 $(patsubst %.sh,%.log,$(filter-out tests/guix-gc.sh,$(SH_TESTS))) \
607 $(SCM_TESTS:%.scm=%.log)
608
609 else !CAN_RUN_TESTS
610
611 TESTS =
612 SH_TESTS =
613 SCM_TESTS =
614
615 # Automake always generates a 'check' target, so better not override it.
616 check-local:
617 @echo
618 @echo "Cannot run tests because file name limits would be exceeded." >&2
619 @echo "Look for 'length' in the 'config.log' file for details." >&2
620 @echo
621 @exit 1
622
623 endif !CAN_RUN_TESTS
624
625 check-system: $(GOBJECTS)
626 $(AM_V_at)$(top_builddir)/pre-inst-env \
627 guix build -m $(top_srcdir)/etc/system-tests.scm -K
628
629 # Public keys used to sign substitutes.
630 dist_pkgdata_DATA = \
631 etc/substitutes/berlin.guix.gnu.org.pub \
632 etc/substitutes/ci.guix.gnu.org.pub \
633 etc/substitutes/ci.guix.info.pub \
634 etc/substitutes/bordeaux.guix.gnu.org.pub
635
636 # Bash completion file.
637 dist_bashcompletion_DATA = etc/completion/bash/guix \
638 etc/completion/bash/guix-daemon
639
640 # Zsh completion file.
641 dist_zshcompletion_DATA = etc/completion/zsh/_guix
642
643 # Fish completion file.
644 dist_fishcompletion_DATA = etc/completion/fish/guix.fish
645
646 # SELinux policy
647 nodist_selinux_policy_DATA = etc/guix-daemon.cil
648
649 EXTRA_DIST += \
650 HACKING \
651 ROADMAP \
652 TODO \
653 CODE-OF-CONDUCT \
654 .dir-locals.el \
655 .guix-authorizations \
656 .guix-channel \
657 scripts/guix.in \
658 etc/disarchive-manifest.scm \
659 etc/guix-install.sh \
660 etc/news.scm \
661 etc/release-manifest.scm \
662 etc/source-manifest.scm \
663 etc/system-tests.scm \
664 etc/historical-authorizations \
665 build-aux/build-self.scm \
666 build-aux/compile-all.scm \
667 build-aux/cuirass/hurd-manifest.scm \
668 build-aux/check-final-inputs-self-contained.scm \
669 build-aux/check-channel-news.scm \
670 build-aux/compile-as-derivation.scm \
671 build-aux/convert-xref.scm \
672 build-aux/generate-authors.scm \
673 build-aux/test-driver.scm \
674 build-aux/update-guix-package.scm \
675 build-aux/update-NEWS.scm \
676 tests/test.drv \
677 tests/cve-sample.json \
678 tests/keys/signing-key.pub \
679 tests/keys/signing-key.sec \
680 tests/keys/civodul.pub \
681 tests/keys/rsa.pub \
682 tests/keys/dsa.pub \
683 tests/keys/ed25519.pub \
684 tests/keys/ed25519.sec \
685 tests/keys/ed25519-2.pub \
686 tests/keys/ed25519-2.sec \
687 tests/keys/ed25519-3.pub \
688 tests/keys/ed25519-3.sec \
689 build-aux/config.rpath \
690 bootstrap \
691 doc/build.scm \
692 $(TESTS)
693
694 if !BUILD_DAEMON_OFFLOAD
695
696 EXTRA_DIST += \
697 guix/scripts/offload.scm
698
699 endif !BUILD_DAEMON_OFFLOAD
700
701
702 CLEANFILES = \
703 $(bin_SCRIPTS) \
704 $(GOBJECTS) \
705 $(SCM_TESTS:tests/%.scm=%.log)
706
707 # Unset 'GUILE_LOAD_COMPILED_PATH' altogether while compiling. Otherwise, if
708 # $GUILE_LOAD_COMPILED_PATH contains $(moduledir), we may find .go files in
709 # there that are newer than the local .scm files (for instance because the
710 # user ran 'make install' recently). When that happens, we end up loading
711 # those previously-installed .go files, which may be stale, thereby breaking
712 # the whole thing. Likewise, set 'XDG_CACHE_HOME' to avoid loading possibly
713 # stale files from ~/.cache/guile/ccache.
714 %.go: make-go ; @:
715 make-go: make-core-go make-packages-go make-system-go make-cli-go
716
717 # Define a rule to build a subset of the .go files.
718 define guile-compilation-rule
719
720 $(1): $(2)
721 $(AM_V_at)echo "Compiling Scheme modules..." ; \
722 unset GUILE_LOAD_COMPILED_PATH ; \
723 XDG_CACHE_HOME=/nowhere \
724 host=$(host) srcdir="$(top_srcdir)" \
725 $(top_builddir)/pre-inst-env \
726 $(GUILE) -L "$(top_builddir)" -L "$(top_srcdir)" \
727 --no-auto-compile \
728 -s "$(top_srcdir)"/build-aux/compile-all.scm \
729 --total $(words $(MODULES)) \
730 --completed $(3) \
731 $$(filter %.scm,$$^)
732
733 endef
734
735 # Split compilation in several steps, each of which building a subset of
736 # $(MODULES). The main goal is to reduce peak memory consumption, as reported
737 # in <https://issues.guix.gnu.org/48963>. Each 'eval' call below creates a
738 # 'make-*-go' phony target that builds the corresponding subset.
739
740 MODULES_CORE = guix.scm $(filter-out guix/scripts/%,$(filter guix/%,$(MODULES)))
741 MODULES_PACKAGES = $(filter gnu/packages/%,$(MODULES))
742 MODULES_SYSTEM = gnu.scm $(filter-out gnu/packages/%,$(filter gnu/%,$(MODULES)))
743 MODULES_CLI = $(filter guix/scripts/%,$(MODULES))
744 MODULES_PO = guix/build/po.scm
745
746 $(eval $(call guile-compilation-rule,make-core-go, \
747 $(MODULES_CORE) guix/config.scm $(dist_noinst_DATA), \
748 0))
749 .PHONY: make-core-go
750
751 $(eval $(call guile-compilation-rule,make-packages-go, \
752 $(MODULES_PACKAGES) make-core-go, \
753 $(words $(MODULES_CORE))))
754 .PHONY: make-packages-go
755
756 $(eval $(call guile-compilation-rule,make-system-go, \
757 $(MODULES_SYSTEM) make-packages-go make-core-go, \
758 $(words $(MODULES_CORE) $(MODULES_PACKAGES))))
759 .PHONY: make-system-go
760
761 $(eval $(call guile-compilation-rule,make-cli-go, \
762 $(MODULES_CLI) make-system-go make-packages-go make-core-go, \
763 $(words $(MODULES_CORE) $(MODULES_PACKAGES) $(MODULES_SYSTEM))))
764 .PHONY: make-cli-go
765
766 $(eval $(call guile-compilation-rule,guix/build/po.go, \
767 $(MODULES_PO), \
768 0))
769
770 SUFFIXES = .go
771
772 # Make sure source files are installed first, so that the mtime of
773 # installed compiled files is greater than that of installed source
774 # files. See
775 # <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
776 # for details.
777 guix_install_go_files = install-nobase_nodist_guileobjectDATA
778 $(guix_install_go_files): install-nobase_dist_guilemoduleDATA
779
780 # The above trick doesn't work for 'config.go' because both 'config.scm' and
781 # 'config.go' are listed in $(nobase_nodist_guileobject_DATA). Thus, give it
782 # special treatment.
783 install-data-hook:
784 touch "$(DESTDIR)$(guileobjectdir)/guix/config.go"
785
786 # Commit corresponding to the 'v1.0.0' tag.
787 commit_v1_0_0 = 6298c3ffd9654d3231a6f25390b056483e8f407c
788
789 # Introduction of the 'guix' channel. Keep in sync with (guix channels)!
790 channel_intro_commit = 9edb3f66fd807b096b48283debdcddccfea34bad
791 channel_intro_signer = BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA
792
793 # Authenticate the current Git checkout by checking signatures on every commit.
794 GUIX_GIT_KEYRING = origin/keyring
795 authenticate:
796 $(AM_V_at)echo "Authenticating Git checkout..." ; \
797 guix git authenticate \
798 --keyring=$(GUIX_GIT_KEYRING) \
799 --cache-key=channels/guix --stats \
800 "$(channel_intro_commit)" "$(channel_intro_signer)"
801
802 # Assuming Guix is already installed and the daemon is up and running, this
803 # rule builds from $(srcdir), creating and building derivations.
804 as-derivation:
805 $(AM_V_at)echo "Building Guix in Guix..." ; \
806 $(GUILE) --no-auto-compile \
807 "$(top_srcdir)/build-aux/compile-as-derivation.scm" \
808 "$(abs_top_srcdir)"
809
810 SUBDIRS = po/guix po/packages
811 BUILT_SOURCES =
812
813 include doc/local.mk
814
815 if BUILD_DAEMON
816
817 include nix/local.mk
818
819 endif BUILD_DAEMON
820
821 ACLOCAL_AMFLAGS = -I m4
822
823 # Pass an explicit '--localstatedir' so that configure does not error out if
824 # it finds an existing installation with a different localstatedir. Inherit
825 # 'ac_cv_guix_test_root' so that "make check" in $(distdir) does not have to
826 # repopulate the whole store, and to make sure $(GUIX_TEST_ROOT) is short
827 # enough for shebangs.
828 AM_DISTCHECK_CONFIGURE_FLAGS = \
829 --localstatedir="$$dc_install_base/var" \
830 --with-libgcrypt-prefix="$(LIBGCRYPT_PREFIX)" \
831 --with-libgcrypt-libdir="$(LIBGCRYPT_LIBDIR)" \
832 --enable-daemon \
833 ac_cv_guix_test_root="$(GUIX_TEST_ROOT)"
834
835 # The self-contained tarball.
836 guix-binary.%.tar.xz:
837 $(AM_V_GEN)GUIX_PACKAGE_PATH= \
838 tarball=`$(top_builddir)/pre-inst-env guix pack -C xz \
839 --fallback \
840 -s "$*" --localstatedir --profile-name=current-guix \
841 guix` ; \
842 cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@"
843
844
845 # The dependency on doc-pot-update is to generate the .pot files, which are
846 # not checked in.
847 dist: doc-pot-update
848
849 dist-hook: gen-ChangeLog gen-AUTHORS gen-tarball-version
850 dist-hook: assert-no-store-file-names
851
852 distcheck-hook: assert-binaries-available assert-final-inputs-self-contained
853
854 EXTRA_DIST += $(top_srcdir)/.version
855 BUILT_SOURCES += $(top_srcdir)/.version
856 $(top_srcdir)/.version: config.status
857 $(AM_V_GEN)echo $(VERSION) > "$@-t" && mv "$@-t" "$@"
858
859 gen-tarball-version:
860 echo $(VERSION) > "$(distdir)/.tarball-version"
861
862 gen-ChangeLog:
863 $(AM_V_GEN)if test -d .git; then \
864 $(top_srcdir)/build-aux/gitlog-to-changelog \
865 > $(distdir)/ChangeLog.tmp; \
866 rm -f $(distdir)/ChangeLog; \
867 mv $(distdir)/ChangeLog.tmp $(distdir)/ChangeLog; \
868 fi
869
870 gen-AUTHORS:
871 $(AM_V_GEN)if test -d .git; then \
872 rm -f "$(distdir)/AUTHORS"; \
873 $(top_builddir)/pre-inst-env "$(GUILE)" \
874 "$(top_srcdir)/build-aux/generate-authors.scm" \
875 "$(top_srcdir)" "$(distdir)/AUTHORS"; \
876 fi
877
878 # Like 'dist', but regenerate 'configure' so we get an up-to-date
879 # 'PACKAGE_VERSION' string. (In Gnulib, 'GNUmakefile' has a special trick to
880 # do that whenever a 'dist' target is used.)
881 dist-with-updated-version:
882 @echo "Running './bootstrap' for new version string..."
883 $(top_srcdir)/bootstrap
884 $(MAKE) $(AM_MAKEFLAGS) $(top_srcdir)/.version dist
885
886 .PHONY: dist-with-updated-version
887
888 \f
889 #
890 # Release management.
891 #
892
893 releasedir = release-$(PACKAGE_VERSION)
894
895 PACKAGE_FULL_TARNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
896
897 # List of source tarballs produced. This must be kept in sync with the
898 # 'dist-' options of 'AM_INIT_AUTOMAKE' in 'configure.ac'.
899 SOURCE_TARBALLS = \
900 $(foreach ext,tar.gz,$(PACKAGE_FULL_TARNAME).$(ext))
901
902 # Systems supported by Guix.
903 SUPPORTED_SYSTEMS ?= x86_64-linux i686-linux armhf-linux aarch64-linux \
904 powerpc64le-linux
905
906 # Guix binary tarballs.
907 BINARY_TARBALLS = \
908 $(foreach system,$(SUPPORTED_SYSTEMS),guix-binary.$(system).tar.xz)
909
910 # Systems supported by Guix System.
911 GUIX_SYSTEM_SUPPORTED_SYSTEMS ?= x86_64-linux i686-linux
912
913 # Systems for which we build Guix VMs.
914 GUIX_SYSTEM_VM_SYSTEMS ?= x86_64-linux
915
916 # Prefix of the Guix installation image file name.
917 GUIX_SYSTEM_IMAGE_BASE = guix-system-install-$(PACKAGE_VERSION)
918
919 # Prefix of the Guix VM image file name.
920 GUIX_SYSTEM_VM_IMAGE_BASE = guix-system-vm-image-$(PACKAGE_VERSION)
921
922 # Flags for 'guix system vm-image'. By default create a VM image that appears
923 # to have a 20G hard disk.
924 GUIX_SYSTEM_VM_IMAGE_FLAGS ?= --image-size=30G
925
926 # Return the sequence of '-s' flags for the given systems.
927 system_flags = $(foreach system,$(1),-s $(system))
928
929 # The release process works in several phases:
930 #
931 # 0. We assume the developer created a 'vX.Y.Z' tag.
932 # 1. Build the source tarball.
933 # 2. Update the 'guix' package so that it corresponds to the 'vX.Y.Z' tag.
934 # 3. Build the binary tarballs for that 'guix' package.
935 # 4. Update the 'guix' package again.
936 # 5. Build the installation and VM images. The images will run 'guix'
937 # corresponding to 'vX.Y.Z' + 1 commit, and they will install 'vX.Y.Z'.
938 #
939 # This 'release' target takes care of everything and copies the resulting
940 # files to $(releasedir).
941 #
942 # XXX: Depend on 'dist' rather than 'distcheck' to work around the Gettext
943 # issue described at <https://savannah.gnu.org/bugs/index.php?51027>.
944 release: dist-with-updated-version all
945 @if ! git diff-index --quiet HEAD; then \
946 echo "There are uncommitted changes; stopping." >&2 ; \
947 exit 1 ; \
948 fi
949 $(MKDIR_P) "$(releasedir)"
950 rm -f "$(releasedir)"/*
951 mv $(SOURCE_TARBALLS) "$(releasedir)"
952 # Bump the Guix package version and build it.
953 GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT=yes \
954 $(top_builddir)/pre-inst-env "$(GUILE)" \
955 $(top_srcdir)/build-aux/update-guix-package.scm \
956 "`git rev-parse HEAD`" "$(PACKAGE_VERSION)"
957 git add $(top_srcdir)/gnu/packages/package-management.scm
958 git commit -m "gnu: guix: Update to $(PACKAGE_VERSION)."
959 $(top_builddir)/pre-inst-env guix build guix \
960 $(call system_flags,$(SUPPORTED_SYSTEMS)) \
961 -v1 --no-grafts --fallback
962 # Generate the binary release tarballs.
963 rm -f $(BINARY_TARBALLS)
964 $(MAKE) $(BINARY_TARBALLS)
965 for system in $(SUPPORTED_SYSTEMS) ; do \
966 mv "guix-binary.$$system.tar.xz" \
967 "$(releasedir)/guix-binary-$(PACKAGE_VERSION).$$system.tar.xz" ; \
968 done
969 # Bump the Guix package version and build it (again).
970 GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT=yes \
971 $(top_builddir)/pre-inst-env "$(GUILE)" \
972 $(top_srcdir)/build-aux/update-guix-package.scm \
973 "`git rev-parse HEAD`"
974 git add $(top_srcdir)/gnu/packages/package-management.scm
975 git commit -m "gnu: guix: Update to `git rev-parse HEAD | cut -c1-7`."
976 $(top_builddir)/pre-inst-env guix build guix \
977 $(call system_flags,$(GUIX_SYSTEM_SUPPORTED_SYSTEMS)) \
978 -v1 --no-grafts --fallback
979 # Generate the ISO installation images.
980 for system in $(GUIX_SYSTEM_SUPPORTED_SYSTEMS) ; do \
981 image=`$(top_builddir)/pre-inst-env \
982 guix system image -t iso9660 \
983 --label="GUIX_$${system}_$(VERSION)" \
984 --system=$$system --fallback \
985 gnu/system/install.scm` ; \
986 if [ ! -f "$$image" ] ; then \
987 echo "failed to produce Guix installation image for $$system" >&2 ; \
988 exit 1 ; \
989 fi ; \
990 cp "$$image" "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.tmp" ; \
991 mv "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.tmp" \
992 "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso" ; \
993 done
994 # Generate the VM images.
995 for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do \
996 image=`$(top_builddir)/pre-inst-env \
997 guix system image -t qcow2 $(GUIX_SYSTEM_VM_IMAGE_FLAGS) \
998 --save-provenance \
999 --system=$$system --fallback \
1000 gnu/system/examples/vm-image.tmpl` ; \
1001 if [ ! -f "$$image" ] ; then \
1002 echo "failed to produce Guix VM image for $$system" >&2 ; \
1003 exit 1 ; \
1004 fi ; \
1005 cp "$$image" "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2"; \
1006 done
1007 @echo
1008 @echo "Congratulations! All the release files are now in $(releasedir)."
1009 @echo
1010
1011 update-guix-package:
1012 git rev-parse HEAD
1013 $(top_builddir)/pre-inst-env "$(GUILE)" \
1014 $(top_srcdir)/build-aux/update-guix-package.scm \
1015 "`git rev-parse HEAD`"
1016
1017 # Location of a checkout of <git://git.savannah.gnu.org/guix/maintenance.git>.
1018 # Package data from this checkout is used by 'update-NEWS.scm'.
1019 GUIX_MAINTENANCE_DIRECTORY ?= $(top_srcdir)/../guix-maintenance
1020
1021 update-NEWS: $(GOBJECTS)
1022 $(top_builddir)/pre-inst-env "$(GUILE)" \
1023 $(top_srcdir)/build-aux/update-NEWS.scm \
1024 $(top_srcdir)/NEWS "$(GUIX_MAINTENANCE_DIRECTORY)/data"
1025
1026 # Make sure we're not shipping a file that embeds a local /gnu/store file name.
1027 assert-no-store-file-names:
1028 $(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info \
1029 --exclude=*.info-[0-9] --exclude=*.dot \
1030 --exclude=*.eps --exclude-dir=bootstrap \
1031 --exclude=guix-manual.pot --exclude=guix-manual.*.po \
1032 --exclude=guix-cookbook.pot --exclude=guix-cookbook.*.po \
1033 --exclude=guix-prettify.el \
1034 --exclude=ChangeLog* \
1035 --exclude=binutils-boot-2.20*.patch \
1036 -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ; \
1037 then \
1038 echo "error: store file names embedded in the distribution" >&2 ; \
1039 exit 1 ; \
1040 fi
1041
1042 # Make sure important substitutes are available. Check only the primary
1043 # server so that '--display-missing' doesn't print two lists.
1044 assert-binaries-available: $(GOBJECTS)
1045 $(AM_V_at)$(top_builddir)/pre-inst-env \
1046 guix weather -m "$(top_srcdir)/etc/release-manifest.scm" \
1047 --substitute-urls="https://ci.guix.gnu.org" \
1048 --display-missing
1049
1050 # Make sure the final inputs don't refer to bootstrap tools.
1051 assert-final-inputs-self-contained: $(GOBJECTS)
1052 $(AM_V_at)$(top_builddir)/pre-inst-env "$(GUILE)" \
1053 "$(top_srcdir)/build-aux/check-final-inputs-self-contained.scm"
1054
1055 # Validate channel news.
1056 check-channel-news: $(GOBJECTS)
1057 $(AM_V_at)$(top_builddir)/pre-inst-env "$(GUILE)" \
1058 "$(top_srcdir)/build-aux/check-channel-news.scm"
1059
1060 # Compute the Cuirass jobs.
1061 cuirass-jobs: $(GOBJECTS)
1062 rm -rf "$@"
1063 $(AM_V_at)$(MKDIR_P) "$@"
1064 $(AM_V_GEN)$(top_builddir)/pre-inst-env "$(GUILE)" \
1065 "$(top_srcdir)/build-aux/cuirass/evaluate.scm" "$@"
1066
1067 .PHONY: gen-ChangeLog gen-AUTHORS gen-tarball-version
1068 .PHONY: assert-no-store-file-names assert-binaries-available
1069 .PHONY: assert-final-inputs-self-contained check-channel-news
1070 .PHONY: clean-go make-go as-derivation authenticate
1071 .PHONY: update-guix-package update-NEWS cuirass-jobs release
1072
1073 # Downloading up-to-date PO files.
1074
1075 WEBLATE_REPO = https://framagit.org/tyreunom/guix-translations
1076
1077 # Shallow clone the Git repository behind Weblate and copy files from it if
1078 # they contain at least one translation, and they are well-formed (Scheme
1079 # format only), warn otherwise. Copied files are converted to a canonical
1080 # form.
1081 download-po:
1082 dir=$$(mktemp -d); \
1083 git clone --depth 1 "$(WEBLATE_REPO)" "$$dir/translations" && \
1084 for domain in po/doc po/guix po/packages; do \
1085 for po in "$$dir/translations/$$domain"/*.po; do \
1086 translated=$$(LANG=en_US.UTF-8 msgfmt --statistics "$$po" 2>&1 | cut -f1 -d' '); \
1087 untranslated=$$(LANG=en_US.UTF-8 msgfmt --statistics "$$po" 2>&1 | rev | cut -f3 -d' ' | rev); \
1088 untranslated=$${untranslated:-0}; \
1089 total=$$(($$translated+$$untranslated)); \
1090 target=$$(basename "$$po"); \
1091 target="$$domain/$$target"; \
1092 msgfmt -c "$$po"; \
1093 if msgfmt -c "$$po" && [ "$$translated" != "0" ] && ([ "$$domain" != "po/doc" ] || [ "$$translated" -gt $$(($$total/10)) ] || [ -f $$target ]); then \
1094 msgfilter --no-wrap -i "$$po" cat > "$$po".tmp; \
1095 mv "$$po".tmp "$$target"; \
1096 echo "copied $$target."; \
1097 else \
1098 echo "WARN: $$target ($$translated translated messages ($$((translated/total*100))%)) was not added/updated."; \
1099 fi; \
1100 done; \
1101 done; \
1102 for po in po/doc/*.po; do \
1103 translated=$$(LANG=en_US.UTF-8 msgfmt --statistics "$$po" 2>&1 | cut -f1 -d' '); \
1104 untranslated=$$(LANG=en_US.UTF-8 msgfmt --statistics "$$po" 2>&1 | rev | cut -f3 -d' ' | rev); \
1105 untranslated=$${untranslated:-0}; \
1106 total=$$(($$translated + $$untranslated)); \
1107 if [ "$$translated" -lt "$$(($$total/20))" ]; then \
1108 echo "WARN: $$po was removed because it is below the 5% threshold: $$((translated/total*100))%"; \
1109 rm $$po; \
1110 fi; \
1111 done; \
1112 rm -rf "$$dir"
1113 .PHONY: download-po
1114
1115 ## -------------- ##
1116 ## Silent rules. ##
1117 ## -------------- ##
1118
1119 AM_V_DL = $(AM_V_DL_$(V))
1120 AM_V_DL_ = $(AM_V_DL_$(AM_DEFAULT_VERBOSITY))
1121 AM_V_DL_0 = @echo " DL " $@;
1122
1123 AM_V_DOT = $(AM_V_DOT_$(V))
1124 AM_V_DOT_ = $(AM_V_DOT_$(AM_DEFAULT_VERBOSITY))
1125 AM_V_DOT_0 = @echo " DOT " $@;
1126
1127 AM_V_HELP2MAN = $(AM_V_HELP2MAN_$(V))
1128 AM_V_HELP2MAN_ = $(AM_V_HELP2MAN_$(AM_DEFAULT_VERBOSITY))
1129 AM_V_HELP2MAN_0 = @echo " HELP2MAN" $@;
1130
1131 AM_V_PO4A = $(AM_V_PO4A_$(V))
1132 AM_V_PO4A_ = $(AM_V_PO4A_$(AM_DEFAULT_VERBOSITY))
1133 AM_V_PO4A_0 = @echo " PO4A" $@;
1134
1135 AM_V_POXREF = $(AM_V_POXREF_$(V))
1136 AM_V_POXREF_ = $(AM_V_POXREF_$(AM_DEFAULT_VERBOSITY))
1137 AM_V_POXREF_0 = @echo " POXREF" $@;