diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2013-12-21 16:31:30 -0800 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-12-29 19:05:04 +0000 |
commit | c981aa7c719ceff77835dde711b7dd99b2be53a3 (patch) | |
tree | 73f9f8cde866fae3ad93c5a323a633d8fe592dec /tests/scanner | |
parent | 3160f642dbed35b4af8e4d9314c60e4a037884c8 (diff) | |
download | gobject-introspection-c981aa7c719ceff77835dde711b7dd99b2be53a3.tar.gz |
tests: Use EXTRA_LTLIBRARIES instead of check_LTLIBRARIES
Update tests/Makefile.am and tests/scanner/Makefile.am to use
EXTRA_LTLIBRARIES which minimizes the building of libraries to only
dependencies of specific tests when using: make check TESTS="..."
https://bugzilla.gnome.org/show_bug.cgi?id=720713
Diffstat (limited to 'tests/scanner')
-rw-r--r-- | tests/scanner/Makefile.am | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am index bf7afc92..2a9c51c1 100644 --- a/tests/scanner/Makefile.am +++ b/tests/scanner/Makefile.am @@ -5,7 +5,9 @@ include $(top_srcdir)/Makefile.introspection INTROSPECTION_SCANNER_ARGS += --warn-all -check_LTLIBRARIES = \ +CLEANFILES = + +EXTRA_LTLIBRARIES = \ libsletter.la \ libutility.la \ libgtkfrob.la \ @@ -13,6 +15,7 @@ check_LTLIBRARIES = \ libregress.la \ libwarnlib.la \ $(NULL) +CLEANFILES += $(EXTRA_LTLIBRARIES) AM_CPPFLAGS = -I$(top_srcdir)/girepository AM_CFLAGS = $(GIO_CFLAGS) $(GOBJECT_CFLAGS) $(GTHREAD_CFLAGS) @@ -70,7 +73,7 @@ TYPELIBS = $(GIRS:.gir=.typelib) CHECKGIRS = $(GIRS) EXPECTEDGIRS = $(GIRS:.gir=-expected.gir) INTROSPECTION_GIRS = $(GIRS) -CLEANFILES = $(TYPELIBS) $(GIRS) +CLEANFILES += $(TYPELIBS) $(GIRS) EXTRA_DIST = $(EXPECTEDGIRS) SLetter-1.0.gir: $(top_builddir)/Gio-2.0.gir libsletter.la @@ -126,7 +129,8 @@ GetType_1_0_gir_SCANNERFLAGS = --c-include="gettype.h" --identifier-prefix=GetTy GIRS += GetType-1.0.gir if !OS_WIN32 -check_PROGRAMS = barapp +EXTRA_PROGRAMS = barapp +CLEANFILES += $(EXTRA_PROGRAMS) barapp_SOURCES = $(srcdir)/barapp.c $(srcdir)/barapp.h barapp_LDADD = $(top_builddir)/libgirepository-1.0.la |