2003-01-05 22:24:06 +03:00
|
|
|
# $NetBSD: Makefile,v 1.13 2003/01/05 19:24:07 sommerfeld Exp $
|
1997-03-10 09:26:19 +03:00
|
|
|
|
2003-01-05 22:24:06 +03:00
|
|
|
PROG= rpc.lockd
|
|
|
|
SRCS= nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
|
|
|
|
MAN= rpc.lockd.8
|
|
|
|
MLINKS= rpc.lockd.8 lockd.8
|
1997-03-10 09:26:19 +03:00
|
|
|
|
2003-01-05 22:24:06 +03:00
|
|
|
CPPFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc
|
1997-03-10 09:26:19 +03:00
|
|
|
|
2003-01-05 22:24:06 +03:00
|
|
|
DPADD= ${LIBRPCSVC} ${LIBUTIL}
|
|
|
|
LDADD= -lrpcsvc -lutil
|
1997-03-10 09:26:19 +03:00
|
|
|
|
2003-01-05 22:24:06 +03:00
|
|
|
RPC_SVCFLAGS= -L -m
|
|
|
|
RPC_SVCFILES= nlm_prot_svc.c
|
|
|
|
RPC_XDIR= ${DESTDIR}/usr/include/rpcsvc/
|
1997-03-10 09:26:19 +03:00
|
|
|
|
2003-01-05 22:24:06 +03:00
|
|
|
CLEANFILES= test
|
|
|
|
|
|
|
|
.include <bsd.rpc.mk>
|
1997-03-10 09:26:19 +03:00
|
|
|
|
|
|
|
test: ${.CURDIR}/test.c
|
|
|
|
cc -o test ${.CURDIR}/test.c -lrpcsvc
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|