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