INCLUDES = -I${top_srcdir}/include AM_CPPFLAGS = \ $(GLIB_CFLAGS) if HAVE_NMEA noinst_LTLIBRARIES = libdiversity-nmea-backend.la endif noinst_HEADERS = diversity-nmea-backend.h diversity-nmea.h EXTRA_DIST = \ nmea-marshal.list BUILT_SOURCES = \ nmea-marshal.c \ nmea-marshal.h CLEANFILES = $(BUILT_SOURCES) libdiversity_nmea_backend_la_SOURCES = \ diversity-nmea-backend.c \ diversity-nmea.c \ nmea-marshal.c libdiversity_nmea_backend_la_LIBADD = \ $(GLIB_LIBS) nmea-marshal.c: nmea-marshal.list $(GLIB_GENMARSHAL) --prefix _nmea_marshal --body $< > $@ nmea-marshal.h: nmea-marshal.list $(GLIB_GENMARSHAL) --prefix _nmea_marshal --header $< > $@