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