1994-08-04 20:01:57 +01:00
|
|
|
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
|
1999-08-28 00:45:13 +01:00
|
|
|
# $FreeBSD$
|
1994-08-04 20:01:57 +01:00
|
|
|
|
|
|
|
.SUFFIXES: .x
|
|
|
|
|
1998-01-19 17:19:09 +00:00
|
|
|
RPCCOM = rpcgen -C
|
1994-08-04 20:01:57 +01:00
|
|
|
|
1997-05-28 05:38:30 +01:00
|
|
|
HDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \
|
1996-06-05 04:47:18 +01:00
|
|
|
rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \
|
1997-05-28 05:38:30 +01: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 20:01:57 +01:00
|
|
|
rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \
|
1997-05-28 05:38:30 +01: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 20:01:57 +01:00
|
|
|
|
|
|
|
CLEANFILES+= ${HDRS}
|
|
|
|
|
|
|
|
all: ${HDRS}
|
|
|
|
|
1997-09-16 11:52:59 +01:00
|
|
|
beforeinstall:
|
1997-08-21 10:29:49 +01:00
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
1997-08-21 19:33:13 +01:00
|
|
|
${HFILES:S;^;${.CURDIR}/;} \
|
|
|
|
${XFILES:S;^;${.CURDIR}/;} \
|
1997-08-21 10:29:49 +01: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 19:33:13 +01:00
|
|
|
|
1994-08-04 20:01:57 +01:00
|
|
|
.x.h:
|
1998-09-17 20:51:40 +01:00
|
|
|
${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
|
1994-08-04 20:01:57 +01:00
|
|
|
|
1998-01-16 11:51:19 +00:00
|
|
|
nis.h: nis_object.x
|
|
|
|
|
1994-08-04 20:01:57 +01:00
|
|
|
.include <bsd.prog.mk>
|