Bring if_bridge up to date with FreeBSD.
[dragonfly.git] / include / rpcsvc / Makefile
1 #       from: @(#)Makefile      2.3 88/08/11 4.0 RPCSRC
2 # $FreeBSD: src/include/rpcsvc/Makefile,v 1.24.2.1 2002/07/22 14:21:46 ru Exp $
3 # $DragonFly: src/include/rpcsvc/Makefile,v 1.3 2004/02/02 05:43:13 dillon Exp $
4
5 .SUFFIXES: .x
6
7 # Inherit CPP_PATH from the buildworld so we use the correct cpp
8 # binary.  Otherwise the system cpp might get confused with our
9 # OBJFORMAT_PATH.
10 #
11 RPCCOM = rpcgen -C
12
13 HDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \
14       rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \
15       ypxfrd.h ypupdate_prot.h nis.h nis_cache.h nis_callback.h \
16       bootparam_prot.h crypt.h
17 XFILES= bootparam_prot.x key_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \
18       rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \
19       yppasswd.x yp.x ypxfrd.x ypupdate_prot.x nis.x nis_cache.x nis_object.x \
20       nis_callback.x crypt.x
21 HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
22
23 CLEANFILES+= ${HDRS}
24
25 INCSGROUPS=     INCS RPCHDRS
26 INCS=           ${HFILES} ${XFILES} ${HDRS}
27 INCSDIR=        ${INCLUDEDIR}/rpcsvc
28 RPCHDRS=        key_prot.h
29 RPCHDRSDIR=     ${INCLUDEDIR}/rpc
30
31 .x.h:
32         ${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
33
34 nis.h: nis_object.x
35
36 .include <bsd.prog.mk>