INCLUDES = -I${top_srcdir}/include AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(LM_CFLAGS) if HAVE_XMPP noinst_LTLIBRARIES = libdiversity-xmpp-backend.la endif noinst_HEADERS = diversity-xmpp-backend.h EXTRA_DIST = \ xmpp-marshal.list BUILT_SOURCES = \ xmpp-marshal.c \ xmpp-marshal.h CLEANFILES = $(BUILT_SOURCES) libdiversity_xmpp_backend_la_SOURCES = \ diversity-xmpp-backend.c \ diversity-xmpp-backend.h \ diversity-xmpp.c \ diversity-xmpp.h \ xmpp-geoloc.c \ xmpp-geoloc.h \ xmpp-disco.c \ xmpp-disco.h \ xmpp-discoinfo.c \ xmpp-discoinfo.h \ xmpp-caps.c \ xmpp-caps.h \ xmpp-capability.c \ xmpp-capability.h \ sha1/sha1.c \ sha1/sha1.h \ xmpp-marshal.c \ xmpp-marshal.h libdiversity_xmpp_backend_la_LIBADD = \ $(GLIB_LIBS) \ $(LM_LIBS) xmpp-marshal.c: xmpp-marshal.list $(GLIB_GENMARSHAL) --prefix xmpp_marshal --body $< > $@ xmpp-marshal.h: xmpp-marshal.list $(GLIB_GENMARSHAL) --prefix xmpp_marshal --header $< > $@