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