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