# # Makefile for ALSA # Copyright (c) 2001 by Jaroslav Kysela # snd-au8810-objs := au8810.o au8810_core.o au8810_pcm.o au8810_mixer.o snd-au8820-objs := au8820.o au8820_core.o au8820_pcm.o au8820_mixer.o au8820_mpu401.o au8820_game.o snd-au8830-objs := au8830.o au8830_core.o au8830_pcm.o au8830_mixer.o au8830_mpu401.o au8830_game.o snd-au88x0-synth-objs := au88x0_synth.o # # this function returns: # "m" - CONFIG_SND_SEQUENCER is m # - CONFIG_SND_SEQUENCER is undefined # otherwise parameter #1 value # sequencer = $(if $(subst y,,$(CONFIG_SND_SEQUENCER)),$(if $(1),m),$(if $(CONFIG_SND_SEQUENCER),$(1))) # Toplevel Module Dependency obj-$(CONFIG_SND_AU8810) += snd-au8810.o obj-$(CONFIG_SND_AU8820) += snd-au8820.o obj-$(CONFIG_SND_AU8830) += snd-au8830.o obj-$(call sequencer,$(CONFIG_SND_AU8810)) += snd-au88x0-synth.o obj-$(call sequencer,$(CONFIG_SND_AU8820)) += snd-au88x0-synth.o obj-$(call sequencer,$(CONFIG_SND_AU8830)) += snd-au88x0-synth.o