2013-07-13 07:56:15 +08:00
|
|
|
|
2013-07-13 13:36:16 +08:00
|
|
|
OBJS = rdpDraw.o rdpPri.o rdpGC.o rdpFillSpans.o rdpSetSpans.o rdpPutImage.o \
|
|
|
|
rdpCopyArea.o rdpCopyPlane.o rdpPolyPoint.o rdpPolylines.o rdpPolySegment.o \
|
|
|
|
rdpPolyRectangle.o rdpPolyArc.o rdpFillPolygon.o rdpPolyFillRect.o \
|
|
|
|
rdpPolyFillArc.o rdpPolyText8.o rdpPolyText16.o rdpImageText8.o \
|
2013-07-14 10:03:03 +08:00
|
|
|
rdpImageText16.o rdpImageGlyphBlt.o rdpPolyGlyphBlt.o rdpPushPixels.o \
|
2013-07-22 11:19:21 +08:00
|
|
|
rdpCursor.o rdpMain.o rdpRandR.o rdpMisc.o rdpReg.o \
|
2014-01-27 03:28:46 +08:00
|
|
|
rdpComposite.o rdpGlyphs.o rdpPixmap.o rdpInput.o rdpClientCon.o rdpCapture.o \
|
2014-09-21 04:21:37 +08:00
|
|
|
rdpTrapezoids.o rdpXv.o
|
2013-07-13 07:56:15 +08:00
|
|
|
|
2014-09-24 11:31:45 +08:00
|
|
|
;OBJS += i420_to_rgb32_x86_sse2.o yv12_to_rgb32_x86_sse2.o yuy2_to_rgb32_x86_sse2.o uyvy_to_rgb32_x86_sse2.o
|
2014-09-24 12:28:35 +08:00
|
|
|
;OBJS += i420_to_rgb32_amd64_sse2.o yv12_to_rgb32_amd64_sse2.o yuy2_to_rgb32_amd64_sse2.o uyvy_to_rgb32_amd64_sse2.o
|
2014-09-24 11:31:45 +08:00
|
|
|
|
2014-01-19 08:11:30 +08:00
|
|
|
CFLAGS = -g -O2 -Wall -fPIC -I/usr/include/xorg -I/usr/include/pixman-1 \
|
|
|
|
-I../../../common
|
2013-07-13 07:56:15 +08:00
|
|
|
|
|
|
|
LDFLAGS =
|
|
|
|
|
|
|
|
LIBS =
|
|
|
|
|
2013-07-14 10:03:03 +08:00
|
|
|
all: libxorgxrdp.so
|
2013-07-13 07:56:15 +08:00
|
|
|
|
2013-07-14 10:03:03 +08:00
|
|
|
libxorgxrdp.so: $(OBJS) Makefile
|
2013-07-13 07:56:15 +08:00
|
|
|
$(CC) -shared -o libxorgxrdp.so $(LDFLAGS) $(OBJS) $(LIBS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS) libxorgxrdp.so
|
2014-09-24 11:31:45 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-09-24 12:28:35 +08:00
|
|
|
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
|
|
|
|
|