include $(top_srcdir)/Makefile.decl

mysql_lib_LTLIBRARIES = libdbmysql.la

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	$(glib_CFLAGS)
libdbmysql_la_LIBADD = \
	$(glib_LIBS) \
	$(top_builddir)/db/libdb.la \
	-lmysqlclient \
	-lz
libdbmysql_la_LDFLAGS = -avoid-version
libdbmysql_la_SOURCES = \
	db-mysql.h \
	db-mysql.c

install-data-hook:
	rm -f $(DESTDIR)$(mysql_libdir)/libdbmysql.la
	rm -f $(DESTDIR)$(mysql_libdir)/libdbmysql.a