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