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