mxge: fix typo
[dragonfly.git] / lib / libypclnt / Makefile
blob1445b6366dbff476d8687f59f883ca4d36628f9b
1 # $FreeBSD: src/lib/libypclnt/Makefile,v 1.16 2007/05/21 02:49:08 deischen Exp $
3 LIB= ypclnt
4 SRCS= ypclnt_connect.c \
5 ypclnt_error.c \
6 ypclnt_free.c \
7 ypclnt_new.c \
8 ypclnt_passwd.c \
9 ${GENSRCS}
10 CLEANFILES+= ${GENSRCS}
11 INCS= ypclnt.h
13 CFLAGS+= -I.
14 WARNS?= 6
16 GENSRCS=yp.h \
17 yp_clnt.c \
18 yppasswd.h \
19 yppasswd_xdr.c \
20 yppasswd_clnt.c \
21 yppasswd_private.h \
22 yppasswd_private_clnt.c \
23 yppasswd_private_xdr.c
25 RPCGEN= rpcgen -C
26 RPCSRC= ${.CURDIR}/../../include/rpcsvc/yp.x
27 RPCSRC_PW= ${.CURDIR}/../../include/rpcsvc/yppasswd.x
28 RPCSRC_PRIV= ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x
30 yp.h: ${RPCSRC}
31 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
33 yp_clnt.c: ${RPCSRC}
34 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC}
36 yppasswd.h: ${RPCSRC_PW}
37 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW}
39 yppasswd_xdr.c: ${RPCSRC_PW}
40 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PW}
42 yppasswd_clnt.c: ${RPCSRC_PW}
43 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW}
45 yppasswd_private.h: ${RPCSRC_PRIV}
46 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV}
48 yppasswd_private_xdr.c: ${RPCSRC_PRIV}
49 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV}
51 yppasswd_private_clnt.c: ${RPCSRC_PRIV}
52 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV}
54 .include <bsd.lib.mk>