1 # from: @(#)Makefile 5.10 (Berkeley) 6/24/90
4 .PATH: ${.CURDIR}/../../include/rpcsvc
8 RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
9 rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \
12 OTHERSRCS= rnusers.c rstat.c rwall.c
13 SECRPCSRCS= secretkey.c xcrypt.c
16 OTHERSRCS+= yp_passwd.c yp_update.c
21 INCDIRS= -I${DESTDIR}/usr/include/rpcsvc
23 CFLAGS+= -DYP ${INCDIRS}
25 GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
26 SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
28 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}