1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 2008-2024 Free Software Foundation, Inc.
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2, or (at your option)
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program. If not, see <https://www.gnu.org/licenses/>.
18 ## When BSD make is run in parallel mode, it apparently strips any
19 ## leading directory component from the automatic variable '$*' (of
20 ## course, against what POSIX mandates). Try to detect and work
21 ## around this incompatibility.
27 *) b=`echo '$@' | sed 's/\.log$$//'`; \
34 ## From a test file to a .log and .trs file.
36 ?!GENERIC?%OBJ%: %SOURCE%
38 ## Another hack to support BSD make in parallel mode.
39 ?!GENERIC? b='%BASE%'; \
40 ?GENERIC? $(am__set_b); \
41 $(am__check_pre) %DRIVER% --test-name "$$f" \
42 --log-file $$b.log --trs-file $$b.trs \
43 $(am__common_driver_flags) %DRIVER_FLAGS% -- %COMPILE% \
44 "$$tst" $(AM_TESTS_FD_REDIRECT)
46 ## If no programs are built in this package, then this rule is removed
47 ## at automake time. Otherwise, %am__EXEEXT% expands to a configure time
48 ## conditional, true if $(EXEEXT) is nonempty, thus this rule does not
49 ## conflict with the previous one.
51 ?GENERIC?%EXT%$(EXEEXT).log:
53 ## Another hack to support BSD make in parallel mode.
54 ?!GENERIC? b='%BASE%'; \
55 ?GENERIC? $(am__set_b); \
56 $(am__check_pre) %DRIVER% --test-name "$$f" \
57 --log-file $$b.log --trs-file $$b.trs \
58 $(am__common_driver_flags) %DRIVER_FLAGS% -- %COMPILE% \
59 "$$tst" $(AM_TESTS_FD_REDIRECT)