Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / lib / librpcsvc / Makefile
1 #       from: @(#)Makefile    5.10 (Berkeley) 6/24/90
2 # $FreeBSD: src/lib/librpcsvc/Makefile,v 1.13 1999/08/28 00:05:23 peter Exp $
3 # $DragonFly: src/lib/librpcsvc/Makefile,v 1.2 2003/06/17 04:26:51 dillon Exp $
4
5 .PATH: ${DESTDIR}/usr/include/rpcsvc
6
7 LIB=    rpcsvc
8
9 RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
10         rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \
11         ypupdate_prot.x
12
13 OTHERSRCS=  rnusers.c rstat.c rwall.c yp_passwd.c yp_update.c
14 SECRPCSRCS= secretkey.c xcrypt.c
15
16 RPCCOM = rpcgen -C
17
18 INCDIRS= -I${DESTDIR}/usr/include/rpcsvc -I${DESTDIR}/usr/include
19
20 CFLAGS+= -DYP ${INCDIRS}
21
22 GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
23 SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
24
25 CLEANFILES+= ${GENSRCS}
26
27 NOMAN= noman
28
29 .include <bsd.lib.mk>
30
31 .SUFFIXES: .x _xdr.c
32
33 .x_xdr.c:
34         ${RPCCOM} -c ${.IMPSRC} -o ${.TARGET}
35
36 OBJS=   ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \
37         ${OTHERSRCS:R:S/$/.o/g}