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