glib/gio/fam/Makefile.am
Alexander Larsson 2490a699be Allow configuration of gio-module-dir
2007-11-27  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Allow configuration of gio-module-dir
	
        * gio-2.0.pc.in:
	Export giomodules location as giomodule variable

2007-11-27  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * fam/Makefile.am:
        * inotify/Makefile.am:
	Use the user-specified giomoduledir


svn path=/trunk/; revision=5951
2007-11-27 12:39:14 +00:00

34 lines
759 B
Makefile

NULL =
module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)'
giomodule_LTLIBRARIES = libgiofam.la
giomoduledir = $(libdir)/gio/modules
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\" \
-I$(top_srcdir) \
-I$(top_srcdir)/glib \
-I$(top_srcdir)/gmodule \
-I$(top_srcdir)/gio \
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
-DG_DISABLE_DEPRECATED
libgiofam_la_LDFLAGS = $(module_flags)
libgiofam_la_LIBADD = \
$(top_builddir)/gio/libgio-2.0.la \
$(GLIB_LIBS) \
$(FAM_LIBS) \
$(NULL)