]> git.sesse.net Git - ffmpeg/blob - libavutil/Makefile
Merge commit 'a7a17e3f1915ce69b787dc58c5d8dba0910fc0a4'
[ffmpeg] / 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        lls1.o                                                           \
106        lls2.o                                                           \
107        log.o                                                            \
108        log2_tab.o                                                       \
109        mathematics.o                                                    \
110        md5.o                                                            \
111        mem.o                                                            \
112        murmur3.o                                                        \
113        dict.o                                                           \
114        opt.o                                                            \
115        parseutils.o                                                     \
116        pixdesc.o                                                        \
117        pixelutils.o                                                     \
118        random_seed.o                                                    \
119        rational.o                                                       \
120        rc4.o                                                            \
121        ripemd.o                                                         \
122        samplefmt.o                                                      \
123        sha.o                                                            \
124        sha512.o                                                         \
125        stereo3d.o                                                       \
126        threadmessage.o                                                  \
127        time.o                                                           \
128        timecode.o                                                       \
129        tree.o                                                           \
130        utils.o                                                          \
131        xga_font_data.o                                                  \
132        xtea.o                                                           \
133
134 OBJS-$(CONFIG_LZO)                      += lzo.o
135 OBJS-$(CONFIG_OPENCL)                   += opencl.o opencl_internal.o
136
137 OBJS += $(COMPAT_OBJS:%=../compat/%)
138
139 # Windows resource file
140 SLIBOBJS-$(HAVE_GNU_WINDRES)            += avutilres.o
141
142 SKIPHEADERS          = old_pix_fmts.h
143
144 SKIPHEADERS-$(HAVE_ATOMICS_GCC)        += atomic_gcc.h
145 SKIPHEADERS-$(HAVE_ATOMICS_SUNCC)      += atomic_suncc.h
146 SKIPHEADERS-$(HAVE_ATOMICS_WIN32)      += atomic_win32.h
147 SKIPHEADERS-$(CONFIG_OPENCL)           += opencl.h
148
149 TESTPROGS = adler32                                                     \
150             aes                                                         \
151             atomic                                                      \
152             avstring                                                    \
153             base64                                                      \
154             blowfish                                                    \
155             bprint                                                      \
156             cpu                                                         \
157             crc                                                         \
158             des                                                         \
159             error                                                       \
160             eval                                                        \
161             file                                                        \
162             fifo                                                        \
163             float_dsp                                                   \
164             hmac                                                        \
165             lfg                                                         \
166             lls1                                                        \
167             lls2                                                        \
168             log                                                         \
169             md5                                                         \
170             murmur3                                                     \
171             opt                                                         \
172             pca                                                         \
173             parseutils                                                  \
174             pixdesc                                                     \
175             pixelutils                                                  \
176             random_seed                                                 \
177             rational                                                    \
178             ripemd                                                      \
179             sha                                                         \
180             sha512                                                      \
181             tree                                                        \
182             utf8                                                        \
183             xtea                                                        \
184
185 TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
186
187 TOOLS = crypto_bench ffhash ffeval ffescape
188
189 tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
190 tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
191
192 $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2