1#
2# Makefile for ALSA
3# Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz>
4#
5
6snd-y     := sound.o init.o memory.o info.o control.o misc.o device.o
7snd-$(CONFIG_ISA_DMA_API) += isadma.o
8snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o info_oss.o
9snd-$(CONFIG_SND_VMASTER) += vmaster.o
10snd-$(CONFIG_SND_JACK)	  += jack.o
11
12snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \
13		pcm_memory.o
14
15snd-page-alloc-y := memalloc.o
16snd-page-alloc-$(CONFIG_SND_DMA_SGBUF) += sgbuf.o
17
18snd-rawmidi-objs  := rawmidi.o
19snd-timer-objs    := timer.o
20snd-hrtimer-objs  := hrtimer.o
21snd-rtctimer-objs := rtctimer.o
22snd-hwdep-objs    := hwdep.o
23
24obj-$(CONFIG_SND) 		+= snd.o
25obj-$(CONFIG_SND_HWDEP)		+= snd-hwdep.o
26obj-$(CONFIG_SND_TIMER)		+= snd-timer.o
27obj-$(CONFIG_SND_HRTIMER)	+= snd-hrtimer.o
28obj-$(CONFIG_SND_RTCTIMER)	+= snd-rtctimer.o
29obj-$(CONFIG_SND_PCM)		+= snd-pcm.o snd-page-alloc.o
30obj-$(CONFIG_SND_RAWMIDI)	+= snd-rawmidi.o
31
32obj-$(CONFIG_SND_OSSEMUL)	+= oss/
33obj-$(CONFIG_SND_SEQUENCER)	+= seq/
34