Linux-2.6.12-rc2
[linux-2.6/next.git] / sound / isa / gus / Makefile
blobbae5dbd6c8e5e1a70c9315f72e50273328f3abb8
2 # Makefile for ALSA
3 # Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
6 snd-gus-lib-objs := gus_main.o \
7 gus_io.o gus_irq.o gus_timer.o \
8 gus_mem.o gus_mem_proc.o gus_dram.o gus_dma.o gus_volume.o \
9 gus_pcm.o gus_mixer.o \
10 gus_uart.o \
11 gus_reset.o
12 snd-gus-synth-objs := gus_synth.o gus_sample.o gus_simple.o gus_instr.o
14 snd-gusclassic-objs := gusclassic.o
15 snd-gusextreme-objs := gusextreme.o
16 snd-gusmax-objs := gusmax.o
17 snd-interwave-objs := interwave.o
18 snd-interwave-stb-objs := interwave-stb.o
21 # this function returns:
22 # "m" - CONFIG_SND_SEQUENCER is m
23 # <empty string> - CONFIG_SND_SEQUENCER is undefined
24 # otherwise parameter #1 value
26 sequencer = $(if $(subst y,,$(CONFIG_SND_SEQUENCER)),$(if $(1),m),$(if $(CONFIG_SND_SEQUENCER),$(1)))
28 # Toplevel Module Dependency
29 obj-$(CONFIG_SND_GUSCLASSIC) += snd-gusclassic.o snd-gus-lib.o
30 obj-$(CONFIG_SND_GUSMAX) += snd-gusmax.o snd-gus-lib.o
31 obj-$(CONFIG_SND_GUSEXTREME) += snd-gusextreme.o snd-gus-lib.o
32 obj-$(CONFIG_SND_INTERWAVE) += snd-interwave.o snd-gus-lib.o
33 obj-$(CONFIG_SND_INTERWAVE_STB) += snd-interwave-stb.o snd-gus-lib.o
34 obj-$(call sequencer,$(CONFIG_SND_GUS_SYNTH)) += snd-gus-synth.o
36 obj-m := $(sort $(obj-m))