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 | all: |
---|
12 | $(MAKE) -C lib/TLibVideoIO MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
13 | $(MAKE) -C lib/TLibCommon MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
14 | $(MAKE) -C lib/TLibDecoder MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
15 | $(MAKE) -C lib/TLibEncoder MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
16 | $(MAKE) -C lib/TLibRenderer MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
17 | $(MAKE) -C lib/TLibExtractor MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
18 | $(MAKE) -C lib/TAppCommon MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
19 | $(MAKE) -C app/TAppDecoder MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
20 | $(MAKE) -C app/TAppEncoder MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
21 | $(MAKE) -C app/TAppRenderer MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
22 | $(MAKE) -C app/TAppExtractor MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
23 | $(MAKE) -C utils/annexBbytecount MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
24 | $(MAKE) -C utils/convert_NtoMbit_YCbCr MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
25 | $(MAKE) -C lib/TLibDecoderAnalyser MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
26 | $(MAKE) -C app/TAppDecoderAnalyser MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
27 | |
---|
28 | debug: |
---|
29 | $(MAKE) -C lib/TLibVideoIO debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
30 | $(MAKE) -C lib/TLibCommon debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
31 | $(MAKE) -C lib/TLibDecoder debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
32 | $(MAKE) -C lib/TLibEncoder debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
33 | $(MAKE) -C lib/TLibRenderer debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
34 | $(MAKE) -C lib/TLibExtractor debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
35 | $(MAKE) -C lib/TAppCommon debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
36 | $(MAKE) -C app/TAppDecoder debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
37 | $(MAKE) -C app/TAppEncoder debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
38 | $(MAKE) -C app/TAppRenderer debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
39 | $(MAKE) -C app/TAppExtractor debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
40 | $(MAKE) -C utils/annexBbytecount debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
41 | $(MAKE) -C utils/convert_NtoMbit_YCbCr debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
42 | $(MAKE) -C lib/TLibDecoderAnalyser debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
43 | $(MAKE) -C app/TAppDecoderAnalyser debug MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
44 | |
---|
45 | release: |
---|
46 | $(MAKE) -C lib/TLibVideoIO release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
47 | $(MAKE) -C lib/TLibCommon release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
48 | $(MAKE) -C lib/TLibDecoder release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
49 | $(MAKE) -C lib/TLibEncoder release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
50 | $(MAKE) -C lib/TLibRenderer release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
51 | $(MAKE) -C lib/TLibExtractor release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
52 | $(MAKE) -C lib/TAppCommon release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
53 | $(MAKE) -C app/TAppDecoder release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
54 | $(MAKE) -C app/TAppEncoder release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
55 | $(MAKE) -C app/TAppRenderer release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
56 | $(MAKE) -C app/TAppExtractor release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
57 | $(MAKE) -C utils/annexBbytecount release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
58 | $(MAKE) -C utils/convert_NtoMbit_YCbCr release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
59 | $(MAKE) -C lib/TLibDecoderAnalyser release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
60 | $(MAKE) -C app/TAppDecoderAnalyser release MM32=$(M32) ADDDEFS=$(ADDDEFS) |
---|
61 | |
---|
62 | clean: clean_highbitdepth |
---|
63 | $(MAKE) -C lib/TLibVideoIO clean MM32=$(M32) |
---|
64 | $(MAKE) -C lib/TLibCommon clean MM32=$(M32) |
---|
65 | $(MAKE) -C lib/TLibDecoder clean MM32=$(M32) |
---|
66 | $(MAKE) -C lib/TLibEncoder clean MM32=$(M32) |
---|
67 | $(MAKE) -C lib/TLibRenderer clean MM32=$(M32) |
---|
68 | $(MAKE) -C lib/TLibExtractor clean MM32=$(M32) |
---|
69 | |
---|
70 | $(MAKE) -C lib/TAppCommon clean MM32=$(M32) |
---|
71 | $(MAKE) -C app/TAppDecoder clean MM32=$(M32) |
---|
72 | $(MAKE) -C app/TAppEncoder clean MM32=$(M32) |
---|
73 | $(MAKE) -C app/TAppRenderer clean MM32=$(M32) |
---|
74 | $(MAKE) -C app/TAppExtractor clean MM32=$(M32) |
---|
75 | $(MAKE) -C utils/annexBbytecount clean MM32=$(M32) |
---|
76 | $(MAKE) -C utils/convert_NtoMbit_YCbCr clean MM32=$(M32) |
---|
77 | $(MAKE) -C lib/TLibDecoderAnalyser clean MM32=$(M32) |
---|
78 | $(MAKE) -C app/TAppDecoderAnalyser clean MM32=$(M32) |
---|
79 | |
---|
80 | all_highbitdepth: |
---|
81 | $(MAKE) -C lib/TLibVideoIO MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
82 | $(MAKE) -C lib/TLibCommon MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
83 | $(MAKE) -C lib/TLibDecoder MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
84 | $(MAKE) -C lib/TLibEncoder MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
85 | $(MAKE) -C lib/TLibRenderer MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
86 | $(MAKE) -C lib/TLibExtractor MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
87 | $(MAKE) -C lib/TAppCommon MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
88 | $(MAKE) -C app/TAppDecoder MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
89 | $(MAKE) -C app/TAppEncoder MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
90 | $(MAKE) -C app/TAppRenderer MM32=$(M32) ADDDEFS=$(ADDDEFS) ADDDEFS=$(ADDDEFS) |
---|
91 | $(MAKE) -C app/TAppExtractor MM32=$(M32) ADDDEFS=$(ADDDEFS) ADDDEFS=$(ADDDEFS) |
---|
92 | $(MAKE) -C lib/TLibDecoderAnalyser MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
93 | $(MAKE) -C app/TAppDecoderAnalyser MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
94 | |
---|
95 | debug_highbitdepth: |
---|
96 | $(MAKE) -C lib/TLibVideoIO debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
97 | $(MAKE) -C lib/TLibCommon debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
98 | $(MAKE) -C lib/TLibDecoder debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
99 | $(MAKE) -C lib/TLibEncoder debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
100 | $(MAKE) -C lib/TLibRenderer debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
101 | $(MAKE) -C lib/TLibExtractor debug M32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
102 | $(MAKE) -C lib/TAppCommon debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
103 | $(MAKE) -C app/TAppDecoder debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
104 | $(MAKE) -C app/TAppEncoder debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
105 | $(MAKE) -C app/TAppRenderer debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
106 | $(MAKE) -C app/TAppExtractor debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
107 | $(MAKE) -C lib/TLibDecoderAnalyser debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
108 | $(MAKE) -C app/TAppDecoderAnalyser debug MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
109 | |
---|
110 | release_highbitdepth: |
---|
111 | $(MAKE) -C lib/TLibVideoIO release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
112 | $(MAKE) -C lib/TLibCommon release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
113 | $(MAKE) -C lib/TLibDecoder release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
114 | $(MAKE) -C lib/TLibEncoder release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
115 | $(MAKE) -C lib/TLibRenderer release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
116 | $(MAKE) -C lib/TLibExtractor release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
117 | $(MAKE) -C lib/TAppCommon release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
118 | $(MAKE) -C app/TAppDecoder release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
119 | $(MAKE) -C app/TAppEncoder release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
120 | $(MAKE) -C app/TAppRenderer release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
121 | $(MAKE) -C app/TAppExtractor release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
122 | $(MAKE) -C lib/TLibDecoderAnalyser release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
123 | $(MAKE) -C app/TAppDecoderAnalyser release MM32=$(M32) HIGHBITDEPTH=1 ADDDEFS=$(ADDDEFS) |
---|
124 | |
---|
125 | clean_highbitdepth: |
---|
126 | $(MAKE) -C lib/TLibVideoIO clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
127 | $(MAKE) -C lib/TLibCommon clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
128 | $(MAKE) -C lib/TLibDecoder clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
129 | $(MAKE) -C lib/TLibEncoder clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
130 | $(MAKE) -C lib/TLibRenderer clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
131 | $(MAKE) -C lib/TLibExtractor clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
132 | $(MAKE) -C lib/TAppCommon clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
133 | $(MAKE) -C app/TAppDecoder clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
134 | $(MAKE) -C app/TAppEncoder clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
135 | $(MAKE) -C app/TAppRenderer clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
136 | $(MAKE) -C app/TAppExtractor clean MM32=$(M32)HIGHBITDEPTH=1 |
---|
137 | $(MAKE) -C lib/TLibDecoderAnalyser clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
138 | $(MAKE) -C app/TAppDecoderAnalyser clean MM32=$(M32) HIGHBITDEPTH=1 |
---|
139 | |
---|
140 | everything: all all_highbitdepth |
---|