tests: Move all test programs to a subdirectory
[ffmpeg.git] / libavutil / Makefile
1 NAME = avutil
2
3 HEADERS = adler32.h                                                     \
4           aes.h                                                         \
5           attributes.h                                                  \
6           audio_fifo.h                                                  \
7           avassert.h                                                    \
8           avstring.h                                                    \
9           avutil.h                                                      \
10           base64.h                                                      \
11           blowfish.h                                                    \
12           bswap.h                                                       \
13           buffer.h                                                      \
14           channel_layout.h                                              \
15           common.h                                                      \
16           cpu.h                                                         \
17           crc.h                                                         \
18           dict.h                                                        \
19           display.h                                                     \
20           downmix_info.h                                                \
21           error.h                                                       \
22           eval.h                                                        \
23           fifo.h                                                        \
24           file.h                                                        \
25           frame.h                                                       \
26           hmac.h                                                        \
27           hwcontext.h                                                   \
28           hwcontext_cuda.h                                              \
29           hwcontext_vaapi.h                                             \
30           hwcontext_vdpau.h                                             \
31           imgutils.h                                                    \
32           intfloat.h                                                    \
33           intreadwrite.h                                                \
34           lfg.h                                                         \
35           log.h                                                         \
36           macros.h                                                      \
37           mathematics.h                                                 \
38           md5.h                                                         \
39           mem.h                                                         \
40           opt.h                                                         \
41           parseutils.h                                                  \
42           pixdesc.h                                                     \
43           pixfmt.h                                                      \
44           random_seed.h                                                 \
45           rational.h                                                    \
46           replaygain.h                                                  \
47           samplefmt.h                                                   \
48           sha.h                                                         \
49           stereo3d.h                                                    \
50           time.h                                                        \
51           version.h                                                     \
52           xtea.h                                                        \
53
54 HEADERS-$(CONFIG_LZO)                   += lzo.h
55
56 ARCH_HEADERS = bswap.h                                                  \
57                intmath.h                                                \
58                intreadwrite.h                                           \
59                timer.h                                                  \
60
61 BUILT_HEADERS = avconfig.h
62
63 OBJS = adler32.o                                                        \
64        aes.o                                                            \
65        atomic.o                                                         \
66        audio_fifo.o                                                     \
67        avstring.o                                                       \
68        base64.o                                                         \
69        blowfish.o                                                       \
70        buffer.o                                                         \
71        channel_layout.o                                                 \
72        cpu.o                                                            \
73        crc.o                                                            \
74        des.o                                                            \
75        dict.o                                                           \
76        display.o                                                        \
77        downmix_info.o                                                   \
78        error.o                                                          \
79        eval.o                                                           \
80        fifo.o                                                           \
81        file.o                                                           \
82        file_open.o                                                      \
83        float_dsp.o                                                      \
84        frame.o                                                          \
85        hmac.o                                                           \
86        hwcontext.o                                                      \
87        imgutils.o                                                       \
88        intmath.o                                                        \
89        lfg.o                                                            \
90        lls.o                                                            \
91        log.o                                                            \
92        log2_tab.o                                                       \
93        mathematics.o                                                    \
94        md5.o                                                            \
95        mem.o                                                            \
96        opt.o                                                            \
97        parseutils.o                                                     \
98        pixdesc.o                                                        \
99        random_seed.o                                                    \
100        rational.o                                                       \
101        rc4.o                                                            \
102        samplefmt.o                                                      \
103        sha.o                                                            \
104        stereo3d.o                                                       \
105        time.o                                                           \
106        tree.o                                                           \
107        utils.o                                                          \
108        xtea.o                                                           \
109
110 OBJS-$(CONFIG_CUDA)                     += hwcontext_cuda.o
111 OBJS-$(CONFIG_LZO)                      += lzo.o
112 OBJS-$(CONFIG_VAAPI)                    += hwcontext_vaapi.o
113 OBJS-$(CONFIG_VDPAU)                    += hwcontext_vdpau.o
114
115 OBJS += $(COMPAT_OBJS:%=../compat/%)
116
117 SKIPHEADERS-$(CONFIG_CUDA)             += hwcontext_cuda.h
118 SKIPHEADERS-$(CONFIG_VAAPI)            += hwcontext_vaapi.h
119 SKIPHEADERS-$(CONFIG_VDPAU)            += hwcontext_vdpau.h
120 SKIPHEADERS-$(HAVE_ATOMICS_GCC)        += atomic_gcc.h
121 SKIPHEADERS-$(HAVE_ATOMICS_SUNCC)      += atomic_suncc.h
122 SKIPHEADERS-$(HAVE_ATOMICS_WIN32)      += atomic_win32.h
123
124 TESTPROGS = adler32                                                     \
125             aes                                                         \
126             atomic                                                      \
127             avstring                                                    \
128             base64                                                      \
129             blowfish                                                    \
130             cpu                                                         \
131             crc                                                         \
132             des                                                         \
133             eval                                                        \
134             fifo                                                        \
135             float_dsp                                                   \
136             hmac                                                        \
137             lfg                                                         \
138             lls                                                         \
139             md5                                                         \
140             opt                                                         \
141             parseutils                                                  \
142             sha                                                         \
143             tree                                                        \
144             xtea                                                        \