1 include $(top_srcdir)/Makefile.decl 2 3 NULL = 4 5 module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)' 6 7 giomodule_LTLIBRARIES = libgiofam.la 8 giomoduledir = $(GIO_MODULE_DIR) 9 10 libgiofam_la_SOURCES = \ 11 fam-helper.c \ 12 fam-helper.h \ 13 fam-module.c \ 14 gfamdirectorymonitor.c \ 15 gfamdirectorymonitor.h \ 16 gfamfilemonitor.c \ 17 gfamfilemonitor.h \ 18 $(NULL) 19 20 libgiofam_la_CFLAGS = \ 21 -DG_LOG_DOMAIN=\"GLib-GIO\" \ 22 -I$(top_srcdir) \ 23 -I$(top_srcdir)/glib \ 24 -I$(top_srcdir)/gmodule \ 25 -I$(top_srcdir)/gio \ 26 $(GLIB_DEBUG_FLAGS) \ 27 -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \ 28 -DGIO_COMPILATION \ 29 -DG_DISABLE_DEPRECATED 30 31 libgiofam_la_LDFLAGS = $(module_flags) 32 libgiofam_la_LIBADD = \ 33 $(top_builddir)/gio/libgio-2.0.la \ 34 $(top_builddir)/gobject/libgobject-2.0.la \ 35 $(top_builddir)/glib/libglib-2.0.la \ 36 $(GLIB_LIBS) \ 37 $(FAM_LIBS) \ 38 $(NULL) 39 40