summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/server/module/Makefile')
-rw-r--r--xorg/server/module/Makefile38
1 files changed, 37 insertions, 1 deletions
diff --git a/xorg/server/module/Makefile b/xorg/server/module/Makefile
index 9003de4d..8f1560d6 100644
--- a/xorg/server/module/Makefile
+++ b/xorg/server/module/Makefile
@@ -6,11 +6,16 @@ rdpPolyFillArc.o rdpPolyText8.o rdpPolyText16.o rdpImageText8.o \
rdpImageText16.o rdpImageGlyphBlt.o rdpPolyGlyphBlt.o rdpPushPixels.o \
rdpCursor.o rdpMain.o rdpRandR.o rdpMisc.o rdpReg.o \
rdpComposite.o rdpGlyphs.o rdpPixmap.o rdpInput.o rdpClientCon.o rdpCapture.o \
-rdpTrapezoids.o
+rdpTrapezoids.o rdpXv.o rdpSimd.o
+
+;OBJS += cpuid_x86.o i420_to_rgb32_x86_sse2.o yv12_to_rgb32_x86_sse2.o yuy2_to_rgb32_x86_sse2.o uyvy_to_rgb32_x86_sse2.o
+;OBJS += cpuid_amd64.o i420_to_rgb32_amd64_sse2.o yv12_to_rgb32_amd64_sse2.o yuy2_to_rgb32_amd64_sse2.o uyvy_to_rgb32_amd64_sse2.o
CFLAGS = -g -O2 -Wall -fPIC -I/usr/include/xorg -I/usr/include/pixman-1 \
-I../../../common
+;CFLAGS += -DSIMD_USE_ACCEL=1
+
LDFLAGS =
LIBS =
@@ -22,3 +27,34 @@ libxorgxrdp.so: $(OBJS) Makefile
clean:
rm -f $(OBJS) libxorgxrdp.so
+
+cpuid_x86.o: x86/cpuid_x86.asm
+ yasm -f elf32 -g dwarf2 x86/cpuid_x86.asm
+
+i420_to_rgb32_x86_sse2.o: x86/i420_to_rgb32_x86_sse2.asm
+ yasm -f elf32 -g dwarf2 x86/i420_to_rgb32_x86_sse2.asm
+
+yv12_to_rgb32_x86_sse2.o: x86/yv12_to_rgb32_x86_sse2.asm
+ yasm -f elf32 -g dwarf2 x86/yv12_to_rgb32_x86_sse2.asm
+
+yuy2_to_rgb32_x86_sse2.o: x86/yuy2_to_rgb32_x86_sse2.asm
+ yasm -f elf32 -g dwarf2 x86/yuy2_to_rgb32_x86_sse2.asm
+
+uyvy_to_rgb32_x86_sse2.o: x86/uyvy_to_rgb32_x86_sse2.asm
+ yasm -f elf32 -g dwarf2 x86/uyvy_to_rgb32_x86_sse2.asm
+
+cpuid_amd64.o: amd64/cpuid_amd64.asm
+ yasm -f elf64 -g dwarf2 amd64/cpuid_amd64.asm
+
+i420_to_rgb32_amd64_sse2.o: amd64/i420_to_rgb32_amd64_sse2.asm
+ yasm -f elf64 -g dwarf2 amd64/i420_to_rgb32_amd64_sse2.asm
+
+yv12_to_rgb32_amd64_sse2.o: amd64/yv12_to_rgb32_amd64_sse2.asm
+ yasm -f elf64 -g dwarf2 amd64/yv12_to_rgb32_amd64_sse2.asm
+
+yuy2_to_rgb32_amd64_sse2.o: amd64/yuy2_to_rgb32_amd64_sse2.asm
+ yasm -f elf64 -g dwarf2 amd64/yuy2_to_rgb32_amd64_sse2.asm
+
+uyvy_to_rgb32_amd64_sse2.o: amd64/uyvy_to_rgb32_amd64_sse2.asm
+ yasm -f elf64 -g dwarf2 amd64/uyvy_to_rgb32_amd64_sse2.asm
+