Fix the __BSD_VISIBLE check in a few headers.
[dragonfly.git] / lib / libc / yp / Makefile.inc
blob295c1e665b9f4f0be677be84e9673ce996ac80ea
1 #       from: @(#)Makefile.inc  5.3 (Berkeley) 2/20/91
2 # $FreeBSD: src/lib/libc/yp/Makefile.inc,v 1.8 1999/08/28 00:02:58 peter Exp $
4 # yp sources
5 .PATH: ${.CURDIR}/../libc/yp
7 CMAPS+= ${.CURDIR}/yp/Symbol.map
9 SRCS+=  xdryp.c yp.h yp_xdr.c yplib.c
10 CLEANFILES+=    yp.h yp_xdr.c
12 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x
13 RPCGEN= rpcgen -C
15 yp_xdr.c: ${RPCSRC}
16         ${RPCGEN} -c -o ${.TARGET} ${RPCSRC}
18 yp.h: ${RPCSRC}
19         ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
21 .if ${LIB} == "c"
22 MAN+=   ypclnt.3
24 MLINKS+=ypclnt.3 yp_all.3 \
25         ypclnt.3 yp_bind.3 \
26         ypclnt.3 yperr_string.3 \
27         ypclnt.3 yp_first.3 \
28         ypclnt.3 yp_get_default_domain.3 \
29         ypclnt.3 yp_master.3 \
30         ypclnt.3 yp_match.3 \
31         ypclnt.3 yp_next.3 \
32         ypclnt.3 yp_order.3 \
33         ypclnt.3 ypprot_err.3 \
34         ypclnt.3 yp_unbind.3
35 .endif