Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/lint Install lint's custom stdbool.h and make lint sea...
details: https://anonhg.NetBSD.org/src/rev/742d697fa207
branches: trunk
changeset: 950304:742d697fa207
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 24 15:43:09 2021 +0000
description:
Install lint's custom stdbool.h and make lint search for it in the right place.
diffstat:
tools/lint/Makefile | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r afb92a4d88fe -r 742d697fa207 tools/lint/Makefile
--- a/tools/lint/Makefile Sun Jan 24 15:34:07 2021 +0000
+++ b/tools/lint/Makefile Sun Jan 24 15:43:09 2021 +0000
@@ -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}
Home |
Main Index |
Thread Index |
Old Index