freebsd-dev/lib/libc/xdr/Makefile.inc
John Birrell 870039320f Changed all paths to be relative to src/lib instead of src/lib/libc
so that all these makefiles can be used to build libc_r too.

Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.

Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
1997-05-03 03:50:06 +00:00

45 lines
1017 B
Makefile

# from @(#)Makefile 5.11 (Berkeley) 9/6/90
# $Id$
.PATH: ${.CURDIR}/../libc/xdr ${.CURDIR}/.
SRCS+= xdr.c xdr_array.c xdr_float.c xdr_mem.c \
xdr_rec.c xdr_reference.c xdr_stdio.c
# Only build man pages with libc.
.if ${LIB} == "c"
MAN3+= xdr/xdr.3
MLINKS+= xdr.3 xdr_array.3 \
xdr.3 xdr_bool.3 \
xdr.3 xdr_bytes.3 \
xdr.3 xdr_char.3 \
xdr.3 xdr_destroy.3 \
xdr.3 xdr_double.3 \
xdr.3 xdr_enum.3 \
xdr.3 xdr_float.3 \
xdr.3 xdr_free.3 \
xdr.3 xdr_getpos.3 \
xdr.3 xdr_inline.3 \
xdr.3 xdr_int.3 \
xdr.3 xdr_long.3 \
xdr.3 xdrmem_create.3 \
xdr.3 xdr_opaque.3 \
xdr.3 xdr_pointer.3 \
xdr.3 xdrrec_create.3 \
xdr.3 xdrrec_endofrecord.3 \
xdr.3 xdrrec_eof.3 \
xdr.3 xdrrec_skiprecord.3 \
xdr.3 xdr_reference.3 \
xdr.3 xdr_setpos.3 \
xdr.3 xdr_short.3 \
xdr.3 xdrstdio_create.3 \
xdr.3 xdr_string.3 \
xdr.3 xdr_u_char.3 \
xdr.3 xdr_u_long.3 \
xdr.3 xdr_u_short.3 \
xdr.3 xdr_union.3 \
xdr.3 xdr_vector.3 \
xdr.3 xdr_void.3 \
xdr.3 xdr_wrapstring.3
.endif