1994-05-26 05:23:31 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
2001-07-20 06:20:32 +00:00
|
|
|
# $FreeBSD$
|
1994-05-26 05:23:31 +00:00
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-07-27 14:52:12 +00:00
|
|
|
|
1994-05-26 05:23:31 +00:00
|
|
|
PROG= trpt
|
2001-03-26 14:42:20 +00:00
|
|
|
MAN= trpt.8
|
1994-05-26 05:23:31 +00:00
|
|
|
BINGRP= kmem
|
2001-07-20 06:20:32 +00:00
|
|
|
BINMODE= 2555
|
|
|
|
|
2018-02-16 04:30:57 +00:00
|
|
|
.if ${MACHINE_CPUARCH} != "aarch64" && ${MACHINE_CPUARCH} != "amd64" && \
|
|
|
|
${MACHINE_CPUARCH} != "i386" && ${MACHINE_CPUARCH} != "riscv"
|
|
|
|
WARNS?= 4
|
|
|
|
.endif
|
|
|
|
|
2006-07-27 14:52:12 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2001-07-20 06:20:32 +00:00
|
|
|
CFLAGS+= -DINET6
|
2006-07-27 14:52:12 +00:00
|
|
|
.endif
|
1994-05-26 05:23:31 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
2018-02-15 21:06:56 +00:00
|
|
|
|
2018-02-16 04:30:57 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
|
|
|
|
${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "riscv"
|
2018-02-15 21:06:56 +00:00
|
|
|
# Several included system headers tickle this warning in ways that are
|
|
|
|
# difficult to work around in this program.
|
|
|
|
CFLAGS+= -Wno-missing-variable-declarations
|
2018-02-16 04:30:57 +00:00
|
|
|
.endif
|