1 # from: @(#)Makefile 5.10 (Berkeley) 6/24/90
4 .PATH: ${DESTDIR}/usr/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 yp_passwd.c yp_update.c
13 SECRPCSRCS= secretkey.c xcrypt.c
17 INCDIRS= -I${DESTDIR}/usr/include/rpcsvc
19 CFLAGS+= -DYP ${INCDIRS}
21 GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
22 SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
24 CLEANFILES+= ${GENSRCS}
33 ${RPCCOM} -c ${.IMPSRC} -o ${.TARGET}
35 OBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \
36 ${OTHERSRCS:R:S/$/.o/g}