-SUBDIRS = gdbus include src plugins doc
+SUBDIRS = gdbus gatchat include src plugins doc
DISTCHECK_CONFIGURE_FLAGS = --disable-datafiles
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(datafiles, AC_HELP_STRING([--disable-datafiles],
[don't install configuration and data files]),
[enable_datafiles=${enableval}])
AM_CONDITIONAL(DATAFILES, test "${enable_datafiles}" != "no")
-AC_OUTPUT(Makefile gdbus/Makefile include/Makefile include/version.h
+AC_OUTPUT(Makefile gdbus/Makefile gatchat/Makefile
+ include/Makefile include/version.h
src/Makefile plugins/Makefile doc/Makefile)
--- /dev/null
+
+noinst_LTLIBRARIES = libgatchat.la
+
+libgatchat_la_SOURCES =
+
+AM_CFLAGS = @GLIB_CFLAGS@
+
+MAINTAINERCLEANFILES = Makefile.in