1994-08-04 19:01:57 +00:00
|
|
|
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
|
1999-08-27 23:45:13 +00:00
|
|
|
# $FreeBSD$
|
1994-08-04 19:01:57 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .x
|
|
|
|
|
1998-01-19 17:19:09 +00:00
|
|
|
RPCCOM = rpcgen -C
|
1994-08-04 19:01:57 +00:00
|
|
|
|
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 \
|
1996-06-05 03:47:18 +00:00
|
|
|
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 \
|
1994-08-04 19:01:57 +00:00
|
|
|
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
|
1994-08-04 19:01:57 +00:00
|
|
|
|
|
|
|
CLEANFILES+= ${HDRS}
|
|
|
|
|
|
|
|
all: ${HDRS}
|
|
|
|
|
1997-09-16 10:52:59 +00:00
|
|
|
beforeinstall:
|
1997-08-21 09:29:49 +00:00
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
1997-08-21 18:33:13 +00:00
|
|
|
${HFILES:S;^;${.CURDIR}/;} \
|
|
|
|
${XFILES:S;^;${.CURDIR}/;} \
|
1997-08-21 09:29:49 +00:00
|
|
|
${HDRS} \
|
|
|
|
${DESTDIR}/usr/include/rpcsvc
|
1998-02-13 03:10:28 +00:00
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 key_prot.h \
|
|
|
|
${DESTDIR}/usr/include/rpc
|
1997-08-21 18:33:13 +00:00
|
|
|
|
1994-08-04 19:01:57 +00:00
|
|
|
.x.h:
|
1998-09-17 19:51:40 +00:00
|
|
|
${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
|
1994-08-04 19:01:57 +00:00
|
|
|
|
1998-01-16 11:51:19 +00:00
|
|
|
nis.h: nis_object.x
|
|
|
|
|
1994-08-04 19:01:57 +00:00
|
|
|
.include <bsd.prog.mk>
|