glib/gio/inotify/Makefile.am
Philip Withnall 9d6a69b73e gio: Link inotify file monitor to GLib and GObject
Apparently this is needed for building PE libraries. It makes no
difference on Linux, where linking of the GLib symbols in the inotify
file monitor code is done lazily.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://gitlab.gnome.org/GNOME/glib/issues/1201
2018-07-09 10:38:04 +01:00

32 lines
713 B
Makefile

include $(top_srcdir)/glib.mk
noinst_LTLIBRARIES += libinotify.la
libinotify_la_SOURCES = \
inotify-kernel.c \
inotify-sub.c \
inotify-path.c \
inotify-missing.c \
inotify-helper.c \
inotify-kernel.h \
inotify-missing.h \
inotify-path.h \
inotify-sub.h \
inotify-helper.h \
ginotifyfilemonitor.c \
ginotifyfilemonitor.h \
$(NULL)
libinotify_la_CFLAGS = \
$(GLIB_HIDDEN_VISIBILITY_CFLAGS) \
-DG_LOG_DOMAIN=\"GLib-GIO\" \
$(gio_INCLUDES) \
$(GLIB_DEBUG_FLAGS) \
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
-DGIO_COMPILATION \
-DG_DISABLE_DEPRECATED
libinotify_la_LIBADD = \
$(top_builddir)/glib/libglib-2.0.la \
$(top_builddir)/gobject/libgobject-2.0.la \
$(NULL)