Remove the NO_CRYPT build option.
[dragonfly.git] / lib / librpcsvc / Makefile
blobf2bdce232d275db107f6ca8fa3759387caa393fd
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 $
4 .PATH: ${DESTDIR}/usr/include/rpcsvc
6 LIB= rpcsvc
7 WARNS?= 2
9 RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
10 rquota.x rstat.x sm_inter.x spray.x yppasswd.x ypxfrd.x \
11 ypupdate_prot.x
13 # produces empty objects
14 #RPCSRCS+= rwall.x
16 OTHERSRCS= rnusers.c rstat.c rwall.c yp_passwd.c yp_update.c
17 SECRPCSRCS= secretkey.c xcrypt.c
19 RPCCOM = rpcgen -C -Y "${OBJFORMAT_PATH}/usr/bin"
21 INCDIRS= -I${DESTDIR}/usr/include/rpcsvc -I${DESTDIR}/usr/include
23 CFLAGS+= -DYP ${INCDIRS}
25 GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
26 SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
28 CLEANFILES+= ${GENSRCS}
30 NOMAN= noman
32 .include <bsd.lib.mk>
34 .SUFFIXES: .x _xdr.c
36 .x_xdr.c:
37 ${RPCCOM} -c ${.IMPSRC} -o ${.TARGET}
39 OBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \
40 ${OTHERSRCS:R:S/$/.o/g}