INCLUDES = -I${top_srcdir}/include AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(NM_CFLAGS) \ $(DBUS_CFLAGS) if HAVE_NM noinst_LTLIBRARIES = libdiversity-nm-backend.la endif noinst_HEADERS = diversity-nm-backend.h nm-client.h nm-device.h EXTRA_DIST = \ nm-marshal.list BUILT_SOURCES = \ nm-marshal.c \ nm-marshal.h CLEANFILES = $(BUILT_SOURCES) libdiversity_nm_backend_la_SOURCES = \ diversity-nm-backend.c \ nm-client.c \ nm-device.c \ nm-marshal.c libdiversity_nm_backend_la_LIBADD = \ $(GLIB_LIBS) \ $(DBUS_LIBS) nm-marshal.c: nm-marshal.list $(GLIB_GENMARSHAL) --prefix nm_marshal --body $< > $@ nm-marshal.h: nm-marshal.list $(GLIB_GENMARSHAL) --prefix nm_marshal --header $< > $@