aboutsummaryrefslogtreecommitdiff
path: root/lib/libwrap/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1999-03-14 17:56:11 +0000
committerMark Murray <markm@FreeBSD.org>1999-03-14 17:56:11 +0000
commitf3fc2030ea8536e03c30533488ad4ad690097495 (patch)
tree36dcf4f756c4e6897f990db16fa4ff673c81fb9c /lib/libwrap/Makefile
parent5d089cad7e86cf74250d59b3c9efb7528418aee5 (diff)
downloadsrc-f3fc2030ea8536e03c30533488ad4ad690097495.tar.gz
src-f3fc2030ea8536e03c30533488ad4ad690097495.zip
Build libwrap - the core to tcp_wrappers.
Notes
Notes: svn path=/head/; revision=44746
Diffstat (limited to 'lib/libwrap/Makefile')
-rw-r--r--lib/libwrap/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile
new file mode 100644
index 000000000000..205285e70005
--- /dev/null
+++ b/lib/libwrap/Makefile
@@ -0,0 +1,29 @@
+#
+# $Id$
+#
+
+MAINTAINER=markm@FreeBSD.org
+
+LIB= wrap
+MAN3= hosts_access.3
+MAN5= hosts_access.5 hosts_options.5
+
+.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
+
+CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \
+ -DREAL_DAEMON_DIR=\"/usr/libexec\" -DPROCESS_OPTIONS \
+ -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
+ -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
+ -DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME
+
+SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \
+ hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \
+ percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \
+ socket.c tli.c update.c workarounds.c
+
+beforeinstall:
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.CURDIR}/../../contrib/tcp_wrappers/tcpd.h \
+ ${DESTDIR}/usr/include
+
+.include <bsd.lib.mk>