Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for ALSA |
Jaroslav Kysela | c1017a4 | 2007-10-15 09:50:19 +0200 | [diff] [blame] | 3 | # Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | # |
| 5 | |
Takashi Iwai | 52a6db8 | 2007-07-26 19:10:47 +0200 | [diff] [blame] | 6 | snd-y := sound.o init.o memory.o info.o control.o misc.o device.o |
| 7 | snd-$(CONFIG_ISA_DMA_API) += isadma.o |
| 8 | snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o info_oss.o |
Takashi Iwai | e922b00 | 2008-02-18 13:03:13 +0100 | [diff] [blame] | 9 | snd-$(CONFIG_SND_VMASTER) += vmaster.o |
Jie Yang | 9058cbe | 2015-04-27 21:20:56 +0800 | [diff] [blame^] | 10 | snd-$(CONFIG_SND_JACK) += ctljack.o jack.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
Takashi Iwai | 2d82ea2 | 2014-01-09 07:48:12 +0100 | [diff] [blame] | 12 | snd-pcm-y := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \ |
| 13 | pcm_memory.o memalloc.o |
| 14 | snd-pcm-$(CONFIG_SND_DMA_SGBUF) += sgbuf.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
Takashi Iwai | f591490 | 2014-11-04 12:45:59 +0100 | [diff] [blame] | 16 | # for trace-points |
| 17 | CFLAGS_pcm_lib.o := -I$(src) |
| 18 | |
Daniel Mack | b7ae6f3 | 2013-08-12 10:42:37 +0200 | [diff] [blame] | 19 | snd-pcm-dmaengine-objs := pcm_dmaengine.o |
| 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | snd-rawmidi-objs := rawmidi.o |
| 22 | snd-timer-objs := timer.o |
Takashi Iwai | bbaf5e9 | 2008-10-24 18:16:50 +0200 | [diff] [blame] | 23 | snd-hrtimer-objs := hrtimer.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | snd-rtctimer-objs := rtctimer.o |
| 25 | snd-hwdep-objs := hwdep.o |
| 26 | |
Vinod Koul | 40741dd | 2011-12-23 10:36:40 +0530 | [diff] [blame] | 27 | snd-compress-objs := compress_offload.o |
| 28 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | obj-$(CONFIG_SND) += snd.o |
| 30 | obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o |
| 31 | obj-$(CONFIG_SND_TIMER) += snd-timer.o |
Takashi Iwai | bbaf5e9 | 2008-10-24 18:16:50 +0200 | [diff] [blame] | 32 | obj-$(CONFIG_SND_HRTIMER) += snd-hrtimer.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o |
Takashi Iwai | 2d82ea2 | 2014-01-09 07:48:12 +0100 | [diff] [blame] | 34 | obj-$(CONFIG_SND_PCM) += snd-pcm.o |
Daniel Mack | b7ae6f3 | 2013-08-12 10:42:37 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_SND_DMAENGINE_PCM) += snd-pcm-dmaengine.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o |
| 37 | |
| 38 | obj-$(CONFIG_SND_OSSEMUL) += oss/ |
| 39 | obj-$(CONFIG_SND_SEQUENCER) += seq/ |
Vinod Koul | 40741dd | 2011-12-23 10:36:40 +0530 | [diff] [blame] | 40 | |
| 41 | obj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o |