Rework the build system for a new tests approach
Perform a substantial cleanup of the build system with respect to
building and installing testcases.
First, Makefile.decl has been renamed glib.mk and substantially
expanded. We intend to add more stuff here in the future, like canned
rules for mkenums, marshallers, resources, etc.
By default, tests are no longer compiled as part of 'make'. They will
be built when 'make check' is run. The old behaviour can be obtained
with --enable-always-build-tests.
--disable-modular-tests is gone (because tests are no longer built by
default). There is no longer any way to cause 'make check' to be a
no-op, but that's not very useful anyway.
A new glibtests.m4 file is introduced. Along with glib.mk, this
provides for consistent handling of --enable-installed-tests and
--enable-always-build-tests (mentioned above).
Port our various test-installing Makefiles to the new framework.
This patch substantially improves the situation in the toplevel tests/
directory. Things are now somewhat under control there. There were
some tests being built that weren't even being run and we run those now.
The long-running GObject performance tests in this directory have been
removed from 'make check' because they take too long.
As an experiment, 'make check' now runs the testcases on win32 builds,
by default. We can't run them under gtester (since it uses a pipe to
communicate with the subprocess) so just toss them in TESTS. Most of
them are passing on win32.
Things are not quite done here, but this patch is already a substantial
improvement. More to come.
2013-05-30 06:07:32 +02:00
|
|
|
include $(top_srcdir)/glib.mk
|
2007-11-28 13:39:07 +01:00
|
|
|
|
Rework the build system for a new tests approach
Perform a substantial cleanup of the build system with respect to
building and installing testcases.
First, Makefile.decl has been renamed glib.mk and substantially
expanded. We intend to add more stuff here in the future, like canned
rules for mkenums, marshallers, resources, etc.
By default, tests are no longer compiled as part of 'make'. They will
be built when 'make check' is run. The old behaviour can be obtained
with --enable-always-build-tests.
--disable-modular-tests is gone (because tests are no longer built by
default). There is no longer any way to cause 'make check' to be a
no-op, but that's not very useful anyway.
A new glibtests.m4 file is introduced. Along with glib.mk, this
provides for consistent handling of --enable-installed-tests and
--enable-always-build-tests (mentioned above).
Port our various test-installing Makefiles to the new framework.
This patch substantially improves the situation in the toplevel tests/
directory. Things are now somewhat under control there. There were
some tests being built that weren't even being run and we run those now.
The long-running GObject performance tests in this directory have been
removed from 'make check' because they take too long.
As an experiment, 'make check' now runs the testcases on win32 builds,
by default. We can't run them under gtester (since it uses a pipe to
communicate with the subprocess) so just toss them in TESTS. Most of
them are passing on win32.
Things are not quite done here, but this patch is already a substantial
improvement. More to come.
2013-05-30 06:07:32 +02:00
|
|
|
noinst_LTLIBRARIES += libinotify.la
|
2007-11-26 17:13:05 +01:00
|
|
|
|
|
|
|
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 = \
|
2013-01-18 19:23:40 +01:00
|
|
|
$(GLIB_HIDDEN_VISIBILITY_CFLAGS) \
|
2007-11-26 17:13:05 +01:00
|
|
|
-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
|
|
|
|
|
2018-07-09 11:38:04 +02:00
|
|
|
libinotify_la_LIBADD = \
|
|
|
|
$(top_builddir)/glib/libglib-2.0.la \
|
|
|
|
$(top_builddir)/gobject/libgobject-2.0.la \
|
|
|
|
$(NULL)
|