Sync usage with man page.
[netbsd-mini2440.git] / usr.sbin / rpc.bootparamd / Makefile
blobef778cf4807a82d4842c75f172a2f51f5437e274
1 # $NetBSD: Makefile,v 1.24 2003/01/06 02:26:53 thorpej Exp $
3 .include <bsd.own.mk>
5 USE_FORT?= yes # network server
7 PROG= rpc.bootparamd
8 SRCS= bootparamd.c bootparam_prot_svc.c
9 MAN= bootparams.5 rpc.bootparamd.8
10 MLINKS= rpc.bootparamd.8 bootparamd.8
12 .if (${USE_YP} != "no")
13 CPPFLAGS+=-DYP
14 .endif
16 DPADD= ${LIBRPCSVC} ${LIBUTIL}
17 LDADD= -lrpcsvc -lutil
19 RPC_SVCFILES= bootparam_prot_svc.c
20 RPC_SVCFLAGS= -L -m
21 RPC_XDIR= ${DESTDIR}/usr/include/rpcsvc/
23 CPPFLAGS+= -I${RPC_XDIR}
25 .include <bsd.rpc.mk>
26 .include <bsd.prog.mk>
28 test: test.c
29 cc -o test ${.ALLSRC} -lrpcsvc