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 |
Mark Brown | 0d94e41 | 2008-07-28 19:05:36 +0100 | [diff] [blame] | 10 | snd-$(CONFIG_SND_JACK) += jack.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
| 12 | snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \ |
| 13 | pcm_memory.o |
| 14 | |
Takashi Iwai | 8f11551 | 2007-07-26 18:59:36 +0200 | [diff] [blame] | 15 | snd-page-alloc-y := memalloc.o |
| 16 | snd-page-alloc-$(CONFIG_HAS_DMA) += sgbuf.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
| 18 | snd-rawmidi-objs := rawmidi.o |
| 19 | snd-timer-objs := timer.o |
| 20 | snd-rtctimer-objs := rtctimer.o |
| 21 | snd-hwdep-objs := hwdep.o |
| 22 | |
| 23 | obj-$(CONFIG_SND) += snd.o |
| 24 | obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o |
| 25 | obj-$(CONFIG_SND_TIMER) += snd-timer.o |
| 26 | obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o |
| 27 | obj-$(CONFIG_SND_PCM) += snd-pcm.o snd-page-alloc.o |
| 28 | obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o |
| 29 | |
| 30 | obj-$(CONFIG_SND_OSSEMUL) += oss/ |
| 31 | obj-$(CONFIG_SND_SEQUENCER) += seq/ |