849d8284c5
Current Makefile system allows using foo.o-cflags variables to store object-specific CFLAGS. Convert some usages of old syntax (using QEMU_CFLAGS += construct) to the new syntax. Do not touch multifile modules for now, as build system isn't ready for this. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
18 lines
706 B
Makefile
18 lines
706 B
Makefile
common-obj-y = audio.o noaudio.o wavaudio.o mixeng.o
|
|
common-obj-$(CONFIG_SDL) += sdlaudio.o
|
|
common-obj-$(CONFIG_OSS) += ossaudio.o
|
|
common-obj-$(CONFIG_SPICE) += spiceaudio.o
|
|
common-obj-$(CONFIG_COREAUDIO) += coreaudio.o
|
|
common-obj-$(CONFIG_ALSA) += alsaaudio.o
|
|
common-obj-$(CONFIG_DSOUND) += dsoundaudio.o
|
|
common-obj-$(CONFIG_FMOD) += fmodaudio.o
|
|
common-obj-$(CONFIG_ESD) += esdaudio.o
|
|
common-obj-$(CONFIG_PA) += paaudio.o
|
|
common-obj-$(CONFIG_WINWAVE) += winwaveaudio.o
|
|
common-obj-$(CONFIG_AUDIO_PT_INT) += audio_pt_int.o
|
|
common-obj-$(CONFIG_AUDIO_WIN_INT) += audio_win_int.o
|
|
common-obj-y += wavcapture.o
|
|
|
|
$(obj)/audio.o $(obj)/fmodaudio.o: QEMU_CFLAGS += $(FMOD_CFLAGS)
|
|
sdlaudio.o-cflags := $(SDL_CFLAGS)
|