]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - include/rpcsvc/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / include / rpcsvc / Makefile
1 #       from: @(#)Makefile      2.3 88/08/11 4.0 RPCSRC
2 # $FreeBSD$
3
4 .SUFFIXES: .x
5
6 RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C
7
8 HDRS= 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
12 XFILES= 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
16 HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
17
18 CLEANFILES+= ${HDRS}
19
20 INCSGROUPS=     INCS RPCHDRS
21 INCS=           ${HFILES} ${XFILES} ${HDRS}
22 INCSDIR=        ${INCLUDEDIR}/rpcsvc
23 RPCHDRS=        key_prot.h
24 RPCHDRSDIR=     ${INCLUDEDIR}/rpc
25
26 .x.h:
27         ${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
28
29 nis.h: nis_object.x
30
31 .include <bsd.prog.mk>