d3a92457f63263c99b5b976fcf0a4ee7e2061d90
[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           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           version.h                                                     \
62           xtea.h                                                        \
63
64 HEADERS-$(CONFIG_LZO)                   += lzo.h
65
66 HEADERS-$(CONFIG_OPENCL)                += opencl.h
67
68 ARCH_HEADERS = bswap.h                                                  \
69                intmath.h                                                \
70                intreadwrite.h                                           \
71                timer.h                                                  \
72
73 BUILT_HEADERS = avconfig.h                                              \
74                 ffversion.h
75
76 OBJS = adler32.o                                                        \
77        aes.o                                                            \
78        atomic.o                                                         \
79        audio_fifo.o                                                     \
80        avstring.o                                                       \
81        base64.o                                                         \
82        blowfish.o                                                       \
83        bprint.o                                                         \
84        buffer.o                                                         \
85        channel_layout.o                                                 \
86        cpu.o                                                            \
87        crc.o                                                            \
88        des.o                                                            \
89        display.o                                                        \
90        downmix_info.o                                                   \
91        error.o                                                          \
92        eval.o                                                           \
93        fifo.o                                                           \
94        file.o                                                           \
95        file_open.o                                                      \
96        float_dsp.o                                                      \
97        fixed_dsp.o                                                      \
98        frame.o                                                          \
99        hash.o                                                           \
100        hmac.o                                                           \
101        imgutils.o                                                       \
102        intfloat_readwrite.o                                             \
103        intmath.o                                                        \
104        lfg.o                                                            \
105        lls.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        pixelutils.o                                                     \
117        random_seed.o                                                    \
118        rational.o                                                       \
119        rc4.o                                                            \
120        ripemd.o                                                         \
121        samplefmt.o                                                      \
122        sha.o                                                            \
123        sha512.o                                                         \
124        stereo3d.o                                                       \
125        threadmessage.o                                                  \
126        time.o                                                           \
127        timecode.o                                                       \
128        tree.o                                                           \
129        utils.o                                                          \
130        xga_font_data.o                                                  \
131        xtea.o                                                           \
132
133 OBJS-$(CONFIG_LZO)                      += lzo.o
134 OBJS-$(CONFIG_OPENCL)                   += opencl.o opencl_internal.o
135
136 OBJS += $(COMPAT_OBJS:%=../compat/%)
137
138 # Windows resource file
139 SLIBOBJS-$(HAVE_GNU_WINDRES)            += avutilres.o
140
141 SKIPHEADERS          = old_pix_fmts.h
142
143 SKIPHEADERS-$(HAVE_ATOMICS_GCC)        += atomic_gcc.h
144 SKIPHEADERS-$(HAVE_ATOMICS_SUNCC)      += atomic_suncc.h
145 SKIPHEADERS-$(HAVE_ATOMICS_WIN32)      += atomic_win32.h
146 SKIPHEADERS-$(CONFIG_OPENCL)           += opencl.h
147
148 TESTPROGS = adler32                                                     \
149             aes                                                         \
150             atomic                                                      \
151             avstring                                                    \
152             base64                                                      \
153             blowfish                                                    \
154             bprint                                                      \
155             cpu                                                         \
156             crc                                                         \
157             des                                                         \
158             error                                                       \
159             eval                                                        \
160             file                                                        \
161             fifo                                                        \
162             float_dsp                                                   \
163             hmac                                                        \
164             lfg                                                         \
165             lls                                                         \
166             log                                                         \
167             md5                                                         \
168             murmur3                                                     \
169             opt                                                         \
170             pca                                                         \
171             parseutils                                                  \
172             pixdesc                                                     \
173             pixelutils                                                  \
174             random_seed                                                 \
175             rational                                                    \
176             ripemd                                                      \
177             sha                                                         \
178             sha512                                                      \
179             tree                                                        \
180             utf8                                                        \
181             xtea                                                        \
182
183 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
184
185 TOOLS = crypto_bench ffhash ffeval ffescape
186
187 tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
188 tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
189
190 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2