summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/ypxfr/Makefile
blob: fe1a3ceff79db29ed08143d01e8ff700aa13f8a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$OpenBSD: Makefile,v 1.3 1997/04/20 10:08:34 maja Exp $

PROG=	ypxfr
SRCS=	ypxfr.c ypdb.c yplog.c yplib_host.c ypxfr_xdr.c
MAN=	ypxfr.8
MLINKS= ypxfr.8 ypxfr_1perhour.8 \
	ypxfr.8 ypxfr_2perday.8 \
	ypxfr.8 ypxfr_1perday.8
SCRIPTS= ypxfr_1perhour.sh ypxfr_2perday.sh ypxfr_1perday.sh

.PATH:	${.CURDIR}/../common
CFLAGS+=-I${.CURDIR}/../common

beforeinstall:
.for script in ${SCRIPTS}
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/${script} ${DESTDIR}${BINDIR}/${script:R}
.endfor

.include <bsd.prog.mk>