Module Name:    src
Committed By:   christos
Date:           Sun Jan 24 15:43:09 UTC 2021

Modified Files:
        src/tools/lint: Makefile

Log Message:
Install lint's custom stdbool.h and make lint search for it in the right place.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tools/lint/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/lint/Makefile
diff -u src/tools/lint/Makefile:1.4 src/tools/lint/Makefile:1.5
--- src/tools/lint/Makefile:1.4	Mon Nov 12 18:16:28 2001
+++ src/tools/lint/Makefile	Sun Jan 24 10:43:09 2021
@@ -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}

Reply via email to