rtc: rtc-omap footprint shrinkage
[linux-ginger.git] / sound / core / seq / Makefile
blob069593717fbab0c0deb733c52e883c5b6c638988
2 # Makefile for ALSA
3 # Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>
6 ifeq ($(CONFIG_SND_SEQUENCER_OSS),y)
7 obj-$(CONFIG_SND_SEQUENCER) += oss/
8 endif
10 snd-seq-device-objs := seq_device.o
11 snd-seq-objs := seq.o seq_lock.o seq_clientmgr.o seq_memory.o seq_queue.o \
12 seq_fifo.o seq_prioq.o seq_timer.o \
13 seq_system.o seq_ports.o seq_info.o
14 snd-seq-midi-objs := seq_midi.o
15 snd-seq-midi-emul-objs := seq_midi_emul.o
16 snd-seq-midi-event-objs := seq_midi_event.o
17 snd-seq-dummy-objs := seq_dummy.o
18 snd-seq-virmidi-objs := seq_virmidi.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 obj-$(CONFIG_SND_SEQUENCER) += snd-seq.o snd-seq-device.o
29 ifeq ($(CONFIG_SND_SEQUENCER_OSS),y)
30 obj-$(CONFIG_SND_SEQUENCER) += snd-seq-midi-event.o
31 endif
32 obj-$(CONFIG_SND_SEQ_DUMMY) += snd-seq-dummy.o
34 # Toplevel Module Dependency
35 obj-$(CONFIG_SND_VIRMIDI) += snd-seq-virmidi.o snd-seq-midi-event.o
36 obj-$(call sequencer,$(CONFIG_SND_RAWMIDI)) += snd-seq-midi.o snd-seq-midi-event.o
37 obj-$(call sequencer,$(CONFIG_SND_OPL3_LIB)) += snd-seq-midi-event.o snd-seq-midi-emul.o
38 obj-$(call sequencer,$(CONFIG_SND_OPL4_LIB)) += snd-seq-midi-event.o snd-seq-midi-emul.o
39 obj-$(call sequencer,$(CONFIG_SND_SBAWE)) += snd-seq-midi-emul.o snd-seq-virmidi.o
40 obj-$(call sequencer,$(CONFIG_SND_EMU10K1)) += snd-seq-midi-emul.o snd-seq-virmidi.o