mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
091c4c86d1
- Provide function prototype for nlm_syscall - Don't assign a variable from the stack to a global var[1] - Remove unused vars Found by: clang static analyser [1] Reviewed by: dfr
30 lines
636 B
Makefile
30 lines
636 B
Makefile
# $NetBSD: Makefile,v 1.12 2000/08/07 16:23:31 thorpej Exp $
|
|
# $FreeBSD$
|
|
|
|
PROG= rpc.lockd
|
|
MAN= rpc.lockd.8
|
|
MLINKS= rpc.lockd.8 lockd.8
|
|
SRCS= kern.c nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
|
|
|
|
CFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc
|
|
WARNS?= 3
|
|
|
|
DPADD= ${LIBRPCSVC} ${LIBUTIL}
|
|
LDADD= -lrpcsvc -lutil
|
|
|
|
CLEANFILES= nlm_prot_svc.c nlm_prot.h test
|
|
|
|
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
|
|
RPCGEN= rpcgen -L -C
|
|
|
|
nlm_prot_svc.c: ${RPCSRC}
|
|
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
|
|
|
|
nlm_prot.h: ${RPCSRC}
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|
|
|
|
test: ${.CURDIR}/test.c
|
|
cc -o test ${.CURDIR}/test.c -lrpcsvc
|
|
|
|
.include <bsd.prog.mk>
|