diff options
| author | christos <christos@NetBSD.org> | 2021-01-24 15:43:09 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2021-01-24 15:43:09 +0000 |
| commit | 34af2d4e20f568633e2cb09639f1c8cd0725f8a2 (patch) | |
| tree | d016f0ed3b87b782aa16c297c074ce47e39a38e7 | |
| parent | cd049b3051dd3f23d10dd4d106f185a56b56126d (diff) | |
Install lint's custom stdbool.h and make lint search for it in the right place.
| -rw-r--r-- | tools/lint/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tools/lint/Makefile b/tools/lint/Makefile index 5544194bb57..5fb95038876 100644 --- a/tools/lint/Makefile +++ b/tools/lint/Makefile @@ -1,8 +1,19 @@ -# $NetBSD: Makefile,v 1.4 2001/11/12 23:16:28 tv Exp $ +# $NetBSD: Makefile,v 1.5 2021/01/24 15:43:09 christos Exp $ HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-lint HOST_SRCDIR= usr.bin/xlint/xlint HOST_CPPFLAGS= -DPATH_LIBEXEC=\"${TOOLDIR}/libexec\" \ + -DPATH_LIBLINT=\"${TOOLDIR}/libdata/lint\" \ -DTARGET_PREFIX=\"${MACHINE_GNU_PLATFORM}-\" + .include "${.CURDIR}/../Makefile.host" + +STDBOOL_H=${NETBSDSRCDIR}/${HOST_SRCDIR}/strict-bool-stdbool.h + +install: ${TOOLDIR}/libdata/lint/stdbool.h + +${TOOLDIR}/libdata/lint/stdbool.h:: ${STDBOOL_H} + ${_MKTARGET_INSTALL} + mkdir -p ${TOOLDIR}/libdata/lint + ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${STDBOOL_H} ${.TARGET} |
