1# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC 2 3.SUFFIXES: .x 4 5RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C 6 7HDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \ 8 rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \ 9 ypxfrd.h ypupdate_prot.h nis.h nis_cache.h nis_callback.h \ 10 bootparam_prot.h crypt.h 11XFILES= bootparam_prot.x key_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \ 12 rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \ 13 yppasswd.x yp.x ypxfrd.x ypupdate_prot.x nis.x nis_cache.x nis_object.x \ 14 nis_callback.x crypt.x 15HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h 16 17CLEANFILES+= ${HDRS} 18 19INCSGROUPS= INCS RPCHDRS 20INCS= ${HFILES} ${XFILES} ${HDRS} 21INCSDIR= ${INCLUDEDIR}/rpcsvc 22RPCHDRS= key_prot.h 23RPCHDRSDIR= ${INCLUDEDIR}/rpc 24 25.x.h: 26 ${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET} 27 28nis.h: nis_object.x 29 30.include <bsd.prog.mk> 31