1 | ### enforce 32-bit build : 1=yes, 0=no |
---|
2 | M32?= 0 |
---|
3 | HEVC_EXT?= '' |
---|
4 | |
---|
5 | export M32 |
---|
6 | |
---|
7 | ifneq ($(HEVC_EXT), '') |
---|
8 | ADDDEFS = -DHEVC_EXT=$(HEVC_EXT) |
---|
9 | endif |
---|
10 | |
---|
11 | EXTENSION_360_VIDEO?=0 |
---|
12 | export EXTENSION_360_VIDEO |
---|
13 | |
---|
14 | |
---|
15 | all: |
---|
16 | $(MAKE) -C lib/TLibVideoIO MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
17 | $(MAKE) -C lib/TLibCommon MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
18 | $(MAKE) -C lib/TLibDecoder MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
19 | $(MAKE) -C lib/TLibEncoder MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
20 | $(MAKE) -C lib/TLibRenderer MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
21 | $(MAKE) -C lib/TLibExtractor MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
22 | $(MAKE) -C lib/TAppCommon MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
23 | @if [ $(EXTENSION_360_VIDEO) -eq 1 ] ; then \ |
---|
24 | $(MAKE) -C lib/TLib360 MM32=$(M32) ; \ |
---|
25 | $(MAKE) -C lib/TAppEncHelper360 MM32=$(M32) ; \ |
---|
26 | $(MAKE) -C app/TApp360Convert MM32=$(M32) ; \ |
---|
27 | fi |
---|
28 | $(MAKE) -C app/TAppDecoder MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
29 | $(MAKE) -C app/TAppEncoder MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
30 | $(MAKE) -C app/TAppRenderer MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
31 | $(MAKE) -C app/TAppExtractor MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
32 | $(MAKE) -C utils/annexBbytecount MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
33 | $(MAKE) -C utils/convert_NtoMbit_YCbCr MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
34 | $(MAKE) -C lib/TLibDecoderAnalyser MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
35 | $(MAKE) -C app/TAppDecoderAnalyser MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
36 | |
---|
37 | debug: |
---|
38 | $(MAKE) -C lib/TLibVideoIO debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
39 | $(MAKE) -C lib/TLibCommon debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
40 | $(MAKE) -C lib/TLibDecoder debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
41 | $(MAKE) -C lib/TLibEncoder debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
42 | $(MAKE) -C lib/TLibRenderer debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
43 | $(MAKE) -C lib/TLibExtractor debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
44 | $(MAKE) -C lib/TAppCommon debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
45 | @if [ $(EXTENSION_360_VIDEO) -eq 1 ] ; then \ |
---|
46 | $(MAKE) -C lib/TLib360 debug MM32=$(M32) ; \ |
---|
47 | $(MAKE) -C lib/TAppEncHelper360 debug MM32=$(M32) ; \ |
---|
48 | $(MAKE) -C app/TApp360Convert debug MM32=$(M32) ; \ |
---|
49 | fi |
---|
50 | |
---|
51 | $(MAKE) -C app/TAppDecoder debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
52 | $(MAKE) -C app/TAppEncoder debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
53 | $(MAKE) -C app/TAppRenderer debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
54 | $(MAKE) -C app/TAppExtractor debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
55 | $(MAKE) -C utils/annexBbytecount debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
56 | $(MAKE) -C utils/convert_NtoMbit_YCbCr debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
57 | $(MAKE) -C lib/TLibDecoderAnalyser debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
58 | $(MAKE) -C app/TAppDecoderAnalyser debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
59 | |
---|
60 | release: |
---|
61 | $(MAKE) -C lib/TLibVideoIO release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
62 | $(MAKE) -C lib/TLibCommon release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
63 | $(MAKE) -C lib/TLibDecoder release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
64 | $(MAKE) -C lib/TLibEncoder release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
65 | $(MAKE) -C lib/TLibRenderer release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
66 | $(MAKE) -C lib/TLibExtractor release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
67 | $(MAKE) -C lib/TAppCommon release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
68 | @if [ $(EXTENSION_360_VIDEO) -eq 1 ] ; then \ |
---|
69 | $(MAKE) -C lib/TLib360 release MM32=$(M32) ; \ |
---|
70 | $(MAKE) -C lib/TAppEncHelper360 release MM32=$(M32) ; \ |
---|
71 | $(MAKE) -C app/TApp360Convert release MM32=$(M32) ; \ |
---|
72 | fi |
---|
73 | $(MAKE) -C app/TAppDecoder release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
74 | $(MAKE) -C app/TAppEncoder release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
75 | $(MAKE) -C app/TAppRenderer release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
76 | $(MAKE) -C app/TAppExtractor release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
77 | $(MAKE) -C utils/annexBbytecount release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
78 | $(MAKE) -C utils/convert_NtoMbit_YCbCr release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
79 | $(MAKE) -C lib/TLibDecoderAnalyser release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
80 | $(MAKE) -C app/TAppDecoderAnalyser release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
81 | |
---|
82 | clean: clean_highbitdepth |
---|
83 | $(MAKE) -C lib/TLibVideoIO clean MM32=$(M32) |
---|
84 | $(MAKE) -C lib/TLibCommon clean MM32=$(M32) |
---|
85 | $(MAKE) -C lib/TLibDecoder clean MM32=$(M32) |
---|
86 | $(MAKE) -C lib/TLibEncoder clean MM32=$(M32) |
---|
87 | $(MAKE) -C lib/TLibRenderer clean MM32=$(M32) |
---|
88 | $(MAKE) -C lib/TLibExtractor clean MM32=$(M32) |
---|
89 | |
---|
90 | $(MAKE) -C lib/TAppCommon clean MM32=$(M32) |
---|
91 | @if [ $(EXTENSION_360_VIDEO) -eq 1 ] ; then \ |
---|
92 | $(MAKE) -C lib/TLib360 clean MM32=$(M32) ; \ |
---|
93 | $(MAKE) -C lib/TAppEncHelper360 clean MM32=$(M32) ; \ |
---|
94 | $(MAKE) -C app/TApp360Convert clean MM32=$(M32) ; \ |
---|
95 | fi |
---|
96 | |
---|
97 | $(MAKE) -C app/TAppDecoder clean MM32=$(M32) |
---|
98 | $(MAKE) -C app/TAppEncoder clean MM32=$(M32) |
---|
99 | $(MAKE) -C app/TAppRenderer clean MM32=$(M32) |
---|
100 | $(MAKE) -C app/TAppExtractor clean MM32=$(M32) |
---|
101 | $(MAKE) -C utils/annexBbytecount clean MM32=$(M32) |
---|
102 | $(MAKE) -C utils/convert_NtoMbit_YCbCr clean MM32=$(M32) |
---|
103 | $(MAKE) -C lib/TLibDecoderAnalyser clean MM32=$(M32) |
---|
104 | $(MAKE) -C app/TAppDecoderAnalyser clean MM32=$(M32) |
---|
105 | |
---|
106 | all_highbitdepth: |
---|
107 | $(MAKE) -C lib/TLibVideoIO MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
108 | $(MAKE) -C lib/TLibCommon MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
109 | $(MAKE) -C lib/TLibDecoder MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
110 | $(MAKE) -C lib/TLibEncoder MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
111 | $(MAKE) -C lib/TLibRenderer MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
112 | $(MAKE) -C lib/TLibExtractor MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
113 | $(MAKE) -C lib/TAppCommon MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
114 | @if [ $(EXTENSION_360_VIDEO) -eq 1 ] ; then \ |
---|
115 | $(MAKE) -C lib/TLib360 MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
116 | $(MAKE) -C lib/TAppEncHelper360 MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
117 | $(MAKE) -C app/TApp360Convert MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
118 | fi |
---|
119 | |
---|
120 | $(MAKE) -C app/TAppDecoder MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
121 | $(MAKE) -C app/TAppEncoder MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
122 | $(MAKE) -C app/TAppRenderer MM32=$(M32) ADDDEFS=$(ADDDEFS) ADDDEFS=$(ADDDEFS) |
---|
123 | $(MAKE) -C app/TAppExtractor MM32=$(M32) ADDDEFS=$(ADDDEFS) ADDDEFS=$(ADDDEFS) |
---|
124 | $(MAKE) -C lib/TLibDecoderAnalyser MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
125 | $(MAKE) -C app/TAppDecoderAnalyser MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
126 | |
---|
127 | debug_highbitdepth: |
---|
128 | $(MAKE) -C lib/TLibVideoIO debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
129 | $(MAKE) -C lib/TLibCommon debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
130 | $(MAKE) -C lib/TLibDecoder debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
131 | $(MAKE) -C lib/TLibEncoder debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
132 | $(MAKE) -C lib/TLibRenderer debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
133 | $(MAKE) -C lib/TLibExtractor debug M32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
134 | $(MAKE) -C lib/TAppCommon debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
135 | @if [ $(EXTENSION_360_VIDEO) -eq 1 ] ; then \ |
---|
136 | $(MAKE) -C lib/TLib360 debug MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
137 | $(MAKE) -C lib/TAppEncHelper360 debug MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
138 | $(MAKE) -C app/TApp360Convert debug MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
139 | fi |
---|
140 | $(MAKE) -C app/TAppDecoder debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
141 | $(MAKE) -C app/TAppEncoder debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
142 | $(MAKE) -C app/TAppRenderer debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
143 | $(MAKE) -C app/TAppExtractor debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
144 | $(MAKE) -C lib/TLibDecoderAnalyser debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
145 | $(MAKE) -C app/TAppDecoderAnalyser debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
146 | |
---|
147 | release_highbitdepth: |
---|
148 | $(MAKE) -C lib/TLibVideoIO release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
149 | $(MAKE) -C lib/TLibCommon release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
150 | $(MAKE) -C lib/TLibDecoder release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
151 | $(MAKE) -C lib/TLibEncoder release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
152 | $(MAKE) -C lib/TLibRenderer release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
153 | $(MAKE) -C lib/TLibExtractor release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
154 | $(MAKE) -C lib/TAppCommon release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
155 | @if [ $(EXTENSION_360_VIDEO) -eq 1 ] ; then \ |
---|
156 | $(MAKE) -C lib/TLib360 release MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
157 | $(MAKE) -C lib/TAppEncHelper360 release MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
158 | $(MAKE) -C app/TApp360Convert release MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
159 | fi |
---|
160 | $(MAKE) -C app/TAppDecoder release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
161 | $(MAKE) -C app/TAppEncoder release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
162 | $(MAKE) -C app/TAppRenderer release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
163 | $(MAKE) -C app/TAppExtractor release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
164 | $(MAKE) -C lib/TLibDecoderAnalyser release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
165 | $(MAKE) -C app/TAppDecoderAnalyser release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
166 | |
---|
167 | clean_highbitdepth: |
---|
168 | $(MAKE) -C lib/TLibVideoIO clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
169 | $(MAKE) -C lib/TLibCommon clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
170 | $(MAKE) -C lib/TLibDecoder clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
171 | $(MAKE) -C lib/TLibEncoder clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
172 | $(MAKE) -C lib/TLibRenderer clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
173 | $(MAKE) -C lib/TLibExtractor clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
174 | $(MAKE) -C lib/TAppCommon clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
175 | @if [ $(EXTENSION_360_VIDEO) -eq 1 ] ; then \ |
---|
176 | $(MAKE) -C lib/TLib360 clean MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
177 | $(MAKE) -C lib/TAppEncHelper360 clean MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
178 | $(MAKE) -C app/TApp360Convert clean MM32=$(M32) HIGHBITDEPTH=1 ; \ |
---|
179 | fi |
---|
180 | $(MAKE) -C app/TAppDecoder clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
181 | $(MAKE) -C app/TAppEncoder clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
182 | $(MAKE) -C app/TAppRenderer clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
183 | $(MAKE) -C app/TAppExtractor clean MM32=$(M32)HIGHBITDEPTH=1 |
---|
184 | $(MAKE) -C lib/TLibDecoderAnalyser clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
185 | $(MAKE) -C app/TAppDecoderAnalyser clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
186 | |
---|
187 | everything: all all_highbitdepth |
---|