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