aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/inetd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/inetd/Makefile')
-rw-r--r--usr.sbin/inetd/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/usr.sbin/inetd/Makefile b/usr.sbin/inetd/Makefile
new file mode 100644
index 000000000000..a5a080f60538
--- /dev/null
+++ b/usr.sbin/inetd/Makefile
@@ -0,0 +1,27 @@
+.include <src.opts.mk>
+
+CONFS= inetd.conf
+PROG= inetd
+PACKAGE= inetd
+MAN= inetd.8
+MLINKS= inetd.8 inetd.conf.5
+SRCS= inetd.c builtins.c
+
+CFLAGS+= -DLOGIN_CAP
+#CFLAGS+= -DSANITY_CHECK
+
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DINET6
+.endif
+
+LIBADD= util
+
+.if ${MK_TCP_WRAPPERS} != "no"
+CFLAGS+= -DLIBWRAP
+LIBADD+= wrap
+.endif
+
+CFLAGS+= -DIPSEC
+LIBADD+= ipsec
+
+.include <bsd.prog.mk>