1995-02-04 21:32:04 +00:00
|
|
|
# $Id: Makefile,v 1.4 1995/02/03 22:01:17 wpaul Exp $
|
1995-01-31 08:58:57 +00:00
|
|
|
# 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"'
|
|
|
|
|
1995-02-04 21:32:04 +00:00
|
|
|
MAN8= ypserv.8
|
1995-01-31 08:58:57 +00:00
|
|
|
|
1995-02-01 02:00:03 +00:00
|
|
|
afterinstall: /var/yp/Makefile /usr/libexec/mknetid
|
|
|
|
|
1995-02-03 03:41:38 +00:00
|
|
|
/var/yp/Makefile: ${.CURDIR}/Makefile.yp
|
1995-02-03 22:01:17 +00:00
|
|
|
@if [ ! -d /var/yp ]; then mkdir /var/yp; fi
|
1995-02-03 03:41:38 +00:00
|
|
|
install -c -o bin -g bin -m 444 ${.CURDIR}/Makefile.yp /var/yp/Makefile
|
1995-02-01 02:00:03 +00:00
|
|
|
|
1995-02-03 03:41:38 +00:00
|
|
|
/usr/libexec/mknetid: ${.CURDIR}/mknetid
|
|
|
|
install -c -o bin -g bin -m 555 ${.CURDIR}/mknetid /usr/libexec/mknetid
|
1995-02-01 02:00:03 +00:00
|
|
|
|
1995-01-31 08:58:57 +00:00
|
|
|
.include <bsd.prog.mk>
|