2024-05-12 20:55:36 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.25 2024/05/12 17:55:36 rillig Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile.inc 8.1 (Berkeley) 6/8/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?= /sbin
|
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")
|
|
|
|
LDSTATIC?= -static
|
|
|
|
.endif
|
2021-09-14 23:13:03 +03:00
|
|
|
|
2024-04-20 16:24:48 +03:00
|
|
|
.if ${MKLINT} != "no" && !defined(NOLINT)
|
2021-09-14 23:13:03 +03:00
|
|
|
realall: lint
|
|
|
|
.endif
|