summaryrefslogtreecommitdiff
path: root/src/libXvMC/tests/Makefile
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-09-12 20:37:33 +1000
committerBen Skeggs <skeggsb@gmail.com>2008-09-12 20:37:33 +1000
commitcbe05a4734a7df7dd9d8e52f79d0ed5e6c28ae60 (patch)
treee4f67e46334b43f051a0605c7762cac36ad7c1f6 /src/libXvMC/tests/Makefile
parent522139dd146450edfd3d2f07c627b32512a2c27e (diff)
parent81335d0f1760fe172a106f79e81281c1f0d7dedf (diff)
Merge remote branch 'nouveau/gallium-0.1' into nouveau-gallium-0.2
Conflicts: configs/linux-dri
Diffstat (limited to 'src/libXvMC/tests/Makefile')
-rw-r--r--src/libXvMC/tests/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libXvMC/tests/Makefile b/src/libXvMC/tests/Makefile
new file mode 100644
index 0000000000..2cbc97e88b
--- /dev/null
+++ b/src/libXvMC/tests/Makefile
@@ -0,0 +1,25 @@
+CFLAGS += -g -Wall -Werror
+LDFLAGS +=
+LIBS += -lXvMCW -lXvMC -lXv
+
+#############################################
+
+.PHONY = all clean
+
+all: test_context test_surface test_blocks test_rendering
+
+test_context: test_context.o testlib.o
+ $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+
+test_surface: test_surface.o testlib.o
+ $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+
+test_blocks: test_blocks.o testlib.o
+ $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+
+test_rendering: test_rendering.o testlib.o
+ $(CC) ${LDFLAGS} -o $@ $^ ${LIBS}
+
+clean:
+ rm -rf *.o test_context test_surface test_blocks test_rendering
+