1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for ALSA
4# Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
5#
6
7snd-sb-common-objs := sb_common.o sb_mixer.o
8snd-sb8-dsp-objs := sb8_main.o sb8_midi.o
9snd-sb16-dsp-objs := sb16_main.o
10snd-sb16-csp-objs := sb16_csp.o
11snd-sb8-objs := sb8.o
12snd-sb16-objs := sb16.o
13snd-sbawe-objs := sbawe.o emu8000.o
14snd-emu8000-synth-objs := emu8000_synth.o emu8000_callback.o emu8000_patch.o emu8000_pcm.o
15snd-jazz16-objs := jazz16.o
16
17# Toplevel Module Dependency
18obj-$(CONFIG_SND_SB_COMMON) += snd-sb-common.o
19obj-$(CONFIG_SND_SB16_DSP) += snd-sb16-dsp.o
20obj-$(CONFIG_SND_SB8_DSP) += snd-sb8-dsp.o
21obj-$(CONFIG_SND_SB8) += snd-sb8.o
22obj-$(CONFIG_SND_SB16) += snd-sb16.o
23obj-$(CONFIG_SND_SBAWE) += snd-sbawe.o
24obj-$(CONFIG_SND_JAZZ16) += snd-jazz16.o
25ifeq ($(CONFIG_SND_SB16_CSP),y)
26  obj-$(CONFIG_SND_SB16) += snd-sb16-csp.o
27  obj-$(CONFIG_SND_SBAWE) += snd-sb16-csp.o
28endif
29obj-$(CONFIG_SND_SBAWE_SEQ) += snd-emu8000-synth.o
30