summaryrefslogtreecommitdiff
path: root/test/Makefile.win32
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-05-24 16:14:33 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-06-18 15:41:19 +0100
commitc4c06931690226e12622a957bbb6d652134f78b0 (patch)
tree34432af34c5d673868adfaa84e94bc6869750d16 /test/Makefile.win32
parentcdd27a8d4cc3486867cff4ce81bb4e064eb74d58 (diff)
[test] Make test constructors without perl.
Remove the dependency on perl when building the test suite by replacing the script which makes cairo-test-constructors.c with a C program.
Diffstat (limited to 'test/Makefile.win32')
-rw-r--r--test/Makefile.win327
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Makefile.win32 b/test/Makefile.win32
index f6a936edb..b45617bd9 100644
--- a/test/Makefile.win32
+++ b/test/Makefile.win32
@@ -14,8 +14,11 @@ TESTCORE_SOURCES = \
all: cairo-test-suite.exe
-cairo-test-constructors.c: $(test_sources)
- ./make-cairo-test-constructors.pl $(test_sources) > $@
+make-cairo-test-constructors.exe: $(CFG)/make-cairo-test-constructors.obj
+ $(CC) $(OPT) $(MS_MDFLAGS) $(CFG)/make-cairo-test-constructors.obj -Fe"$@" -link $(LDFLAGS) user32.lib /NODEFAULTLIB:library
+
+cairo-test-constructors.c: $(test_sources) make-cairo-test-constructors.exe
+ ./make-cairo-test-constructors.exe $(test_sources) > $@
SOURCES = $(cairo_test_suite_sources) $(test_sources) cairo-test-constructors.c