]> git.sesse.net Git - ffmpeg/blob - libavutil/Makefile
Merge commit 'ee964145b5d229571e00bf6883a44189d02babe2'
[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        atomic.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        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        stereo3d.o                                                       \
129        threadmessage.o                                                  \
130        time.o                                                           \
131        timecode.o                                                       \
132        tree.o                                                           \
133        twofish.o                                                        \
134        utils.o                                                          \
135        xga_font_data.o                                                  \
136        xtea.o                                                           \
137
138 OBJS-$(CONFIG_LZO)                      += lzo.o
139 OBJS-$(CONFIG_OPENCL)                   += opencl.o opencl_internal.o
140
141 OBJS += $(COMPAT_OBJS:%=../compat/%)
142
143 # Windows resource file
144 SLIBOBJS-$(HAVE_GNU_WINDRES)            += avutilres.o
145
146 SKIPHEADERS          = old_pix_fmts.h
147
148 SKIPHEADERS-$(HAVE_ATOMICS_GCC)        += atomic_gcc.h
149 SKIPHEADERS-$(HAVE_ATOMICS_SUNCC)      += atomic_suncc.h
150 SKIPHEADERS-$(HAVE_ATOMICS_WIN32)      += atomic_win32.h
151 SKIPHEADERS-$(CONFIG_OPENCL)           += opencl.h
152
153 TESTPROGS = adler32                                                     \
154             aes                                                         \
155             atomic                                                      \
156             avstring                                                    \
157             base64                                                      \
158             blowfish                                                    \
159             bprint                                                      \
160             cast5                                                       \
161             camellia                                                    \
162             cpu                                                         \
163             crc                                                         \
164             des                                                         \
165             dict                                                        \
166             error                                                       \
167             eval                                                        \
168             file                                                        \
169             fifo                                                        \
170             float_dsp                                                   \
171             hmac                                                        \
172             lfg                                                         \
173             lls                                                         \
174             log                                                         \
175             md5                                                         \
176             murmur3                                                     \
177             opt                                                         \
178             pca                                                         \
179             parseutils                                                  \
180             pixdesc                                                     \
181             pixelutils                                                  \
182             random_seed                                                 \
183             rational                                                    \
184             ripemd                                                      \
185             sha                                                         \
186             sha512                                                      \
187             softfloat                                                   \
188             tree                                                        \
189             twofish                                                     \
190             utf8                                                        \
191             xtea                                                        \
192
193 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
194
195 TOOLS = crypto_bench ffhash ffeval ffescape
196
197 tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
198 tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
199
200 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2