summaryrefslogtreecommitdiff
path: root/libavutil/Makefile (plain)
blob: 15d95dec67d5888df2fbd04b00a1d3988132617a
1include $(SUBDIR)../config.mak
2
3NAME = avutil
4
5HEADERS = adler32.h \
6 aes.h \
7 aes_ctr.h \
8 attributes.h \
9 audio_fifo.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 des.h \
25 dict.h \
26 display.h \
27 downmix_info.h \
28 error.h \
29 eval.h \
30 fifo.h \
31 file.h \
32 frame.h \
33 hash.h \
34 hmac.h \
35 hwcontext.h \
36 hwcontext_cuda.h \
37 hwcontext_dxva2.h \
38 hwcontext_qsv.h \
39 hwcontext_vaapi.h \
40 hwcontext_vdpau.h \
41 imgutils.h \
42 intfloat.h \
43 intreadwrite.h \
44 lfg.h \
45 log.h \
46 macros.h \
47 mathematics.h \
48 mastering_display_metadata.h \
49 md5.h \
50 mem.h \
51 motion_vector.h \
52 murmur3.h \
53 opt.h \
54 parseutils.h \
55 pixdesc.h \
56 pixelutils.h \
57 pixfmt.h \
58 random_seed.h \
59 rc4.h \
60 rational.h \
61 replaygain.h \
62 ripemd.h \
63 samplefmt.h \
64 sha.h \
65 sha512.h \
66 spherical.h \
67 stereo3d.h \
68 threadmessage.h \
69 time.h \
70 timecode.h \
71 timestamp.h \
72 tree.h \
73 twofish.h \
74 version.h \
75 xtea.h \
76 tea.h \
77
78HEADERS-$(CONFIG_LZO) += lzo.h
79
80HEADERS-$(CONFIG_OPENCL) += opencl.h
81
82ARCH_HEADERS = bswap.h \
83 intmath.h \
84 intreadwrite.h \
85 timer.h \
86
87BUILT_HEADERS = avconfig.h \
88 ffversion.h
89
90OBJS = adler32.o \
91 aes.o \
92 aes_ctr.o \
93 audio_fifo.o \
94 avstring.o \
95 base64.o \
96 blowfish.o \
97 bprint.o \
98 buffer.o \
99 cast5.o \
100 camellia.o \
101 channel_layout.o \
102 color_utils.o \
103 cpu.o \
104 crc.o \
105 des.o \
106 dict.o \
107 display.o \
108 downmix_info.o \
109 error.o \
110 eval.o \
111 fifo.o \
112 file.o \
113 file_open.o \
114 float_dsp.o \
115 fixed_dsp.o \
116 frame.o \
117 hash.o \
118 hmac.o \
119 hwcontext.o \
120 imgutils.o \
121 integer.o \
122 intmath.o \
123 lfg.o \
124 lls.o \
125 log.o \
126 log2_tab.o \
127 mathematics.o \
128 mastering_display_metadata.o \
129 md5.o \
130 mem.o \
131 murmur3.o \
132 opt.o \
133 parseutils.o \
134 pixdesc.o \
135 pixelutils.o \
136 random_seed.o \
137 rational.o \
138 reverse.o \
139 rc4.o \
140 ripemd.o \
141 samplefmt.o \
142 sha.o \
143 sha512.o \
144 spherical.o \
145 stereo3d.o \
146 threadmessage.o \
147 time.o \
148 timecode.o \
149 tree.o \
150 twofish.o \
151 utils.o \
152 xga_font_data.o \
153 xtea.o \
154 tea.o \
155
156OBJS-$(!HAVE_ATOMICS_NATIVE) += atomic.o \
157
158OBJS-$(CONFIG_CUDA) += hwcontext_cuda.o
159OBJS-$(CONFIG_DXVA2) += hwcontext_dxva2.o
160OBJS-$(CONFIG_QSV) += hwcontext_qsv.o
161OBJS-$(CONFIG_LZO) += lzo.o
162OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o
163OBJS-$(CONFIG_VAAPI) += hwcontext_vaapi.o
164OBJS-$(CONFIG_VDPAU) += hwcontext_vdpau.o
165
166OBJS += $(COMPAT_OBJS:%=../compat/%)
167
168# Windows resource file
169SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
170
171SKIPHEADERS-$(HAVE_CUDA_H) += hwcontext_cuda.h
172SKIPHEADERS-$(CONFIG_CUDA) += hwcontext_cuda_internal.h
173SKIPHEADERS-$(CONFIG_DXVA2) += hwcontext_dxva2.h
174SKIPHEADERS-$(CONFIG_QSV) += hwcontext_qsv.h
175SKIPHEADERS-$(CONFIG_VAAPI) += hwcontext_vaapi.h
176SKIPHEADERS-$(CONFIG_VDPAU) += hwcontext_vdpau.h
177SKIPHEADERS-$(HAVE_ATOMICS_GCC) += atomic_gcc.h
178SKIPHEADERS-$(HAVE_ATOMICS_SUNCC) += atomic_suncc.h
179SKIPHEADERS-$(HAVE_ATOMICS_WIN32) += atomic_win32.h
180SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
181
182TESTPROGS = adler32 \
183 aes \
184 aes_ctr \
185 atomic \
186 audio_fifo \
187 avstring \
188 base64 \
189 blowfish \
190 bprint \
191 cast5 \
192 camellia \
193 color_utils \
194 cpu \
195 crc \
196 des \
197 dict \
198 display \
199 error \
200 eval \
201 file \
202 fifo \
203 float_dsp \
204 hash \
205 hmac \
206 imgutils \
207 lfg \
208 lls \
209 log \
210 md5 \
211 murmur3 \
212 opt \
213 pca \
214 parseutils \
215 pixdesc \
216 pixelutils \
217 random_seed \
218 rational \
219 ripemd \
220 sha \
221 sha512 \
222 softfloat \
223 tree \
224 twofish \
225 utf8 \
226 xtea \
227 tea \
228
229TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
230TESTPROGS-$(HAVE_THREADS) += cpu_init
231
232TOOLS = crypto_bench ffhash ffeval ffescape
233
234tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
235tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
236
237$(SUBDIR)tests/lzo$(EXESUF): ELIBS = -llzo2
238