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