Home | History | Annotate | Download | only in tests
      1 TOP = ../../../../..
      2 include $(TOP)/configs/current
      3 
      4 LIBS = -lXvMCW -lXvMC -lXv -lX11
      5 
      6 #############################################
      7 
      8 .PHONY: default clean
      9 
     10 default: test_context test_surface test_subpicture test_blocks test_rendering xvmc_bench
     11 
     12 test_context: test_context.o testlib.o
     13 	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
     14 
     15 test_surface: test_surface.o testlib.o
     16 	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
     17 
     18 test_subpicture: test_subpicture.o testlib.o
     19 	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
     20 
     21 test_blocks: test_blocks.o testlib.o
     22 	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
     23 
     24 test_rendering: test_rendering.o testlib.o
     25 	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
     26 
     27 xvmc_bench: xvmc_bench.o testlib.o
     28 	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
     29 
     30 clean:
     31 	$(RM) -rf *.o test_context test_surface test_subpicture test_blocks test_rendering xvmc_bench
     32