Makefile.am 1.03 KB
Newer Older
1 2
noinst_PROGRAMS = \
	test-vaapisink  \
3
	test-vaapipostproc  \
4
	test-roi  \
5 6 7 8 9 10 11 12 13
	$(NULL)

TEST_CFLAGS = \
	-DGST_USE_UNSTABLE_API		\
	$(GST_CFLAGS)			\
	$(GST_VIDEO_CFLAGS)		\
	$(NULL)

TEST_LIBS = \
14
	$(GST_LIBS) 			\
15
	$(GST_VIDEO_LIBS)		\
16 17 18 19 20 21
	$(NULL)

test_vaapisink_SOURCES	= test-vaapisink.c
test_vaapisink_CFLAGS	= $(TEST_CFLAGS)
test_vaapisink_LDADD	= $(TEST_LIBS)

22 23 24 25
test_vaapipostproc_SOURCES	= test-vaapipostproc.c
test_vaapipostproc_CFLAGS	= $(TEST_CFLAGS)
test_vaapipostproc_LDADD	= $(TEST_LIBS)

26 27 28 29
test_roi_SOURCES = test-roi.c
test_roi_CFLAGS  = $(TEST_CFLAGS)
test_roi_LDADD   = $(TEST_LIBS)

30 31 32 33 34 35 36 37 38 39
if USE_GTK
noinst_PROGRAMS += test-vaapicontext

test_vaapicontext_SOURCES = test-vaapicontext.c
test_vaapicontext_CFLAGS = \
	$(TEST_CFLAGS) 		\
	$(GTK3_CFLAGS) 		\
	$(X11_CFLAGS)  		\
	$(LIBVA_CFLAGS)		\
	$(LIBVA_X11_CFLAGS)	\
40
	$(LIBVA_WAYLAND_CFLAGS)	\
41 42 43 44 45 46 47
	$(NULL)
test_vaapicontext_LDADD = \
	$(TEST_LIBS) 		\
	$(GTK3_LIBS) 		\
	$(X11_LIBS) 		\
	$(LIBVA_LIBS)		\
	$(LIBVA_X11_LIBS)	\
48
	$(LIBVA_WAYLAND_LIBS)	\
49 50 51
	$(NULL)
endif

52
-include $(top_srcdir)/git.mk