Check for overflow when allocating RcBox
[glib.git] / gio / fam / Makefile.am
blobd064943a369f00cf92755bacc6b7e557919dc5eb
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\"     \
12         $(gio_INCLUDES)                 \
13         $(GLIB_DEBUG_FLAGS)             \
14         -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"  \
15         -DGIO_COMPILATION               \
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 \
23                 $(GLIB_LIBS) \
24                 $(FAM_LIBS) \
25                 $(NULL)
27 if CROSS_COMPILING
28 RUN_QUERY_MODULES=false
29 else
30 RUN_QUERY_MODULES=true
31 endif
33 install-data-hook:
34         if $(RUN_QUERY_MODULES) && test -z "$(DESTDIR)" ; then                                  \
35                 $(top_builddir)/gio/gio-querymodules$(EXEEXT) $(DESTDIR)$(GIO_MODULE_DIR) ;     \
36         fi
38 uninstall-local:
39         $(RM) $(DESTDIR)$(GIO_MODULE_DIR)/giomodule.cache