File: Makefile.unittest

package info (click to toggle)
libyami 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,152 kB
  • sloc: cpp: 44,247; ansic: 1,255; makefile: 728; lisp: 479; sh: 21; python: 19
file content (69 lines) | stat: -rw-r--r-- 1,098 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
noinst_PROGRAMS = unittest

unittest_SOURCES = \
	unittest_main.cpp \
	bitReader_unittest.cpp \
	nalReader_unittest.cpp \
	bitWriter_unittest.cpp \
	$(NULL)

if BUILD_VP8_DECODER
unittest_SOURCES += \
	vp8_bool_decoder_unittest.cpp \
	$(NULL)
endif

if BUILD_JPEG_PARSER
unittest_SOURCES += \
	jpegParser_unittest.cpp \
	$(NULL)
endif

if BUILD_H264_DECODER
unittest_SOURCES += \
	h264Parser_unittest.cpp \
	$(NULL)
endif

if BUILD_H265_DECODER
unittest_SOURCES += \
	h265Parser_unittest.cpp \
	$(NULL)
endif

if BUILD_MPEG2_DECODER
unittest_SOURCES += \
	mpeg2_parser_unittest.cpp \
	$(NULL)
endif

if BUILD_VC1_DECODER
unittest_SOURCES += \
	vc1Parser_unittest.cpp \
	$(NULL)
endif

unittest_LDFLAGS = \
	$(AM_LDFLAGS) \
	-pthread \
	$(NULL)

unittest_LDADD = \
	libyami_codecparser.la \
	$(top_builddir)/common/libyami_common.la \
	$(top_srcdir)/gtestsrc/libgtest.la \
	$(NULL)

unittest_CPPFLAGS = \
	$(AM_CPPFLAGS) \
	-I$(top_srcdir)/interface \
	-I$(top_srcdir)/gtestsrc/gtest/include \
	$(NULL)

unittest_CXXFLAGS = \
	$(AM_CXXFLAGS) \
	$(NULL)

check-local: unittest
	$(builddir)/unittest