From 2afbbde4cb6aab900cdf41a27da126ccbc361e52 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 12 Nov 2009 16:57:58 -0500 Subject: Implement profile-guided optimization builds. --- tests/libdimension/Makefile.am | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'tests/libdimension') diff --git a/tests/libdimension/Makefile.am b/tests/libdimension/Makefile.am index fe19ad4..50fa645 100644 --- a/tests/libdimension/Makefile.am +++ b/tests/libdimension/Makefile.am @@ -28,11 +28,19 @@ check_PROGRAMS = error-test \ TESTS = $(check_PROGRAMS) XFAIL_TESTS = error-test -.PHONY: clean-local-png-test -clean-local: clean-local-png-test +.PHONY: clean-local-tests clean-local-png-test +clean-local: clean-local-tests clean-local-png-test libdimension_tests_la_SOURCES = tests.c tests.h -libdimension_tests_la_LIBADD = $(top_builddir)/libdimension/libdimension.la + +if PGO +libdimension_tests_la_LIBADD = $(top_builddir)/libdimension/libdimension-pgo.la +clean-local-tests: + rm -rf ./pgo +else +libdimension_tests_la_LIBADD = $(top_builddir)/libdimension/libdimension.la +clean-local-tests: +endif error_test_SOURCES = error.c error_test_LDADD = libdimension-tests.la -- cgit v1.2.3