NetBSD/usr.sbin/lpr/lpd/Makefile
lukem 7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00

21 lines
392 B
Makefile

# $NetBSD: Makefile,v 1.18 2005/01/10 02:58:59 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
PROG= lpd
MAN= lpd.8
SRCS= lpd.c printjob.c recvjob.c lpdchar.c key.c modes.c ttcompat.c rcmd.c
CPPFLAGS+=-DLIBWRAP
LDADD+= -lwrap
DPADD+= ${LIBWRAP}
.if (${USE_INET6} != "no")
CPPFLAGS.rcmd.c= -DINET6
.endif
.PATH: ${NETBSDSRCDIR}/lib/libc/net
.include <bsd.prog.mk>