LIB=		picopb
SRCDIR=		${PICOPB_TOP}/lib/libpicopb

SRCS+=		pb.c
SRCS+=		pb_decode.c
SRCS+=		pb_encode.c

INCS+=		pb.h
INCS+=		pb_decode.h
INCS+=		pb_encode.h

WARNS=		6

MKLINT=		no

MAN+=		pb.3
MAN+=		pb_bytes.3
MAN+=		pb_decode.3
MAN+=		pb_encode.3
MAN+=		pb_repeated.3
MAN+=		pb_string.3

MLINKS+=	pb.3		libpicopb.3
MLINKS+=	pb.3		pb_allocator_init.3
MLINKS+=	pb.3		pb_destroy.3
MLINKS+=	pb.3		pb_init.3
MLINKS+=	pb.3		picopb.3
MLINKS+=	pb_bytes.3	pb_bytes_alloc.3
MLINKS+=	pb_bytes.3	pb_bytes_ptr.3
MLINKS+=	pb_bytes.3	pb_bytes_ptr_mutable.3
MLINKS+=	pb_bytes.3	pb_bytes_set_copy.3
MLINKS+=	pb_bytes.3	pb_bytes_set_ptr.3
MLINKS+=	pb_bytes.3	pb_bytes_size.3
MLINKS+=	pb_repeated.3	pb_repeated_add.3
MLINKS+=	pb_repeated.3	pb_repeated_alloc.3
MLINKS+=	pb_repeated.3	pb_repeated_count.3
MLINKS+=	pb_string.3	pb_string_alloc.3
MLINKS+=	pb_string.3	pb_string_len.3
MLINKS+=	pb_string.3	pb_string_ptr.3
MLINKS+=	pb_string.3	pb_string_ptr_mutable.3
MLINKS+=	pb_string.3	pb_string_set_copy.3
MLINKS+=	pb_string.3	pb_string_set_copy_asciz.3
MLINKS+=	pb_string.3	pb_string_set_ptr.3
MLINKS+=	pb_string.3	pb_string_set_ptr_asciz.3
MLINKS+=	pb_string.3	pb_utf8_validate.3

.include <bsd.lib.mk>

.PATH: ${SRCDIR}
