mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
346aa683de
We have various sub directories in glib/ and gio/ (eg: inotify, gnulib, pcre, xdgmime, etc.) that build convenience libraries that are then included into libglib and libgio. The files in these directories need to be built with the same visibility policy as the files in the first level directories, so add CFLAGS for them all. This wasn't a problem when the visibility flags were set directly in CFLAGS but then we had to deal with some modules that we built that we explicitly wanted to export symbols from. For now, we can keep things the way they are because it's less hacky and although it's a theoretical hazard to forget these CFLAGS, we rarely add new subdirectories to the build.
33 lines
669 B
Makefile
33 lines
669 B
Makefile
include $(top_srcdir)/Makefile.decl
|
|
|
|
NULL =
|
|
|
|
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 \
|
|
ginotifydirectorymonitor.c \
|
|
ginotifydirectorymonitor.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
|
|
|