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