NetBSD/usr.sbin/rpc.lockd/Makefile
lukem d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00

27 lines
537 B
Makefile

# $NetBSD: Makefile,v 1.16 2009/04/22 15:23:07 lukem Exp $
USE_FORT?= yes # network server
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
CPPFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc
DPADD= ${LIBRPCSVC} ${LIBUTIL}
LDADD= -lrpcsvc -lutil
RPC_SVCFLAGS= -L -m
RPC_SVCFILES= nlm_prot_svc.c
RPC_XDIR= ${DESTDIR}/usr/include/rpcsvc/
CLEANFILES= test
.include <bsd.rpc.mk>
test: ${.CURDIR}/test.c
cc -o test ${.CURDIR}/test.c -lrpcsvc
.include <bsd.prog.mk>