1994-08-09 12:56:28 -04:00
|
|
|
# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
|
1999-08-27 20:22:10 -04:00
|
|
|
# $FreeBSD$
|
1994-08-09 12:56:28 -04:00
|
|
|
|
|
|
|
|
.PATH: ${DESTDIR}/usr/include/rpcsvc
|
|
|
|
|
|
|
|
|
|
LIB= rpcsvc
|
|
|
|
|
|
|
|
|
|
RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
|
1997-05-28 00:53:07 -04:00
|
|
|
rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \
|
|
|
|
|
ypupdate_prot.x
|
1994-08-09 12:56:28 -04:00
|
|
|
|
1997-05-28 00:53:07 -04:00
|
|
|
OTHERSRCS= rnusers.c rstat.c rwall.c yp_passwd.c yp_update.c
|
1998-05-18 17:59:53 -04:00
|
|
|
SECRPCSRCS= secretkey.c xcrypt.c
|
1994-08-09 12:56:28 -04:00
|
|
|
|
2002-02-06 11:13:04 -05:00
|
|
|
RPCCOM = rpcgen -C
|
1994-08-09 12:56:28 -04:00
|
|
|
|
2002-05-14 07:37:10 -04:00
|
|
|
INCDIRS= -I${DESTDIR}/usr/include/rpcsvc
|
1994-08-09 12:56:28 -04:00
|
|
|
|
1997-05-28 00:53:07 -04:00
|
|
|
CFLAGS+= -DYP ${INCDIRS}
|
|
|
|
|
|
|
|
|
|
GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
|
|
|
|
|
SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
|
|
|
|
|
|
1998-02-24 20:30:05 -05:00
|
|
|
CLEANFILES+= ${GENSRCS}
|
1994-08-09 12:56:28 -04:00
|
|
|
|
|
|
|
|
NOMAN= noman
|
|
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
|
|
|
|
|
|
.SUFFIXES: .x _xdr.c
|
|
|
|
|
|
|
|
|
|
.x_xdr.c:
|
1996-08-29 22:02:09 -04:00
|
|
|
${RPCCOM} -c ${.IMPSRC} -o ${.TARGET}
|
1994-08-09 12:56:28 -04:00
|
|
|
|
1997-05-28 00:53:07 -04:00
|
|
|
OBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \
|
|
|
|
|
${OTHERSRCS:R:S/$/.o/g}
|