# $MidnightBSD: stable/0.7/lib/libmsearch/Makefile 6469 2013-12-07 23:54:44Z laffer1 $

LIB=	msearch
SRCS=	db.c msearch_fulltext.c msearch_index.c msearch_search.c sqlite_functions.c
INCS=	msearch.h

CFLAGS+=	-I${.CURDIR}
WARNS?=		3
WFORMAT?=       1
SHLIB_MAJOR=	1
CSTD=	c99

DPADD=  ${LIBSQLITE3} ${LIBMAGIC} ${LIBZ}
LDADD=  -lsqlite3 -lmagic -lz

.include <bsd.lib.mk>
