NetBSD/usr.sbin/inetd/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

27 lines
520 B
Makefile

# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $NetBSD: Makefile,v 1.20 2005/01/10 02:58:59 lukem Exp $
.include <bsd.own.mk>
PROG= inetd
SRCS= inetd.c
MAN= inetd.8
MLINKS= inetd.8 inetd.conf.5
CPPFLAGS+=-DLIBWRAP
# Use LIBWRAP_INTERNAL for libwrap checking of inetd's `internal' services.
#CPPFLAGS+=-DLIBWRAP_INTERNAL
LDADD+= -lwrap -lutil
DPADD+= ${LIBWRAP} ${LIBUTIL}
.if (${USE_INET6} != "no")
CPPFLAGS+=-DINET6
.endif
CPPFLAGS+=-DIPSEC
SRCS+= ipsec.c
LDADD+= -lipsec
DPADD+= ${LIBIPSEC}
.include <bsd.prog.mk>