# $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