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