1f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgTOP = ../../../../..
2f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orginclude $(TOP)/configs/current
3f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
4f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgLIBS = -lXvMCW -lXvMC -lXv -lX11
5f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
6f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org#############################################
7f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
8f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org.PHONY: default clean
9f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
10f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgdefault: test_context test_surface test_subpicture test_blocks test_rendering xvmc_bench
11f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
12f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgtest_context: test_context.o testlib.o
13f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
14f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
15f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgtest_surface: test_surface.o testlib.o
16f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
17f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
18f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgtest_subpicture: test_subpicture.o testlib.o
19f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
20f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
21f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgtest_blocks: test_blocks.o testlib.o
22f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
23f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
24f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgtest_rendering: test_rendering.o testlib.o
25f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
26f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
27f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgxvmc_bench: xvmc_bench.o testlib.o
28f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
29f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org
30f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.orgclean:
31f2ba7591b1407a7ee9209f842c50696914dc2dedkbr@chromium.org	$(RM) -rf *.o test_context test_surface test_subpicture test_blocks test_rendering xvmc_bench
32