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