fate: update pixfmt_best test to check for endianness
[ffmpeg.git] / libavutil / Makefile
1 NAME = avutil
2 DESC = FFmpeg utility library
3
4 HEADERS = adler32.h                                                     \
5           aes.h                                                         \
6           aes_ctr.h                                                     \
7           attributes.h                                                  \
8           audio_fifo.h                                                  \
9           avassert.h                                                    \
10           avstring.h                                                    \
11           avutil.h                                                      \
12           base64.h                                                      \
13           blowfish.h                                                    \
14           bprint.h                                                      \
15           bswap.h                                                       \
16           buffer.h                                                      \
17           cast5.h                                                       \
18           camellia.h                                                    \
19           channel_layout.h                                              \
20           common.h                                                      \
21           cpu.h                                                         \
22           crc.h                                                         \
23           des.h                                                         \
24           dict.h                                                        \
25           display.h                                                     \
26           downmix_info.h                                                \
27           error.h                                                       \
28           eval.h                                                        \
29           fifo.h                                                        \
30           file.h                                                        \
31           frame.h                                                       \
32           hash.h                                                        \
33           hmac.h                                                        \
34           hwcontext.h                                                   \
35           hwcontext_cuda.h                                              \
36           hwcontext_d3d11va.h                                           \
37           hwcontext_dxva2.h                                             \
38           hwcontext_qsv.h                                               \
39           hwcontext_vaapi.h                                             \
40           hwcontext_videotoolbox.h                                      \
41           hwcontext_vdpau.h                                             \
42           imgutils.h                                                    \
43           intfloat.h                                                    \
44           intreadwrite.h                                                \
45           lfg.h                                                         \
46           log.h                                                         \
47           macros.h                                                      \
48           mathematics.h                                                 \
49           mastering_display_metadata.h                                  \
50           md5.h                                                         \
51           mem.h                                                         \
52           motion_vector.h                                               \
53           murmur3.h                                                     \
54           opt.h                                                         \
55           parseutils.h                                                  \
56           pixdesc.h                                                     \
57           pixelutils.h                                                  \
58           pixfmt.h                                                      \
59           random_seed.h                                                 \
60           rc4.h                                                         \
61           rational.h                                                    \
62           replaygain.h                                                  \
63           ripemd.h                                                      \
64           samplefmt.h                                                   \
65           sha.h                                                         \
66           sha512.h                                                      \
67           spherical.h                                                   \
68           stereo3d.h                                                    \
69           threadmessage.h                                               \
70           time.h                                                        \
71           timecode.h                                                    \
72           timestamp.h                                                   \
73           tree.h                                                        \
74           twofish.h                                                     \
75           version.h                                                     \
76           xtea.h                                                        \
77           tea.h                                                         \
78
79 HEADERS-$(CONFIG_LZO)                   += lzo.h
80
81 HEADERS-$(CONFIG_OPENCL)                += opencl.h
82
83 ARCH_HEADERS = bswap.h                                                  \
84                intmath.h                                                \
85                intreadwrite.h                                           \
86                timer.h                                                  \
87
88 BUILT_HEADERS = avconfig.h                                              \
89                 ffversion.h
90
91 OBJS = adler32.o                                                        \
92        aes.o                                                            \
93        aes_ctr.o                                                        \
94        audio_fifo.o                                                     \
95        avstring.o                                                       \
96        base64.o                                                         \
97        blowfish.o                                                       \
98        bprint.o                                                         \
99        buffer.o                                                         \
100        cast5.o                                                          \
101        camellia.o                                                       \
102        channel_layout.o                                                 \
103        color_utils.o                                                    \
104        cpu.o                                                            \
105        crc.o                                                            \
106        des.o                                                            \
107        dict.o                                                           \
108        display.o                                                        \
109        downmix_info.o                                                   \
110        error.o                                                          \
111        eval.o                                                           \
112        fifo.o                                                           \
113        file.o                                                           \
114        file_open.o                                                      \
115        float_dsp.o                                                      \
116        fixed_dsp.o                                                      \
117        frame.o                                                          \
118        hash.o                                                           \
119        hmac.o                                                           \
120        hwcontext.o                                                      \
121        imgutils.o                                                       \
122        integer.o                                                        \
123        intmath.o                                                        \
124        lfg.o                                                            \
125        lls.o                                                            \
126        log.o                                                            \
127        log2_tab.o                                                       \
128        mathematics.o                                                    \
129        mastering_display_metadata.o                                     \
130        md5.o                                                            \
131        mem.o                                                            \
132        murmur3.o                                                        \
133        opt.o                                                            \
134        parseutils.o                                                     \
135        pixdesc.o                                                        \
136        pixelutils.o                                                     \
137        random_seed.o                                                    \
138        rational.o                                                       \
139        reverse.o                                                        \
140        rc4.o                                                            \
141        ripemd.o                                                         \
142        samplefmt.o                                                      \
143        sha.o                                                            \
144        sha512.o                                                         \
145        slicethread.o                                                    \
146        spherical.o                                                      \
147        stereo3d.o                                                       \
148        threadmessage.o                                                  \
149        time.o                                                           \
150        timecode.o                                                       \
151        tree.o                                                           \
152        twofish.o                                                        \
153        utils.o                                                          \
154        xga_font_data.o                                                  \
155        xtea.o                                                           \
156        tea.o                                                            \
157
158 OBJS-$(!HAVE_ATOMICS_NATIVE)            += atomic.o                     \
159
160 OBJS-$(CONFIG_CUDA)                     += hwcontext_cuda.o
161 OBJS-$(CONFIG_D3D11VA)                  += hwcontext_d3d11va.o
162 OBJS-$(CONFIG_DXVA2)                    += hwcontext_dxva2.o
163 OBJS-$(CONFIG_QSV)                   += hwcontext_qsv.o
164 OBJS-$(CONFIG_LZO)                      += lzo.o
165 OBJS-$(CONFIG_OPENCL)                   += opencl.o opencl_internal.o
166 OBJS-$(CONFIG_VAAPI)                    += hwcontext_vaapi.o
167 OBJS-$(CONFIG_VIDEOTOOLBOX)             += hwcontext_videotoolbox.o
168 OBJS-$(CONFIG_VDPAU)                    += hwcontext_vdpau.o
169
170 OBJS += $(COMPAT_OBJS:%=../compat/%)
171
172 # Windows resource file
173 SLIBOBJS-$(HAVE_GNU_WINDRES)            += avutilres.o
174
175 SKIPHEADERS-$(HAVE_CUDA_H)             += hwcontext_cuda.h
176 SKIPHEADERS-$(CONFIG_CUDA)             += hwcontext_cuda_internal.h
177 SKIPHEADERS-$(CONFIG_D3D11VA)          += hwcontext_d3d11va.h
178 SKIPHEADERS-$(CONFIG_DXVA2)            += hwcontext_dxva2.h
179 SKIPHEADERS-$(CONFIG_QSV)           += hwcontext_qsv.h
180 SKIPHEADERS-$(CONFIG_VAAPI)            += hwcontext_vaapi.h
181 SKIPHEADERS-$(CONFIG_VIDEOTOOLBOX)     += hwcontext_videotoolbox.h
182 SKIPHEADERS-$(CONFIG_VDPAU)            += hwcontext_vdpau.h
183 SKIPHEADERS-$(HAVE_ATOMICS_GCC)        += atomic_gcc.h
184 SKIPHEADERS-$(HAVE_ATOMICS_SUNCC)      += atomic_suncc.h
185 SKIPHEADERS-$(HAVE_ATOMICS_WIN32)      += atomic_win32.h
186 SKIPHEADERS-$(CONFIG_OPENCL)           += opencl.h
187
188 TESTPROGS = adler32                                                     \
189             aes                                                         \
190             aes_ctr                                                     \
191             atomic                                                      \
192             audio_fifo                                                  \
193             avstring                                                    \
194             base64                                                      \
195             blowfish                                                    \
196             bprint                                                      \
197             cast5                                                       \
198             camellia                                                    \
199             color_utils                                                 \
200             cpu                                                         \
201             crc                                                         \
202             des                                                         \
203             dict                                                        \
204             display                                                     \
205             error                                                       \
206             eval                                                        \
207             file                                                        \
208             fifo                                                        \
209             hash                                                        \
210             hmac                                                        \
211             imgutils                                                    \
212             lfg                                                         \
213             lls                                                         \
214             log                                                         \
215             md5                                                         \
216             murmur3                                                     \
217             opt                                                         \
218             pca                                                         \
219             parseutils                                                  \
220             pixdesc                                                     \
221             pixelutils                                                  \
222             pixfmt_best                                                 \
223             random_seed                                                 \
224             rational                                                    \
225             ripemd                                                      \
226             sha                                                         \
227             sha512                                                      \
228             softfloat                                                   \
229             tree                                                        \
230             twofish                                                     \
231             utf8                                                        \
232             xtea                                                        \
233             tea                                                         \
234
235 TESTPROGS-$(HAVE_THREADS)            += cpu_init
236 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
237
238 TOOLS = crypto_bench ffhash ffeval ffescape
239
240 tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
241 tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
242
243 $(SUBDIR)tests/lzo$(EXESUF): ELIBS = -llzo2