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