freebsd-nq/gnu/usr.sbin/ypserv/Makefile
Bill Paul c807d0240e Created manual page for ypserv and changed Makefile to install it.
Also tweaked server.c to support newer versions of tcpwrapper (log_tcp.h
is now tcpd.h and FROM_UNKNOWN changed to STRING_UNKNOWN).
1995-02-04 21:32:04 +00:00

22 lines
623 B
Makefile

# $Id: Makefile,v 1.4 1995/02/03 22:01:17 wpaul Exp $
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
PROG= ypserv
SRCS= dnslookup.c yp_svc.c yp_xdr.c server.c
CFLAGS+=-Wall -DTCP_WRAPPER=0 -DTCPW_FACILITY=LOG_AUTH
CFLAGS+=-DINSTDIR='"/usr/libexec"'
MAN8= ypserv.8
afterinstall: /var/yp/Makefile /usr/libexec/mknetid
/var/yp/Makefile: ${.CURDIR}/Makefile.yp
@if [ ! -d /var/yp ]; then mkdir /var/yp; fi
install -c -o bin -g bin -m 444 ${.CURDIR}/Makefile.yp /var/yp/Makefile
/usr/libexec/mknetid: ${.CURDIR}/mknetid
install -c -o bin -g bin -m 555 ${.CURDIR}/mknetid /usr/libexec/mknetid
.include <bsd.prog.mk>