File: Makefile.am

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 (139 lines) | stat: -rw-r--r-- 2,653 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
libyami_codecparser_source_c = \
	bitReader.cpp \
	bitWriter.cpp \
	nalReader.cpp \
	dboolhuff.c \
	$(NULL)

if BUILD_JPEG_PARSER
libyami_codecparser_source_c += \
	jpegParser.cpp \
	$(NULL)
endif

if BUILD_H264_DECODER
libyami_codecparser_source_c += \
	h264Parser.cpp \
	$(NULL)
endif

if BUILD_MPEG2_DECODER
libyami_codecparser_source_c += \
	mpeg2_parser.cpp \
	$(NULL)
endif

if BUILD_VP8_DECODER
libyami_codecparser_source_c += \
	vp8_bool_decoder.cpp \
	vp8_parser.cpp \
	$(NULL)
endif

if BUILD_H265_DECODER
libyami_codecparser_source_c += \
	h265Parser.cpp \
	$(NULL)
endif

if BUILD_VC1_DECODER
libyami_codecparser_source_c += \
	vc1Parser.cpp \
	$(NULL)
endif

if BUILD_VP9_DECODER
libyami_codecparser_source_c += \
	vp9quant.c \
	vp9parser.cpp \
	$(NULL)
endif

libyami_codecparser_source_h_priv = \
	bitReader.h \
	bitWriter.h \
	nalReader.h \
	$(NULL)

if BUILD_JPEG_PARSER
libyami_codecparser_source_h_priv += \
	jpegParser.h \
	$(NULL)
endif

if BUILD_H264_DECODER
libyami_codecparser_source_h_priv += \
	h264Parser.h \
	$(NULL)
endif

if BUILD_MPEG2_DECODER
libyami_codecparser_source_h_priv += \
	mpeg2_parser.h \
	$(NULL)
endif

if BUILD_VP8_DECODER
libyami_codecparser_source_h_priv += \
	vp8_bool_decoder.h \
	vp8_parser.h \
	$(NULL)
endif

libyami_codecparser_source_h_priv += \
	dboolhuff.h \
	$(NULL)
EXTRA_DIST = dboolhuff.LICENSE dboolhuff.PATENTS dboolhuff.AUTHORS

if BUILD_H265_DECODER
libyami_codecparser_source_h_priv += \
	h265Parser.h \
	$(NULL)
endif

if BUILD_VC1_DECODER
libyami_codecparser_source_h_priv += \
	vc1Parser.h \
	$(NULL)
endif

if BUILD_VP9_DECODER
libyami_codecparser_source_h_priv += \
	vp9quant.h \
	vp9parser.h \
	$(NULL)
endif

libyami_codecparser_ldflags = \
	$(LIBYAMI_LT_LDFLAGS) \
	$(NULL)

#to compile within yocto
extra_includes = \
        -I$(top_srcdir) \
        $(NULL)

libyami_codecparser_cppflags = \
	-Dvp8_norm=libyami_vp8_norm \
	-Dvp8dx_start_decode=libyami_vp8dx_start_decode \
	-Dvp8dx_bool_decoder_fill=libyami_vp8dx_bool_decoder_fill \
	-I$(top_srcdir)/interface \
	$(extra_includes) \
	$(NULL)

noinst_LTLIBRARIES                 = libyami_codecparser.la
libyami_codecparserincludedir      = ${includedir}/libyami
libyami_codecparserinclude_HEADERS = $(libyami_codecparser_source_h)
noinst_HEADERS                     = $(libyami_codecparser_source_h_priv)
libyami_codecparser_la_SOURCES     = $(libyami_codecparser_source_c)
libyami_codecparser_la_LDFLAGS     = $(libyami_codecparser_ldflags) $(AM_LDFLAGS)
libyami_codecparser_la_CPPFLAGS    = $(libyami_codecparser_cppflags) $(AM_CPPFLAGS)

if ENABLE_TESTS
include Makefile.unittest
endif

DISTCLEANFILES = \
	Makefile.in