NetBSD/usr.sbin/rpc.bootparamd/Makefile

28 lines
536 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2003/01/06 02:26:53 thorpej Exp $
.include <bsd.own.mk>
PROG= rpc.bootparamd
SRCS= bootparamd.c bootparam_prot_svc.c
1994-12-22 14:32:57 +03:00
MAN= bootparams.5 rpc.bootparamd.8
MLINKS= rpc.bootparamd.8 bootparamd.8
.if (${USE_YP} != "no")
1997-10-25 10:57:53 +04:00
CPPFLAGS+=-DYP
.endif
1999-06-06 06:38:00 +04:00
DPADD= ${LIBRPCSVC} ${LIBUTIL}
LDADD= -lrpcsvc -lutil
2003-01-05 22:24:06 +03:00
RPC_SVCFILES= bootparam_prot_svc.c
RPC_SVCFLAGS= -L -m
RPC_XDIR= ${DESTDIR}/usr/include/rpcsvc/
CPPFLAGS+= -I${RPC_XDIR}
2003-01-05 22:24:06 +03:00
.include <bsd.rpc.mk>
.include <bsd.prog.mk>
test: test.c
cc -o test ${.ALLSRC} -lrpcsvc