Merge remote-tracking branch 'remotes/rth/tags/pull-pa-20200127' into staging
[qemu.git] / audio / Makefile.objs
1 common-obj-y = audio.o audio_legacy.o noaudio.o wavaudio.o mixeng.o
2 common-obj-$(CONFIG_SPICE) += spiceaudio.o
3 common-obj-$(CONFIG_AUDIO_COREAUDIO) += coreaudio.o
4 common-obj-$(CONFIG_AUDIO_DSOUND) += dsoundaudio.o
5 common-obj-$(CONFIG_AUDIO_WIN_INT) += audio_win_int.o
6 common-obj-y += wavcapture.o
7
8 coreaudio.o-libs := $(COREAUDIO_LIBS)
9 dsoundaudio.o-libs := $(DSOUND_LIBS)
10
11 # alsa module
12 common-obj-$(CONFIG_AUDIO_ALSA) += alsa.mo
13 alsa.mo-objs = alsaaudio.o
14 alsa.mo-libs := $(ALSA_LIBS)
15
16 # oss module
17 common-obj-$(CONFIG_AUDIO_OSS) += oss.mo
18 oss.mo-objs = ossaudio.o
19 oss.mo-libs := $(OSS_LIBS)
20
21 # pulseaudio module
22 common-obj-$(CONFIG_AUDIO_PA) += pa.mo
23 pa.mo-objs = paaudio.o
24 pa.mo-libs := $(PULSE_LIBS)
25
26 # sdl module
27 common-obj-$(CONFIG_AUDIO_SDL) += sdl.mo
28 sdl.mo-objs = sdlaudio.o
29 sdl.mo-cflags := $(SDL_CFLAGS)
30 sdl.mo-libs := $(SDL_LIBS)