blob: 764ac184b2232bd7e7810efc5c8f05a244263e07 [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
6snd-objs := sound.o init.o memory.o info.o control.o misc.o \
7 device.o wrappers.o
8ifeq ($(CONFIG_ISA),y)
9snd-objs += isadma.o
10endif
11ifeq ($(CONFIG_SND_OSSEMUL),y)
12snd-objs += sound_oss.o info_oss.o
13endif
14
15snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \
16 pcm_memory.o
17
18snd-page-alloc-objs := memalloc.o sgbuf.o
19
20snd-rawmidi-objs := rawmidi.o
21snd-timer-objs := timer.o
22snd-rtctimer-objs := rtctimer.o
23snd-hwdep-objs := hwdep.o
24
25obj-$(CONFIG_SND) += snd.o
26obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
27obj-$(CONFIG_SND_TIMER) += snd-timer.o
28obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o
29obj-$(CONFIG_SND_PCM) += snd-pcm.o snd-page-alloc.o
30obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o
31
32obj-$(CONFIG_SND_OSSEMUL) += oss/
33obj-$(CONFIG_SND_SEQUENCER) += seq/