2007-11-28 13:39:07 +01:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
2007-11-26 17:13:05 +01:00
|
|
|
NULL =
|
|
|
|
|
2010-01-12 13:09:10 +01:00
|
|
|
module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload|query)'
|
2007-11-26 17:13:05 +01:00
|
|
|
|
|
|
|
giomodule_LTLIBRARIES = libgiofam.la
|
2008-10-10 07:00:17 +02:00
|
|
|
giomoduledir = $(GIO_MODULE_DIR)
|
2007-11-26 17:13:05 +01:00
|
|
|
|
|
|
|
libgiofam_la_SOURCES = \
|
|
|
|
fam-helper.c \
|
|
|
|
fam-helper.h \
|
|
|
|
fam-module.c \
|
|
|
|
gfamdirectorymonitor.c \
|
|
|
|
gfamdirectorymonitor.h \
|
|
|
|
gfamfilemonitor.c \
|
|
|
|
gfamfilemonitor.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgiofam_la_CFLAGS = \
|
|
|
|
-DG_LOG_DOMAIN=\"GLib-GIO\" \
|
2010-08-06 19:09:26 +02:00
|
|
|
$(gio_INCLUDES) \
|
2007-12-31 03:30:33 +01:00
|
|
|
$(GLIB_DEBUG_FLAGS) \
|
2007-11-27 13:39:14 +01:00
|
|
|
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
|
2007-12-14 11:35:24 +01:00
|
|
|
-DGIO_COMPILATION \
|
2007-11-26 17:13:05 +01:00
|
|
|
-DG_DISABLE_DEPRECATED
|
|
|
|
|
|
|
|
libgiofam_la_LDFLAGS = $(module_flags)
|
|
|
|
libgiofam_la_LIBADD = \
|
|
|
|
$(top_builddir)/gio/libgio-2.0.la \
|
2008-01-03 09:56:51 +01:00
|
|
|
$(top_builddir)/gobject/libgobject-2.0.la \
|
|
|
|
$(top_builddir)/glib/libglib-2.0.la \
|
2007-11-26 17:13:05 +01:00
|
|
|
$(GLIB_LIBS) \
|
|
|
|
$(FAM_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-01-12 13:09:10 +01:00
|
|
|
if CROSS_COMPILING
|
|
|
|
RUN_QUERY_MODULES=false
|
|
|
|
else
|
|
|
|
RUN_QUERY_MODULES=true
|
|
|
|
endif
|
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
if $(RUN_QUERY_MODULES) && test -z "$(DESTDIR)" ; then \
|
|
|
|
$(top_builddir)/gio/gio-querymodules$(EXEEXT) $(DESTDIR)$(GIO_MODULE_DIR) ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
$(RM) $(DESTDIR)$(GIO_MODULE_DIR)/giomodules.cache
|