xref: /freebsd-14.2/include/rpcsvc/Makefile (revision d0b2dbfa)
175b63130SGarrett Wollman#	from: @(#)Makefile	2.3 88/08/11 4.0 RPCSRC
275b63130SGarrett Wollman
375b63130SGarrett Wollman.SUFFIXES: .x
475b63130SGarrett Wollman
5*5e0a19bdSDimitry AndricRPCCOM=	RPCGEN_CPP=${CPP:Q} rpcgen -C
675b63130SGarrett Wollman
79bd1654aSBill PaulHDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \
82dc30288SBill Paul      rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \
99bd1654aSBill Paul      ypxfrd.h ypupdate_prot.h nis.h nis_cache.h nis_callback.h \
109bd1654aSBill Paul      bootparam_prot.h crypt.h
119bd1654aSBill PaulXFILES= bootparam_prot.x key_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \
1275b63130SGarrett Wollman      rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \
139bd1654aSBill Paul      yppasswd.x yp.x ypxfrd.x ypupdate_prot.x nis.x nis_cache.x nis_object.x \
149bd1654aSBill Paul      nis_callback.x crypt.x
159bd1654aSBill PaulHFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
1675b63130SGarrett Wollman
1775b63130SGarrett WollmanCLEANFILES+= ${HDRS}
1875b63130SGarrett Wollman
19c7b111cbSRuslan ErmilovINCSGROUPS=	INCS RPCHDRS
20c7b111cbSRuslan ErmilovINCS=		${HFILES} ${XFILES} ${HDRS}
21c7b111cbSRuslan ErmilovINCSDIR=	${INCLUDEDIR}/rpcsvc
22c7b111cbSRuslan ErmilovRPCHDRS=	key_prot.h
23c7b111cbSRuslan ErmilovRPCHDRSDIR=	${INCLUDEDIR}/rpc
2475b63130SGarrett Wollman
2575b63130SGarrett Wollman.x.h:
26b8cff82dSDavid E. O'Brien	${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
2775b63130SGarrett Wollman
2825776f4cSBruce Evansnis.h: nis_object.x
2925776f4cSBruce Evans
3075b63130SGarrett Wollman.include <bsd.prog.mk>
31