summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bootparamd/bootparamd/Makefile
blob: c4e19d692cda8b0f30dff1816f3b592aa39e5abd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
#	$Id: Makefile,v 1.5 1995/05/30 03:46:26 rgrimes Exp $

PROG=	bootparamd
SRCS=	bootparam_prot_xdr.c bootparam_prot_svc.c bootparamd.c main.c
MAN8=	bootparamd.8
CFLAGS+= -DTFTP_DIR=\"/tftpboot\" -I.
CLEANFILES= bootparam_prot_svc.c bootparam_prot_xdr.c bootparam_prot.h

RPCSRC=	${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x

bootparam_prot_svc.c: ${RPCSRC} bootparam_prot.h
	rpcgen -m -o ${.TARGET} ${RPCSRC}

bootparam_prot_xdr.c: ${RPCSRC} bootparam_prot.h
	rpcgen -c -o ${.TARGET} ${RPCSRC}

bootparam_prot.h: ${RPCSRC}
	rpcgen -h -o ${.TARGET} ${RPCSRC}

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