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