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