1# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
2# $Id: Makefile,v 1.12 1996/08/30 22:36:45 peter Exp $
3
4.SUFFIXES: .x
5
6RPCCOM = rpcgen
7
8HDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \
9 rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \
10 ypxfrd.h ypupdate_prot.h nis.h nis_cache.h nis_callback.h \
11 bootparam_prot.h crypt.h
12XFILES= bootparam_prot.x key_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \
13 rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \
14 yppasswd.x yp.x ypxfrd.x ypupdate_prot.x nis.x nis_cache.x nis_object.x \
15 nis_callback.x crypt.x
16HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
17
18CLEANFILES+= ${HDRS}
19
20all: ${HDRS}
21
22# ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
23beforeinstall:
24 ${INSTALL} -C -m 444 \
25 ${HFILES:S;^;${.CURDIR}/;} \
26 ${XFILES:S;^;${.CURDIR}/;} \
27 ${HDRS} \
28 ${DESTDIR}/usr/include/rpcsvc
29
30.x.h:
31 ${RPCCOM} -h ${.IMPSRC} -o ${.TARGET}
32
33.include <bsd.prog.mk>
2# $Id: Makefile,v 1.12 1996/08/30 22:36:45 peter Exp $
3
4.SUFFIXES: .x
5
6RPCCOM = rpcgen
7
8HDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \
9 rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \
10 ypxfrd.h ypupdate_prot.h nis.h nis_cache.h nis_callback.h \
11 bootparam_prot.h crypt.h
12XFILES= bootparam_prot.x key_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \
13 rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \
14 yppasswd.x yp.x ypxfrd.x ypupdate_prot.x nis.x nis_cache.x nis_object.x \
15 nis_callback.x crypt.x
16HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
17
18CLEANFILES+= ${HDRS}
19
20all: ${HDRS}
21
22# ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
23beforeinstall:
24 ${INSTALL} -C -m 444 \
25 ${HFILES:S;^;${.CURDIR}/;} \
26 ${XFILES:S;^;${.CURDIR}/;} \
27 ${HDRS} \
28 ${DESTDIR}/usr/include/rpcsvc
29
30.x.h:
31 ${RPCCOM} -h ${.IMPSRC} -o ${.TARGET}
32
33.include <bsd.prog.mk>