2024-05-12 20:55:36 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.20 2024/05/12 17:55:36 rillig Exp $
|
1995-03-21 05:08:51 +03:00
|
|
|
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-08-27 18:46:11 +04:00
|
|
|
.include <bsd.own.mk> # for MKDYNAMICROOT definition
|
1998-03-03 01:03:11 +03:00
|
|
|
|
2012-03-21 09:47:53 +04:00
|
|
|
WARNS?= 5
|
2002-09-28 01:04:46 +04:00
|
|
|
BINDIR?= /bin
|
2002-08-27 18:46:11 +04:00
|
|
|
|
2024-05-12 20:55:36 +03:00
|
|
|
LINTFLAGS+= -u # don't warn about "used but not defined"
|
|
|
|
|
2002-08-27 18:46:11 +04:00
|
|
|
.if (${MKDYNAMICROOT} == "no")
|
1997-10-10 11:32:54 +04:00
|
|
|
LDSTATIC?= -static
|
2002-08-27 18:46:11 +04:00
|
|
|
.endif
|
2021-10-10 00:06:31 +03:00
|
|
|
|
2024-04-20 16:24:48 +03:00
|
|
|
.if ${MKLINT} != "no" && !defined(NOLINT)
|
2021-10-10 00:06:31 +03:00
|
|
|
realall: lint
|
|
|
|
.endif
|