Sun Jan 24 15:43:09 2021 UTC ()
Install lint's custom stdbool.h and make lint search for it in the right place.


(christos)
diff -r1.4 -r1.5 src/tools/lint/Makefile

cvs diff -r1.4 -r1.5 src/tools/lint/Makefile (expand / switch to unified diff)

--- src/tools/lint/Makefile 2001/11/12 23:16:28 1.4
+++ src/tools/lint/Makefile 2021/01/24 15:43:09 1.5
@@ -1,8 +1,19 @@ @@ -1,8 +1,19 @@
1# $NetBSD: Makefile,v 1.4 2001/11/12 23:16:28 tv Exp $ 1# $NetBSD: Makefile,v 1.5 2021/01/24 15:43:09 christos Exp $
2 2
3HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-lint 3HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-lint
4HOST_SRCDIR= usr.bin/xlint/xlint 4HOST_SRCDIR= usr.bin/xlint/xlint
5HOST_CPPFLAGS= -DPATH_LIBEXEC=\"${TOOLDIR}/libexec\" \ 5HOST_CPPFLAGS= -DPATH_LIBEXEC=\"${TOOLDIR}/libexec\" \
 6 -DPATH_LIBLINT=\"${TOOLDIR}/libdata/lint\" \
6 -DTARGET_PREFIX=\"${MACHINE_GNU_PLATFORM}-\" 7 -DTARGET_PREFIX=\"${MACHINE_GNU_PLATFORM}-\"
7 8
 9
8.include "${.CURDIR}/../Makefile.host" 10.include "${.CURDIR}/../Makefile.host"
 11
 12STDBOOL_H=${NETBSDSRCDIR}/${HOST_SRCDIR}/strict-bool-stdbool.h
 13
 14install: ${TOOLDIR}/libdata/lint/stdbool.h
 15
 16${TOOLDIR}/libdata/lint/stdbool.h:: ${STDBOOL_H}
 17 ${_MKTARGET_INSTALL}
 18 mkdir -p ${TOOLDIR}/libdata/lint
 19 ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${STDBOOL_H} ${.TARGET}