1*1da177e4SLinus Torvalds# 2*1da177e4SLinus Torvalds# Makefile for ALSA 3*1da177e4SLinus Torvalds# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz> 4*1da177e4SLinus Torvalds# 5*1da177e4SLinus Torvalds 6*1da177e4SLinus Torvaldssnd-emux-synth-objs := emux.o emux_synth.o emux_seq.o emux_nrpn.o \ 7*1da177e4SLinus Torvalds emux_effect.o emux_proc.o emux_hwdep.o soundfont.o \ 8*1da177e4SLinus Torvalds $(if $(CONFIG_SND_SEQUENCER_OSS),emux_oss.o) 9*1da177e4SLinus Torvalds 10*1da177e4SLinus Torvalds# 11*1da177e4SLinus Torvalds# this function returns: 12*1da177e4SLinus Torvalds# "m" - CONFIG_SND_SEQUENCER is m 13*1da177e4SLinus Torvalds# <empty string> - CONFIG_SND_SEQUENCER is undefined 14*1da177e4SLinus Torvalds# otherwise parameter #1 value 15*1da177e4SLinus Torvalds# 16*1da177e4SLinus Torvaldssequencer = $(if $(subst y,,$(CONFIG_SND_SEQUENCER)),$(if $(1),m),$(if $(CONFIG_SND_SEQUENCER),$(1))) 17*1da177e4SLinus Torvalds 18*1da177e4SLinus Torvalds# Toplevel Module Dependencies 19*1da177e4SLinus Torvaldsobj-$(call sequencer,$(CONFIG_SND_SBAWE)) += snd-emux-synth.o 20*1da177e4SLinus Torvaldsobj-$(call sequencer,$(CONFIG_SND_EMU10K1)) += snd-emux-synth.o 21