1# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC 2# $FreeBSD: src/include/rpcsvc/Makefile,v 1.24.2.1 2002/07/22 14:21:46 ru Exp $ 3# $DragonFly: src/include/rpcsvc/Makefile,v 1.3 2004/02/02 05:43:13 dillon Exp $ 4 5.SUFFIXES: .x 6 7# Inherit CPP_PATH from the buildworld so we use the correct cpp 8# binary. Otherwise the system cpp might get confused with our 9# OBJFORMAT_PATH. 10# 11RPCCOM = rpcgen -C 12 13HDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \ 14 rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \ 15 ypxfrd.h ypupdate_prot.h nis.h nis_cache.h nis_callback.h \ 16 bootparam_prot.h crypt.h 17XFILES= bootparam_prot.x key_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \ 18 rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \ 19 yppasswd.x yp.x ypxfrd.x ypupdate_prot.x nis.x nis_cache.x nis_object.x \ 20 nis_callback.x crypt.x 21HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h 22 23CLEANFILES+= ${HDRS} 24 25INCSGROUPS= INCS RPCHDRS 26INCS= ${HFILES} ${XFILES} ${HDRS} 27INCSDIR= ${INCLUDEDIR}/rpcsvc 28RPCHDRS= key_prot.h 29RPCHDRSDIR= ${INCLUDEDIR}/rpc 30 31.x.h: 32 ${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET} 33 34nis.h: nis_object.x 35 36.include <bsd.prog.mk> 37