cairo/Makefile.am
Chris Wilson e90073f7dd [test] Build test suite into single binary.
Avoid calling libtool to link every single test case, by building just one
binary from all the sources.

This binary is then given the task of choosing tests to run (based on user
selection and individual test requirement), forking each test into its own
process and accumulating the results.
2008-10-31 12:30:11 +00:00

82 lines
1.8 KiB
Makefile

include $(top_srcdir)/build/Makefile.am.common
EXTRA_DIST += \
README.win32 \
Makefile.win32 \
build/Makefile.win32.common \
build/Makefile.win32.features \
build/Makefile.win32.features-h \
$(NULL)
MAINTAINERCLEANFILES += \
$(srcdir)/build/Makefile.win32.features \
$(srcdir)/build/Makefile.win32.features-h \
$(NULL)
ACLOCAL_AMFLAGS = -I build
DIST_SUBDIRS = src doc util boilerplate test perf
SUBDIRS = src doc util
# libpng is required for our test programs
if CAIRO_HAS_PNG_FUNCTIONS
SUBDIRS += boilerplate test perf
endif
configure: cairo-version.h
doc:
cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
test retest recheck: all
cd test && $(MAKE) $(AM_MAKEFLAGS) $@
perf: all
cd perf && $(MAKE) $(AM_MAKEFLAGS) $@
check-valgrind: all
cd test && $(MAKE) $(AM_MAKEFLAGS) check-valgrind
cd perf && $(MAKE) $(AM_MAKEFLAGS) check-valgrind
.PHONY: doc test retest recheck perf check-valgrind
EXTRA_DIST += \
AUTHORS \
BIBLIOGRAPHY \
BUGS \
CODING_STYLE \
COPYING \
COPYING-LGPL-2.1 \
COPYING-MPL-1.1 \
HACKING \
INSTALL \
NEWS \
PORTING_GUIDE \
README \
RELEASING \
autogen.sh \
cairo-version.h \
$(NULL)
DISTCLEANFILES += config.cache \
doltlibtool \
doltcompile
MAINTAINERCLEANFILES += \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
$(srcdir)/build/compile \
$(srcdir)/build/config.guess \
$(srcdir)/build/config.sub \
$(srcdir)/build/depcomp \
$(srcdir)/build/install-sh \
$(srcdir)/build/ltmain.sh \
$(srcdir)/build/missing \
$(srcdir)/build/mkinstalldirs \
$(srcdir)/config.h.in \
$(srcdir)/configure.scan \
$(NULL)
DISTCHECK_CONFIGURE_FLAGS = \
--enable-gtk-doc \
--enable-test-surfaces \
--enable-full-testing \
$(NULL)
include $(srcdir)/build/Makefile.am.changelog
include $(srcdir)/build/Makefile.am.releasing
include $(srcdir)/build/Makefile.am.analysis