Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for ALSA |
| 3 | # Copyright (c) 1999,2001 by Jaroslav Kysela <perex@suse.cz> |
| 4 | # |
| 5 | |
Takashi Iwai | e38e0cf | 2005-10-10 11:59:52 +0200 | [diff] [blame] | 6 | snd-objs := sound.o init.o memory.o info.o control.o misc.o device.o |
Al Viro | 276bd31 | 2005-08-23 22:45:06 +0100 | [diff] [blame] | 7 | ifeq ($(CONFIG_ISA_DMA_API),y) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | snd-objs += isadma.o |
| 9 | endif |
| 10 | ifeq ($(CONFIG_SND_OSSEMUL),y) |
| 11 | snd-objs += sound_oss.o info_oss.o |
| 12 | endif |
| 13 | |
| 14 | snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \ |
| 15 | pcm_memory.o |
| 16 | |
Takashi Iwai | 8f11551 | 2007-07-26 18:59:36 +0200 | [diff] [blame^] | 17 | snd-page-alloc-y := memalloc.o |
| 18 | snd-page-alloc-$(CONFIG_HAS_DMA) += sgbuf.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
| 20 | snd-rawmidi-objs := rawmidi.o |
| 21 | snd-timer-objs := timer.o |
| 22 | snd-rtctimer-objs := rtctimer.o |
| 23 | snd-hwdep-objs := hwdep.o |
| 24 | |
| 25 | obj-$(CONFIG_SND) += snd.o |
| 26 | obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o |
| 27 | obj-$(CONFIG_SND_TIMER) += snd-timer.o |
| 28 | obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o |
| 29 | obj-$(CONFIG_SND_PCM) += snd-pcm.o snd-page-alloc.o |
| 30 | obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o |
| 31 | |
| 32 | obj-$(CONFIG_SND_OSSEMUL) += oss/ |
| 33 | obj-$(CONFIG_SND_SEQUENCER) += seq/ |