#	@(#)Makefile	8.1 (Berkeley) 6/6/93
# $FreeBSD: stable/12/usr.sbin/trpt/Makefile 329411 2018-02-16 20:46:44Z cem $

.include <src.opts.mk>

PROG=	trpt
MAN=	trpt.8
BINGRP=	kmem
BINMODE= 2555

.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} < 50000
WARNS?=	4
.endif

.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif

.include <bsd.prog.mk>

.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 50000
# Several included system headers tickle this warning in ways that are
# difficult to work around in this program.
CFLAGS+= -Wno-missing-variable-declarations
.endif
