1 # from: @(#)Makefile 5.10 (Berkeley) 6/24/90
6 .PATH: ${.CURDIR}/../../include/rpcsvc
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 \
14 OTHERSRCS= rnusers.c rstat.c rwall.c
15 SECRPCSRCS= secretkey.c xcrypt.c
18 OTHERSRCS+= yp_passwd.c yp_update.c
23 INCDIRS= -I${DESTDIR}/usr/include/rpcsvc
25 CFLAGS+= -DYP ${INCDIRS}
27 GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
28 SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
30 CLEANFILES+= ${GENSRCS}
37 ${RPCCOM} -c ${.IMPSRC} -o ${.TARGET}
39 OBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \
40 ${OTHERSRCS:R:S/$/.o/g}