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_KCTL_JACK) += ctljack.o
11snd-$(CONFIG_SND_JACK)	  += jack.o
12
13snd-pcm-y := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \
14		pcm_memory.o memalloc.o
15snd-pcm-$(CONFIG_SND_DMA_SGBUF) += sgbuf.o
16
17# for trace-points
18CFLAGS_pcm_lib.o := -I$(src)
19
20snd-pcm-dmaengine-objs := pcm_dmaengine.o
21
22snd-rawmidi-objs  := rawmidi.o
23snd-timer-objs    := timer.o
24snd-hrtimer-objs  := hrtimer.o
25snd-rtctimer-objs := rtctimer.o
26snd-hwdep-objs    := hwdep.o
27
28snd-compress-objs := compress_offload.o
29
30obj-$(CONFIG_SND) 		+= snd.o
31obj-$(CONFIG_SND_HWDEP)		+= snd-hwdep.o
32obj-$(CONFIG_SND_TIMER)		+= snd-timer.o
33obj-$(CONFIG_SND_HRTIMER)	+= snd-hrtimer.o
34obj-$(CONFIG_SND_RTCTIMER)	+= snd-rtctimer.o
35obj-$(CONFIG_SND_PCM)		+= snd-pcm.o
36obj-$(CONFIG_SND_DMAENGINE_PCM)	+= snd-pcm-dmaengine.o
37obj-$(CONFIG_SND_RAWMIDI)	+= snd-rawmidi.o
38
39obj-$(CONFIG_SND_OSSEMUL)	+= oss/
40obj-$(CONFIG_SND_SEQUENCER)	+= seq/
41
42obj-$(CONFIG_SND_COMPRESS_OFFLOAD)	+= snd-compress.o
43