Tomas Hozza 4fa997
diff --git a/bin/named-sdb/Makefile.in b/bin/named-sdb/Makefile.in
Tomas Hozza 4fa997
index 1894830..445182a 100644
Tomas Hozza 4fa997
--- a/bin/named-sdb/Makefile.in
Tomas Hozza 4fa997
+++ b/bin/named-sdb/Makefile.in
Tomas Hozza 4fa997
@@ -34,10 +34,10 @@ top_srcdir =	@top_srcdir@
Tomas Hozza 4fa997
 #
Tomas Hozza 4fa997
 # Add database drivers here.
Tomas Hozza 4fa997
 #
Tomas Hozza 4fa997
-DBDRIVER_OBJS =	ldapdb.@O@ pgsqldb.@O@ dirdb.@O@
Tomas Hozza 4fa997
-DBDRIVER_SRCS =	ldapdb.c pgsqldb.c dirdb.c
Tomas Hozza 4fa997
+DBDRIVER_OBJS =	ldapdb.@O@ pgsqldb.@O@ sqlitedb.@O@ dirdb.@O@
Tomas Hozza 4fa997
+DBDRIVER_SRCS =	ldapdb.c pgsqldb.c sqlitedb.c dirdb.c
Tomas Hozza 4fa997
 DBDRIVER_INCLUDES =
Tomas Hozza 4fa997
-DBDRIVER_LIBS =	-lldap -llber -lpq
Tomas Hozza 4fa997
+DBDRIVER_LIBS =	-lldap -llber -lsqlite3 -lpq
Tomas Hozza 4fa997
 
Tomas Hozza 4fa997
 DLZ_DRIVER_DIR =	${top_srcdir}/contrib/dlz/drivers
Tomas Hozza 4fa997
 
Tomas Hozza 4fa997
diff --git a/bin/sdb_tools/Makefile.in b/bin/sdb_tools/Makefile.in
Tomas Hozza 4fa997
index 7f3c5e2..b1bca66 100644
Tomas Hozza 4fa997
--- a/bin/sdb_tools/Makefile.in
Tomas Hozza 4fa997
+++ b/bin/sdb_tools/Makefile.in
Tomas Hozza 4fa997
@@ -32,11 +32,11 @@ DEPLIBS =	${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
Tomas Hozza 4fa997
 LIBS =		${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
Tomas Hozza 4fa997
 		${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} ${DBDRIVER_LIBS} @LIBS@
Tomas Hozza 4fa997
 
Tomas Hozza 4fa997
-TARGETS =	zone2ldap@EXEEXT@ zonetodb@EXEEXT@
Tomas Hozza 4fa997
+TARGETS =	zone2ldap@EXEEXT@ zonetodb@EXEEXT@ zone2sqlite@EXEEXT@
Tomas Hozza 4fa997
 
Tomas Hozza 4fa997
-OBJS	=	zone2ldap.@O@ zonetodb.@O@
Tomas Hozza 4fa997
+OBJS	=	zone2ldap.@O@ zonetodb.@O@ zone2sqlite.@O@
Tomas Hozza 4fa997
 
Tomas Hozza 4fa997
-SRCS    =       zone2ldap.c zonetodb.c
Tomas Hozza 4fa997
+SRCS    =       zone2ldap.c zonetodb.c zone2sqlite.c
Tomas Hozza 4fa997
 
Tomas Hozza 4fa997
 MANPAGES =      zone2ldap.1
Tomas Hozza 4fa997
 
Tomas Hozza 4fa997
@@ -50,6 +50,9 @@ zone2ldap@EXEEXT@: zone2ldap.@O@ ${DEPLIBS}
Tomas Hozza 4fa997
 zonetodb@EXEEXT@: zonetodb.@O@  ${DEPLIBS}
Tomas Hozza 4fa997
 	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zonetodb.@O@ -lpq ${LIBS}
Tomas Hozza 4fa997
 
Tomas Hozza 4fa997
+zone2sqlite@EXEEXT@: zone2sqlite.@O@  ${DEPLIBS}
Tomas Hozza 4fa997
+	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ zone2sqlite.@O@ -lsqlite3 -lssl ${LIBS}
Tomas Hozza 4fa997
+
Tomas Hozza 4fa997
 clean distclean manclean maintainer-clean::
Tomas Hozza 4fa997
 	rm -f ${TARGETS} ${OBJS}
Tomas Hozza 4fa997
 
Tomas Hozza 4fa997
@@ -60,4 +63,5 @@ installdirs:
Tomas Hozza 4fa997
 install:: ${TARGETS} installdirs
Tomas Hozza 4fa997
 	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zone2ldap@EXEEXT@ ${DESTDIR}${sbindir}
Tomas Hozza 4fa997
 	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zonetodb@EXEEXT@  ${DESTDIR}${sbindir}
Tomas Hozza 4fa997
+	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zone2sqlite@EXEEXT@ ${DESTDIR}${sbindir}
Tomas Hozza 4fa997
 	${INSTALL_DATA} ${srcdir}/zone2ldap.1 ${DESTDIR}${mandir}/man1/zone2ldap.1