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