INCLUDES = -I${top_srcdir}/include AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(EBOOK_CFLAGS) \ $(JANA_CFLAGS) EXTRA_DIST = \ ebook-marshal.list BUILT_SOURCES = \ ebook-marshal.c \ ebook-marshal.h CLEANFILES = $(BUILT_SOURCES) if HAVE_EBOOK noinst_LTLIBRARIES = libdiversity-ebook-backend.la endif noinst_HEADERS = diversity-ebook-backend.h diversity-jana.h libdiversity_ebook_backend_la_SOURCES = \ diversity-ebook-backend.c \ diversity-jana.c \ ebook-marshal.c libdiversity_ebook_backend_la_LIBADD = \ $(GLIB_LIBS) \ $(EBOOK_LIBS) \ $(JANA_LIBS) ebook-marshal.c: ebook-marshal.list $(GLIB_GENMARSHAL) --prefix ebook_marshal --body $< > $@ ebook-marshal.h: ebook-marshal.list $(GLIB_GENMARSHAL) --prefix ebook_marshal --header $< > $@