summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/yppush/Makefile
blob: 4939ff90cdb67c4697b229d2b4bbe1155ef2d61b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
#	$Id: Makefile,v 1.3 1995/04/02 01:10:08 wpaul Exp $

PROG=	yppush
SRCS=	yp_svc.c yp_clnt.c yppush.c

MAN8=	yppush.8
CLEANFILES= yp_svc.c yp_clnt.c yp.h yp.x

yp_svc.c: yp.h
	rm -f yp.x
	cp ${DESTDIR}/usr/include/rpcsvc/yp.x .
	rpcgen  -m -o yp_svc.c yp.x

yp_clnt.c: yp.h
	rm -f yp.x
	cp ${DESTDIR}/usr/include/rpcsvc/yp.x .
	rpcgen  -l -o yp_clnt.c yp.x

yp.h: 
	rm -f yp.x
	cp ${DESTDIR}/usr/include/rpcsvc/yp.x .
	rpcgen  -h -o yp.h yp.x

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud