[ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
[linux-2.6.git] / sound / isa / gus / Makefile
1 #
2 # Makefile for ALSA
3 # Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
4 #
5
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
13
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
19
20 #
21 # this function returns:
22 #   "m" - CONFIG_SND_SEQUENCER is m
23 #   <empty string> - CONFIG_SND_SEQUENCER is undefined
24 #   otherwise parameter #1 value
25 #
26 sequencer = $(if $(subst y,,$(CONFIG_SND_SEQUENCER)),$(if $(1),m),$(if $(CONFIG_SND_SEQUENCER),$(1)))
27
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
35
36 obj-m := $(sort $(obj-m))