Adjust vfinddev() to return a referenced vnode in *vpp.
[dragonfly.git] / lib / librpcsvc / Makefile
blobae48a4939536da0c70d4dc65f1f857f1a9ebf095
1 # from: @(#)Makefile 5.10 (Berkeley) 6/24/90
2 # $FreeBSD: src/lib/librpcsvc/Makefile,v 1.13 1999/08/28 00:05:23 peter Exp $
3 # $DragonFly: src/lib/librpcsvc/Makefile,v 1.3 2007/11/25 14:33:02 swildner Exp $
5 .PATH: ${DESTDIR}/usr/include/rpcsvc
7 LIB= rpcsvc
8 WARNS?= 2
10 RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
11 rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \
12 ypupdate_prot.x
14 OTHERSRCS= rnusers.c rstat.c rwall.c yp_passwd.c yp_update.c
15 SECRPCSRCS= secretkey.c xcrypt.c
17 RPCCOM = rpcgen -C
19 INCDIRS= -I${DESTDIR}/usr/include/rpcsvc -I${DESTDIR}/usr/include
21 CFLAGS+= -DYP ${INCDIRS}
23 GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
24 SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
26 CLEANFILES+= ${GENSRCS}
28 NOMAN= noman
30 .include <bsd.lib.mk>
32 .SUFFIXES: .x _xdr.c
34 .x_xdr.c:
35 ${RPCCOM} -c ${.IMPSRC} -o ${.TARGET}
37 OBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \
38 ${OTHERSRCS:R:S/$/.o/g}