1 include $(top_srcdir)/Makefile.decl
5 module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload|query)'
7 giomodule_LTLIBRARIES = libgiofam.la
8 giomoduledir = $(GIO_MODULE_DIR)
10 libgiofam_la_SOURCES = \
14 gfamdirectorymonitor.c \
15 gfamdirectorymonitor.h \
20 libgiofam_la_CFLAGS = \
21 -DG_LOG_DOMAIN=\"GLib-GIO\" \
24 -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
26 -DG_DISABLE_DEPRECATED
28 libgiofam_la_LDFLAGS = $(module_flags)
29 libgiofam_la_LIBADD = \
30 $(top_builddir)/gio/libgio-2.0.la \
31 $(top_builddir)/gobject/libgobject-2.0.la \
32 $(top_builddir)/glib/libglib-2.0.la \
38 RUN_QUERY_MODULES=false
40 RUN_QUERY_MODULES=true
44 if $(RUN_QUERY_MODULES) && test -z "$(DESTDIR)" ; then \
45 $(top_builddir)/gio/gio-querymodules$(EXEEXT) $(DESTDIR)$(GIO_MODULE_DIR) ; \
49 $(RM) $(DESTDIR)$(GIO_MODULE_DIR)/giomodule.cache