blob: 4daf2f58261ced168d2bd616bea7eeb1732e33e8 [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
Takashi Iwai35be5442011-11-02 08:36:06 +010010snd-$(CONFIG_SND_KCTL_JACK) += ctljack.o
Mark Brown0d94e412008-07-28 19:05:36 +010011snd-$(CONFIG_SND_JACK) += jack.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Takashi Iwai2d82ea22014-01-09 07:48:12 +010013snd-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
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
Takashi Iwaif5914902014-11-04 12:45:59 +010017# for trace-points
18CFLAGS_pcm_lib.o := -I$(src)
19
Daniel Mackb7ae6f32013-08-12 10:42:37 +020020snd-pcm-dmaengine-objs := pcm_dmaengine.o
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022snd-rawmidi-objs := rawmidi.o
23snd-timer-objs := timer.o
Takashi Iwaibbaf5e92008-10-24 18:16:50 +020024snd-hrtimer-objs := hrtimer.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070025snd-rtctimer-objs := rtctimer.o
26snd-hwdep-objs := hwdep.o
27
Vinod Koul40741dd2011-12-23 10:36:40 +053028snd-compress-objs := compress_offload.o
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030obj-$(CONFIG_SND) += snd.o
31obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
32obj-$(CONFIG_SND_TIMER) += snd-timer.o
Takashi Iwaibbaf5e92008-10-24 18:16:50 +020033obj-$(CONFIG_SND_HRTIMER) += snd-hrtimer.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070034obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o
Takashi Iwai2d82ea22014-01-09 07:48:12 +010035obj-$(CONFIG_SND_PCM) += snd-pcm.o
Daniel Mackb7ae6f32013-08-12 10:42:37 +020036obj-$(CONFIG_SND_DMAENGINE_PCM) += snd-pcm-dmaengine.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070037obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o
38
39obj-$(CONFIG_SND_OSSEMUL) += oss/
40obj-$(CONFIG_SND_SEQUENCER) += seq/
Vinod Koul40741dd2011-12-23 10:36:40 +053041
42obj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o