aboutsummaryrefslogtreecommitdiff
path: root/libexec/tcpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/tcpd/Makefile')
-rw-r--r--libexec/tcpd/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/libexec/tcpd/Makefile b/libexec/tcpd/Makefile
new file mode 100644
index 000000000000..4845013f7489
--- /dev/null
+++ b/libexec/tcpd/Makefile
@@ -0,0 +1,21 @@
+.include <src.opts.mk>
+
+.PATH: ${SRCTOP}/contrib/tcp_wrappers
+
+PACKAGE= tcpd
+
+PROG= tcpd
+MAN= tcpd.8
+CFLAGS+=-DREAL_DAEMON_DIR=\"${LIBEXECDIR}\" \
+ -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
+ -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
+ -DFACILITY=LOG_DAEMON
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+=-DINET6
+.endif
+
+LIBADD= wrap
+
+WARNS?= 1
+
+.include <bsd.prog.mk>