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