freebsd-skq/include/rpcsvc/Makefile

38 lines
1.1 KiB
Makefile
Raw Normal View History

# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
# $Id: Makefile,v 1.16 1997/05/28 16:26:05 wpaul Exp $
.SUFFIXES: .x
RPCCOM = rpcgen
1997-05-28 04:38:30 +00:00
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 \
1997-05-28 04:38:30 +00:00
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 \
1997-05-28 04:38:30 +00:00
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}
all: ${HDRS}
beforeinstall: installhdrs
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${HFILES:S;^;${.CURDIR}/;} \
${XFILES:S;^;${.CURDIR}/;} \
${DESTDIR}/usr/include/rpcsvc
installhdrs:
cd ${.OBJDIR}; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${HDRS} \
${DESTDIR}/usr/include/rpcsvc
.x.h:
${RPCCOM} -h ${.IMPSRC} -o ${.TARGET}
.include <bsd.prog.mk>