1#	@(#)Makefile	8.1 (Berkeley) 6/6/93
2# $FreeBSD: stable/10/usr.sbin/inetd/Makefile 313206 2017-02-04 15:52:08Z ngie $
3
4.include <bsd.own.mk>
5
6PROG=	inetd
7MAN=	inetd.8
8MLINKS=	inetd.8 inetd.conf.5
9SRCS=	inetd.c builtins.c
10
11WARNS?=	3
12CFLAGS+= -DLOGIN_CAP
13#CFLAGS+= -DSANITY_CHECK
14
15.if ${MK_INET6_SUPPORT} != "no"
16CFLAGS+= -DINET6
17.endif
18
19DPADD+=		${LIBUTIL}
20LDADD+=		-lutil
21
22.if ${MK_TCP_WRAPPERS} != "no"
23CFLAGS+=	-DLIBWRAP
24DPADD+=		${LIBWRAP}
25LDADD+=		-lwrap
26.endif
27
28# XXX for src/release/picobsd
29.if !defined(RELEASE_CRUNCH)
30CFLAGS+= -DIPSEC
31DPADD+=	${LIBIPSEC}
32LDADD+=	-lipsec
33.endif
34
35.include <bsd.prog.mk>
36