aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-lib/pixman-0.21.6/0004-test-Add-Makefile-for-Win32.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2011-04-05 13:00:12 +0200
committerSteffen Sledz <sledz@dresearch-fe.de>2011-04-29 14:08:33 +0200
commit384b270989d3f4218c6fc01f8a1e1a61b622c99a (patch)
tree9d0f469880414fad4e13ed93b17d129ef9967223 /recipes/xorg-lib/pixman-0.21.6/0004-test-Add-Makefile-for-Win32.patch
parentfadd40e8b90197786aa5edc4a6620036e3aa972e (diff)
downloadopenembedded-384b270989d3f4218c6fc01f8a1e1a61b622c99a.tar.gz
openembedded-384b270989d3f4218c6fc01f8a1e1a61b622c99a.tar.bz2
openembedded-384b270989d3f4218c6fc01f8a1e1a61b622c99a.zip
pixman: add 0.21.6 + fixes
Signed-off-by: Koen Kooi <koen@openembedded.org> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/xorg-lib/pixman-0.21.6/0004-test-Add-Makefile-for-Win32.patch')
-rw-r--r--recipes/xorg-lib/pixman-0.21.6/0004-test-Add-Makefile-for-Win32.patch92
1 files changed, 92 insertions, 0 deletions
diff --git a/recipes/xorg-lib/pixman-0.21.6/0004-test-Add-Makefile-for-Win32.patch b/recipes/xorg-lib/pixman-0.21.6/0004-test-Add-Makefile-for-Win32.patch
new file mode 100644
index 0000000000..94ed0b4308
--- /dev/null
+++ b/recipes/xorg-lib/pixman-0.21.6/0004-test-Add-Makefile-for-Win32.patch
@@ -0,0 +1,92 @@
+From 72f5e5f608506c18c484bc5bc3e58bd83aeb7691 Mon Sep 17 00:00:00 2001
+From: Andrea Canciani <ranma42@gmail.com>
+Date: Tue, 22 Feb 2011 22:04:49 +0100
+Subject: [PATCH 04/40] test: Add Makefile for Win32
+
+---
+ test/Makefile.win32 | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 files changed, 73 insertions(+), 0 deletions(-)
+ create mode 100644 test/Makefile.win32
+
+diff --git a/test/Makefile.win32 b/test/Makefile.win32
+new file mode 100644
+index 0000000..c71afe1
+--- /dev/null
++++ b/test/Makefile.win32
+@@ -0,0 +1,73 @@
++CC = cl
++LINK = link
++
++CFG_VAR = $(CFG)
++ifeq ($(CFG_VAR),)
++CFG_VAR=release
++endif
++
++CFLAGS = -MD -nologo -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_BIND_TO_CURRENT_VCLIBS_VERSION -D_MT -I../pixman -I. -I../
++TEST_LDADD = ../pixman/$(CFG_VAR)/pixman-1.lib
++INCLUDES = -I../pixman -I$(top_builddir)/pixman
++
++# optimization flags
++ifeq ($(CFG_VAR),debug)
++CFLAGS += -Od -Zi
++else
++CFLAGS += -O2
++endif
++
++SOURCES = \
++ a1-trap-test.c \
++ pdf-op-test.c \
++ region-test.c \
++ region-translate-test.c \
++ fetch-test.c \
++ oob-test.c \
++ trap-crasher.c \
++ alpha-loop.c \
++ scaling-crash-test.c \
++ gradient-crash-test.c \
++ alphamap.c \
++ stress-test.c \
++ composite-traps-test.c \
++ blitters-test.c \
++ scaling-test.c \
++ affine-test.c \
++ composite.c \
++ utils.c
++
++TESTS = \
++ $(CFG_VAR)/a1-trap-test.exe \
++ $(CFG_VAR)/pdf-op-test.exe \
++ $(CFG_VAR)/region-test.exe \
++ $(CFG_VAR)/region-translate-test.exe \
++ $(CFG_VAR)/fetch-test.exe \
++ $(CFG_VAR)/oob-test.exe \
++ $(CFG_VAR)/trap-crasher.exe \
++ $(CFG_VAR)/alpha-loop.exe \
++ $(CFG_VAR)/scaling-crash-test.exe \
++ $(CFG_VAR)/gradient-crash-test.exe \
++ $(CFG_VAR)/alphamap.exe \
++ $(CFG_VAR)/stress-test.exe \
++ $(CFG_VAR)/composite-traps-test.exe \
++ $(CFG_VAR)/blitters-test.exe \
++ $(CFG_VAR)/scaling-test.exe \
++ $(CFG_VAR)/affine-test.exe \
++ $(CFG_VAR)/composite.exe
++
++
++OBJECTS = $(patsubst %.c, $(CFG_VAR)/%.obj, $(SOURCES))
++
++$(CFG_VAR)/%.obj: %.c
++ @mkdir -p $(CFG_VAR)
++ @$(CC) -c $(CFLAGS) -Fo"$@" $<
++
++$(CFG_VAR)/%.exe: $(CFG_VAR)/%.obj
++ $(LINK) /NOLOGO /OUT:$@ $< $(CFG_VAR)/utils.obj $(TEST_LDADD)
++
++all: $(OBJECTS) $(TESTS)
++ @exit 0
++
++clean:
++ @rm -f $(CFG_VAR)/*.obj $(CFG_VAR)/*.pdb || exit 0
+--
+1.6.6.1
+