]> git.sesse.net Git - ffmpeg/blob - libavutil/Makefile
Merge commit 'd8ebb6157d12183ed3fc987cd2ba18b404758828'
[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           audioconvert.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           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           old_pix_fmts.h                                                \
46           opt.h                                                         \
47           parseutils.h                                                  \
48           pixdesc.h                                                     \
49           pixelutils.h                                                  \
50           pixfmt.h                                                      \
51           random_seed.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           twofish.h                                                     \
64           version.h                                                     \
65           xtea.h                                                        \
66           tea.h                                                         \
67
68 HEADERS-$(CONFIG_LZO)                   += lzo.h
69
70 HEADERS-$(CONFIG_OPENCL)                += opencl.h
71
72 ARCH_HEADERS = bswap.h                                                  \
73                intmath.h                                                \
74                intreadwrite.h                                           \
75                timer.h                                                  \
76
77 BUILT_HEADERS = avconfig.h                                              \
78                 ffversion.h
79
80 OBJS = adler32.o                                                        \
81        aes.o                                                            \
82        audio_fifo.o                                                     \
83        avstring.o                                                       \
84        base64.o                                                         \
85        blowfish.o                                                       \
86        bprint.o                                                         \
87        buffer.o                                                         \
88        cast5.o                                                          \
89        camellia.o                                                       \
90        channel_layout.o                                                 \
91        color_utils.o                                                    \
92        cpu.o                                                            \
93        crc.o                                                            \
94        des.o                                                            \
95        display.o                                                        \
96        downmix_info.o                                                   \
97        error.o                                                          \
98        eval.o                                                           \
99        fifo.o                                                           \
100        file.o                                                           \
101        file_open.o                                                      \
102        float_dsp.o                                                      \
103        fixed_dsp.o                                                      \
104        frame.o                                                          \
105        hash.o                                                           \
106        hmac.o                                                           \
107        imgutils.o                                                       \
108        intmath.o                                                        \
109        lfg.o                                                            \
110        lls.o                                                            \
111        log.o                                                            \
112        log2_tab.o                                                       \
113        mathematics.o                                                    \
114        md5.o                                                            \
115        mem.o                                                            \
116        murmur3.o                                                        \
117        dict.o                                                           \
118        opt.o                                                            \
119        parseutils.o                                                     \
120        pixdesc.o                                                        \
121        pixelutils.o                                                     \
122        random_seed.o                                                    \
123        rational.o                                                       \
124        reverse.o                                                        \
125        rc4.o                                                            \
126        ripemd.o                                                         \
127        samplefmt.o                                                      \
128        sha.o                                                            \
129        sha512.o                                                         \
130        stereo3d.o                                                       \
131        threadmessage.o                                                  \
132        time.o                                                           \
133        timecode.o                                                       \
134        tree.o                                                           \
135        twofish.o                                                        \
136        utils.o                                                          \
137        xga_font_data.o                                                  \
138        xtea.o                                                           \
139        tea.o                                                            \
140
141 OBJS-$(!HAVE_ATOMICS_NATIVE)            += atomic.o                     \
142
143 OBJS-$(CONFIG_LZO)                      += lzo.o
144 OBJS-$(CONFIG_OPENCL)                   += opencl.o opencl_internal.o
145
146 OBJS += $(COMPAT_OBJS:%=../compat/%)
147
148 # Windows resource file
149 SLIBOBJS-$(HAVE_GNU_WINDRES)            += avutilres.o
150
151 SKIPHEADERS          = old_pix_fmts.h
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