# -*- Makefile -*-
mdbdir = $(libdir)/bongomdb
mdb_LTLIBRARIES :=

lib_LTLIBRARIES += libbongomdb.la

libbongomdb_la_SOURCES :=			\
	src/libs/mdb/mdb.c			\
	src/libs/mdb/mdbp.h

libbongomdb_la_CPPFLAGS := $(AM_CPPFLAGS)	 \
	-DDRIVER_EXTENSION=\"$(SHARED_POSTFIX)\" \
	-DSYSCONF_DIR=\""$(sysconfdir)"\"	 \
	-DDRIVER_DIR=\""$(libdir)/bongomdb"\"

libbongomdb_la_LIBADD :=				\
	libbongoxpl.la				\
        $(DL_LIBS)

src/libs/mdb/all: libbongomdb.la
src/libs/mdb/clean: clean
