-SUBDIRS = gdbus include plugins src client tools scripts test doc
+SUBDIRS = gdbus gatchat include plugins src client tools scripts test doc
pkgconfigdir = $(libdir)/pkgconfig
AC_SUBST([GDBUS_CFLAGS], ['$(DBUS_CFLAGS) -I$(top_srcdir)/gdbus'])
AC_SUBST([GDBUS_LIBS], ['$(top_builddir)/gdbus/libgdbus.la $(DBUS_LIBS)'])
+AC_SUBST([GATCHAT_CFLAGS], ['-I$(top_srcdir)/gatchat'])
+AC_SUBST([GATCHAT_LIBS], ['$(top_builddir)/gatchat/libgatchat.la'])
+
AC_ARG_ENABLE(polkit, AC_HELP_STRING([--enable-polkit],
[enable PolicyKit support]), [enable_polkit=${enableval}])
if (test "${enable_polkit}" = "yes"); then
SHAVE_INIT
-AC_OUTPUT(Makefile gdbus/Makefile include/Makefile include/version.h
+AC_OUTPUT(Makefile gdbus/Makefile gatchat/Makefile
+ include/Makefile include/version.h
src/Makefile src/connman.service
scripts/connman scripts/Makefile
plugins/Makefile client/Makefile
--- /dev/null
+
+noinst_LTLIBRARIES = libgatchat.la
+
+libgatchat_la_SOURCES =
+
+AM_CFLAGS = @GLIB_CFLAGS@
+
+MAINTAINERCLEANFILES = Makefile.in