mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
31 lines
710 B
Makefile
31 lines
710 B
Makefile
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
|
|
# $FreeBSD$
|
|
|
|
.SUFFIXES: .x
|
|
|
|
RPCCOM = rpcgen
|
|
|
|
HDRS= 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
|
|
XFILES= bootparam_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
|
|
HFILES= yp_prot.h ypclnt.h
|
|
|
|
CLEANFILES+= ${HDRS}
|
|
|
|
all: ${HDRS}
|
|
|
|
beforeinstall:
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
${HFILES:S;^;${.CURDIR}/;} \
|
|
${XFILES:S;^;${.CURDIR}/;} \
|
|
${HDRS} \
|
|
${DESTDIR}/usr/include/rpcsvc
|
|
|
|
.x.h:
|
|
${RPCCOM} -h ${.IMPSRC} -o ${.TARGET}
|
|
|
|
.include <bsd.prog.mk>
|