mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
5e0a19bdee
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week
32 lines
931 B
Makefile
32 lines
931 B
Makefile
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
|
|
# $FreeBSD$
|
|
|
|
.SUFFIXES: .x
|
|
|
|
RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C
|
|
|
|
HDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \
|
|
rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \
|
|
ypxfrd.h ypupdate_prot.h nis.h nis_cache.h nis_callback.h \
|
|
bootparam_prot.h crypt.h
|
|
XFILES= bootparam_prot.x key_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \
|
|
rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \
|
|
yppasswd.x yp.x ypxfrd.x ypupdate_prot.x nis.x nis_cache.x nis_object.x \
|
|
nis_callback.x crypt.x
|
|
HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
|
|
|
|
CLEANFILES+= ${HDRS}
|
|
|
|
INCSGROUPS= INCS RPCHDRS
|
|
INCS= ${HFILES} ${XFILES} ${HDRS}
|
|
INCSDIR= ${INCLUDEDIR}/rpcsvc
|
|
RPCHDRS= key_prot.h
|
|
RPCHDRSDIR= ${INCLUDEDIR}/rpc
|
|
|
|
.x.h:
|
|
${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
|
|
|
|
nis.h: nis_object.x
|
|
|
|
.include <bsd.prog.mk>
|