blob: 5a01c76d02e8f0c90b7196c2588e2695a43e6bc8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for ALSA
3# Copyright (c) 1999,2001 by Jaroslav Kysela <perex@suse.cz>
4#
5
Takashi Iwaie38e0cf2005-10-10 11:59:52 +02006snd-objs := sound.o init.o memory.o info.o control.o misc.o device.o
Al Viro276bd312005-08-23 22:45:06 +01007ifeq ($(CONFIG_ISA_DMA_API),y)
Linus Torvalds1da177e2005-04-16 15:20:36 -07008snd-objs += isadma.o
9endif
10ifeq ($(CONFIG_SND_OSSEMUL),y)
11snd-objs += sound_oss.o info_oss.o
12endif
13
14snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \
15 pcm_memory.o
16
17snd-page-alloc-objs := memalloc.o sgbuf.o
18
19snd-rawmidi-objs := rawmidi.o
20snd-timer-objs := timer.o
21snd-rtctimer-objs := rtctimer.o
22snd-hwdep-objs := hwdep.o
23
24obj-$(CONFIG_SND) += snd.o
25obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
26obj-$(CONFIG_SND_TIMER) += snd-timer.o
27obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o
28obj-$(CONFIG_SND_PCM) += snd-pcm.o snd-page-alloc.o
29obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o
30
31obj-$(CONFIG_SND_OSSEMUL) += oss/
32obj-$(CONFIG_SND_SEQUENCER) += seq/