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