[cairo] Using a variable makes the autotools on OS/2 correctly deal with any2ppm.c

Dave Yeo dave.r.yeo at gmail.com
Tue Sep 6 20:38:40 PDT 2011


 test/Makefile.am      |    2 +-
 test/Makefile.sources |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/test/Makefile.am b/test/Makefile.am
index 2fa61a5..1e822f0 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -98,7 +98,7 @@ cairo_test_suite_DEPENDENCIES = \
 	$(top_builddir)/src/libcairo.la
 if BUILD_ANY2PPM
 cairo_test_suite_DEPENDENCIES += \
-	any2ppm
+	$(any2ppm_sources)
 endif
 
 if HAVE_SHM
diff --git a/test/Makefile.sources b/test/Makefile.sources
index 526ac8a..488ed96 100644
--- a/test/Makefile.sources
+++ b/test/Makefile.sources
@@ -344,6 +344,10 @@ pthread_test_sources =					\
 	pthread-similar.c				\
 	$(NULL)
 
+any2ppm_sources =					\
+	any2ppm.c
+	$(NULL)
+
 ft_font_test_sources = \
 	bitmap-font.c \
 	ft-font-create-for-ft-face.c \
-- 
1.7.2.3


More information about the cairo mailing list