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