blob: d57125a5687d1b28ed86cc1fe65d657ea94356eb [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for ALSA
Jaroslav Kyselac1017a42007-10-15 09:50:19 +02003# Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz>
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#
5
Takashi Iwai52a6db82007-07-26 19:10:47 +02006snd-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
Takashi Iwaie922b002008-02-18 13:03:13 +01009snd-$(CONFIG_SND_VMASTER) += vmaster.o
Mark Brown0d94e412008-07-28 19:05:36 +010010snd-$(CONFIG_SND_JACK) += jack.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \
13 pcm_memory.o
14
Takashi Iwai8f115512007-07-26 18:59:36 +020015snd-page-alloc-y := memalloc.o
16snd-page-alloc-$(CONFIG_HAS_DMA) += sgbuf.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18snd-rawmidi-objs := rawmidi.o
19snd-timer-objs := timer.o
20snd-rtctimer-objs := rtctimer.o
21snd-hwdep-objs := hwdep.o
22
23obj-$(CONFIG_SND) += snd.o
24obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
25obj-$(CONFIG_SND_TIMER) += snd-timer.o
26obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o
27obj-$(CONFIG_SND_PCM) += snd-pcm.o snd-page-alloc.o
28obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o
29
30obj-$(CONFIG_SND_OSSEMUL) += oss/
31obj-$(CONFIG_SND_SEQUENCER) += seq/