Deleted Added
full compact
Makefile (176006) Makefile (231118)
1# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
1# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
2# $FreeBSD: head/lib/librpcsvc/Makefile 176006 2008-02-05 20:03:45Z matteo $
2# $FreeBSD: head/lib/librpcsvc/Makefile 231118 2012-02-07 09:27:07Z dim $
3
4.include <bsd.own.mk>
5
6.PATH: ${.CURDIR}/../../include/rpcsvc
7
8LIB= rpcsvc
9
10RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
11 rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \
12 ypupdate_prot.x
13
14OTHERSRCS= rnusers.c rstat.c rwall.c
15SECRPCSRCS= secretkey.c xcrypt.c
16
17.if ${MK_NIS} != "no"
18OTHERSRCS+= yp_passwd.c yp_update.c
19.endif
20
3
4.include <bsd.own.mk>
5
6.PATH: ${.CURDIR}/../../include/rpcsvc
7
8LIB= rpcsvc
9
10RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
11 rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \
12 ypupdate_prot.x
13
14OTHERSRCS= rnusers.c rstat.c rwall.c
15SECRPCSRCS= secretkey.c xcrypt.c
16
17.if ${MK_NIS} != "no"
18OTHERSRCS+= yp_passwd.c yp_update.c
19.endif
20
21RPCCOM = rpcgen -C
21RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C
22
23INCDIRS= -I${DESTDIR}/usr/include/rpcsvc
24
25CFLAGS+= -DYP ${INCDIRS}
26
27GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
28SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
29

--- 13 unchanged lines hidden ---
22
23INCDIRS= -I${DESTDIR}/usr/include/rpcsvc
24
25CFLAGS+= -DYP ${INCDIRS}
26
27GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
28SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
29

--- 13 unchanged lines hidden ---