x86: allow TSC clock source on AMD Fam10h and some cleanup
[wrt350n-kernel.git] / sound / core / seq / Makefile
blobceef14afee3002dda5f6b7eff7ea076a41011a53
2 # Makefile for ALSA
3 # Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>
6 obj-$(CONFIG_SND) += instr/
7 ifeq ($(CONFIG_SND_SEQUENCER_OSS),y)
8 obj-$(CONFIG_SND_SEQUENCER) += oss/
9 endif
11 snd-seq-device-objs := seq_device.o
12 snd-seq-objs := seq.o seq_lock.o seq_clientmgr.o seq_memory.o seq_queue.o \
13 seq_fifo.o seq_prioq.o seq_timer.o \
14 seq_system.o seq_ports.o seq_info.o
15 snd-seq-midi-objs := seq_midi.o
16 snd-seq-midi-emul-objs := seq_midi_emul.o
17 snd-seq-midi-event-objs := seq_midi_event.o
18 snd-seq-instr-objs := seq_instr.o
19 snd-seq-dummy-objs := seq_dummy.o
20 snd-seq-virmidi-objs := seq_virmidi.o
23 # this function returns:
24 # "m" - CONFIG_SND_SEQUENCER is m
25 # <empty string> - CONFIG_SND_SEQUENCER is undefined
26 # otherwise parameter #1 value
28 sequencer = $(if $(subst y,,$(CONFIG_SND_SEQUENCER)),$(if $(1),m),$(if $(CONFIG_SND_SEQUENCER),$(1)))
30 obj-$(CONFIG_SND_SEQUENCER) += snd-seq.o snd-seq-device.o
31 ifeq ($(CONFIG_SND_SEQUENCER_OSS),y)
32 obj-$(CONFIG_SND_SEQUENCER) += snd-seq-midi-event.o
33 endif
34 obj-$(CONFIG_SND_SEQ_DUMMY) += snd-seq-dummy.o
36 # Toplevel Module Dependency
37 obj-$(CONFIG_SND_VIRMIDI) += snd-seq-virmidi.o snd-seq-midi-event.o
38 obj-$(call sequencer,$(CONFIG_SND_RAWMIDI)) += snd-seq-midi.o snd-seq-midi-event.o
39 obj-$(call sequencer,$(CONFIG_SND_OPL3_LIB)) += snd-seq-midi-event.o snd-seq-midi-emul.o snd-seq-instr.o
40 obj-$(call sequencer,$(CONFIG_SND_OPL4_LIB)) += snd-seq-midi-event.o snd-seq-midi-emul.o snd-seq-instr.o
41 obj-$(call sequencer,$(CONFIG_SND_GUS_SYNTH)) += snd-seq-midi-emul.o snd-seq-instr.o
42 obj-$(call sequencer,$(CONFIG_SND_SBAWE)) += snd-seq-midi-emul.o snd-seq-virmidi.o
43 obj-$(call sequencer,$(CONFIG_SND_EMU10K1)) += snd-seq-midi-emul.o snd-seq-virmidi.o
44 obj-$(call sequencer,$(CONFIG_SND_TRIDENT)) += snd-seq-midi-emul.o snd-seq-instr.o