1 include $(top_srcdir)/glib.mk
3 module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload|query)'
5 giomodule_LTLIBRARIES = libgiofam.la
6 giomoduledir = $(GIO_MODULE_DIR)
8 libgiofam_la_SOURCES = gfamfilemonitor.c
10 libgiofam_la_CFLAGS = \
11 -DG_LOG_DOMAIN=\"GLib-GIO\" \
14 -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
16 -DG_DISABLE_DEPRECATED
18 libgiofam_la_LDFLAGS = $(module_flags)
19 libgiofam_la_LIBADD = \
20 $(top_builddir)/gio/libgio-2.0.la \
21 $(top_builddir)/gobject/libgobject-2.0.la \
22 $(top_builddir)/glib/libglib-2.0.la \
28 RUN_QUERY_MODULES=false
30 RUN_QUERY_MODULES=true
34 if $(RUN_QUERY_MODULES) && test -z "$(DESTDIR)" ; then \
35 $(top_builddir)/gio/gio-querymodules$(EXEEXT) $(DESTDIR)$(GIO_MODULE_DIR) ; \
39 $(RM) $(DESTDIR)$(GIO_MODULE_DIR)/giomodule.cache