7ee41d4310
locally anymore.
28 lines
536 B
Makefile
28 lines
536 B
Makefile
# $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
|
|
MAN= bootparams.5 rpc.bootparamd.8
|
|
MLINKS= rpc.bootparamd.8 bootparamd.8
|
|
|
|
.if (${USE_YP} != "no")
|
|
CPPFLAGS+=-DYP
|
|
.endif
|
|
|
|
DPADD= ${LIBRPCSVC} ${LIBUTIL}
|
|
LDADD= -lrpcsvc -lutil
|
|
|
|
RPC_SVCFILES= bootparam_prot_svc.c
|
|
RPC_SVCFLAGS= -L -m
|
|
RPC_XDIR= ${DESTDIR}/usr/include/rpcsvc/
|
|
|
|
CPPFLAGS+= -I${RPC_XDIR}
|
|
|
|
.include <bsd.rpc.mk>
|
|
.include <bsd.prog.mk>
|
|
|
|
test: test.c
|
|
cc -o test ${.ALLSRC} -lrpcsvc
|