1# 2# Makefile for ALSA 3# Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz> 4# 5 6snd-y := sound.o init.o memory.o control.o misc.o device.o 7ifneq ($(CONFIG_SND_PROC_FS),) 8snd-y += info.o 9snd-$(CONFIG_SND_OSSEMUL) += info_oss.o 10endif 11snd-$(CONFIG_ISA_DMA_API) += isadma.o 12snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o 13snd-$(CONFIG_SND_VMASTER) += vmaster.o 14snd-$(CONFIG_SND_JACK) += ctljack.o jack.o 15 16snd-pcm-y := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \ 17 pcm_memory.o memalloc.o 18snd-pcm-$(CONFIG_SND_DMA_SGBUF) += sgbuf.o 19snd-pcm-$(CONFIG_SND_PCM_ELD) += pcm_drm_eld.o 20snd-pcm-$(CONFIG_SND_PCM_IEC958) += pcm_iec958.o 21 22# for trace-points 23CFLAGS_pcm_lib.o := -I$(src) 24 25snd-pcm-dmaengine-objs := pcm_dmaengine.o 26 27snd-rawmidi-objs := rawmidi.o 28snd-timer-objs := timer.o 29snd-hrtimer-objs := hrtimer.o 30snd-rtctimer-objs := rtctimer.o 31snd-hwdep-objs := hwdep.o 32 33snd-compress-objs := compress_offload.o 34 35obj-$(CONFIG_SND) += snd.o 36obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o 37obj-$(CONFIG_SND_TIMER) += snd-timer.o 38obj-$(CONFIG_SND_HRTIMER) += snd-hrtimer.o 39obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o 40obj-$(CONFIG_SND_PCM) += snd-pcm.o 41obj-$(CONFIG_SND_DMAENGINE_PCM) += snd-pcm-dmaengine.o 42obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o 43 44obj-$(CONFIG_SND_OSSEMUL) += oss/ 45obj-$(CONFIG_SND_SEQUENCER) += seq/ 46 47obj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o 48