summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.bootparamd/Makefile
blob: 159241134d9f606578cbcccbb8d910fc2244dc37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.12 2015/11/26 19:00:40 deraadt Exp $

.include <bsd.own.mk>

PROG=	rpc.bootparamd
SRCS=	bootparamd.c bootparam_prot_svc.c
MAN=	bootparams.5 rpc.bootparamd.8
MLINKS=	rpc.bootparamd.8 bootparamd.8

DPADD=	${LIBRPCSVC}
LDADD=	-lrpcsvc

bootparam_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
	ln -fs ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h .
	rpcgen -C -m -o $@ $>

CLEANFILES += bootparam_prot_svc.c bootparam_prot.h

.include <bsd.prog.mk>