1 1.1 mrg # $NetBSD: Makefile,v 1.1 1996/11/26 16:48:09 mrg Exp $ 2 1.1 mrg 3 1.1 mrg LIB= wrap 4 1.1 mrg 5 1.1 mrg SRCS= hosts_access.c options.c shell_cmd.c rfc931.c eval.c hosts_ctl.c \ 6 1.1 mrg refuse.c percent_x.c clean_exit.c fix_options.c socket.c \ 7 1.1 mrg workarounds.c update.c misc.c diag.c percent_m.c 8 1.1 mrg MAN= hosts_access.3 hosts_access.5 hosts_options.5 9 1.1 mrg 10 1.1 mrg CFLAGS+= -DFACILITY=LOG_AUTHPRIV -DSEVERITY=LOG_INFO -DPARANOID 11 1.1 mrg CFLAGS+= -DREAL_DAEMON_DIR=\"/usr/libexec\" -DHOSTS_ACCESS -DDAEMON_UMASK=022 12 1.1 mrg CFLAGS+= -DRFC931_TIMEOUT=10 -DALWAYS_HOSTNAME -DSYS_ERRLIST_DEFINED 13 1.1 mrg CFLAGS+= -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DHOSTS_DENY=\"/etc/hosts.deny\" 14 1.1 mrg 15 1.1 mrg includes: 16 1.1 mrg -cd ${.CURDIR}; cmp -s tcpd.h ${DESTDIR}/usr/include/tcpd.h > \ 17 1.1 mrg /dev/null 2>&1 || \ 18 1.1 mrg ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 tcpd.h \ 19 1.1 mrg ${DESTDIR}/usr/include 20 1.1 mrg 21 1.1 mrg .include <bsd.lib.mk> 22