#	$NetBSD: Makefile.inc,v 1.4 2018/12/01 02:43:43 kamil Exp $

# Constant database reader/writer

.PATH:	${.CURDIR}/cdb
.PATH:	${NETBSDSRCDIR}/common/lib/libc/cdb

SRCS+=		cdbr.c cdbw.c

MAN+=		cdbr.3 cdbw.3 cdb.5

MLINKS+=	cdbr.3 cdbr_open.3
MLINKS+=	cdbr.3 cdbr_open_mem.3
MLINKS+=	cdbr.3 cdbr_entries.3
MLINKS+=	cdbr.3 cdbr_get.3
MLINKS+=	cdbr.3 cdbr_find.3
MLINKS+=	cdbr.3 cdbr_close.3
MLINKS+=	cdbw.3 cdbw_open.3
MLINKS+=	cdbw.3 cdbw_put.3
MLINKS+=	cdbw.3 cdbw_put_data.3
MLINKS+=	cdbw.3 cdbw_put_key.3
MLINKS+=	cdbw.3 cdbw_output.3
MLINKS+=	cdbw.3 cdbw_close.3

# XXX: Fix the code instead
LINTFLAGS.cdbw.c += -X 132,259,298
