aboutsummaryrefslogtreecommitdiff
path: root/libexec/tcpd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/tcpd')
-rw-r--r--libexec/tcpd/Makefile21
-rw-r--r--libexec/tcpd/Makefile.depend16
2 files changed, 37 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>
diff --git a/libexec/tcpd/Makefile.depend b/libexec/tcpd/Makefile.depend
new file mode 100644
index 000000000000..611fd8022de7
--- /dev/null
+++ b/libexec/tcpd/Makefile.depend
@@ -0,0 +1,16 @@
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libcompiler_rt \
+ lib/libwrap \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif