22 lines
464 B
Makefile
22 lines
464 B
Makefile
# $NetBSD: Makefile,v 1.15 2019/10/13 07:28:19 mrg Exp $
|
|
|
|
USE_FORT?= yes # network server
|
|
|
|
PROG= rarpd
|
|
SRCS= rarpd.c mkarp.c
|
|
MAN= rarpd.8
|
|
|
|
# Uncomment the following to require a boot file in TFTP_DIR
|
|
# to exist for a rarp reply to be sent.
|
|
# CPPFLAGS+=-DREQUIRE_TFTPBOOT -DTFTP_DIR=\"/tftpboot\"
|
|
CPPFLAGS+=-DHAVE_IFADDRS_H
|
|
|
|
LDADD+= -lutil
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
COPTS.rarpd.c+= ${GCC_NO_STRINGOP_TRUNCATION}
|
|
|
|
COPTS.mkarp.c+= -Wno-pointer-sign
|