opnsense-src/usr.bin/m4
Alex Richardson 5bb9250e0a Add necessary Makefile.inc1 infrastructure for building on non-FreeBSD
The most awkward bit in this patch is the bootstrapping of m4:
We can't simply use the host version of m4 since that is not compatible
with the flags passed by lex (at least on macOS, possibly also on Linux).
Therefore we need to bootstrap m4, but lex needs m4 to build and m4 also
depends on lex (which needs m4 to generate any files). To work around this
cyclic dependency we can build a bootstrap version of m4 (with pre-generated
files) then use that to build the real m4.

This patch also changes the xz/unxz/dd tools to always use the host version
since the version in the source tree cannot easily be bootstrapped on macOS
or Linux.

Reviewed By:	brooks, imp (earlier version)
Differential Revision: https://reviews.freebsd.org/D25992
2020-08-25 13:29:57 +00:00
..
TEST Reduce diff with upstream. 2013-05-03 23:29:38 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
eval.c m4: import from OpenBSD 2019-09-09 15:37:40 +00:00
expr.c More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
extern.h Import from OpenBSD: -E flag 2019-09-09 15:18:04 +00:00
gnum4.c m4: import patch from OpenBSD 2019-09-09 15:24:48 +00:00
look.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
m4.1 Import from OpenBSD: -E flag 2019-09-09 15:18:04 +00:00
main.c Import from OpenBSD: -E flag 2019-09-09 15:18:04 +00:00
Makefile Add necessary Makefile.inc1 infrastructure for building on non-FreeBSD 2020-08-25 13:29:57 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mdef.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
misc.c Import from OpenBSD: -E flag 2019-09-09 15:18:04 +00:00
NOTES
parser.y Synchronize with OpenBSD 2015-05-18 22:40:12 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
stdd.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
tokenizer.l Import from OpenBSD a patch which eliminates the link with -ly or -ly 2019-09-09 15:20:19 +00:00
trace.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00