# SPDX-License-Identifier: GPL-2.0 # # Makefile for ALSA # Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz> # snd-y := sound.o init.o memory.o control.o misc.o device.o ifneq ($([31mCONFIG_SND_PROC_FS[0m),) snd-y += info.o snd-$([31mCONFIG_SND_OSSEMUL[0m) += info_oss.o endif snd-$([31mCONFIG_ISA_DMA_API[0m) += isadma.o snd-$([31mCONFIG_SND_OSSEMUL[0m) += sound_oss.o snd-$([31mCONFIG_SND_VMASTER[0m) += vmaster.o snd-$([31mCONFIG_SND_JACK[0m) += ctljack.o jack.o snd-pcm-y := pcm.o pcm_native.o pcm_lib.o pcm_misc.o \ pcm_memory.o memalloc.o snd-pcm-$([31mCONFIG_SND_PCM_TIMER[0m) += pcm_timer.o snd-pcm-$([31mCONFIG_SND_DMA_SGBUF[0m) += sgbuf.o snd-pcm-$([31mCONFIG_SND_PCM_ELD[0m) += pcm_drm_eld.o snd-pcm-$([31mCONFIG_SND_PCM_IEC958[0m) += pcm_iec958.o # for trace-points CFLAGS_pcm_lib.o := -I$(src) CFLAGS_pcm_native.o := -I$(src) snd-pcm-dmaengine-objs := pcm_dmaengine.o snd-rawmidi-objs := rawmidi.o snd-timer-objs := timer.o snd-hrtimer-objs := hrtimer.o snd-rtctimer-objs := rtctimer.o snd-hwdep-objs := hwdep.o snd-seq-device-objs := seq_device.o snd-compress-objs := compress_offload.o obj-$([31mCONFIG_SND[0m) += snd.o obj-$([31mCONFIG_SND_HWDEP[0m) += snd-hwdep.o obj-$([31mCONFIG_SND_TIMER[0m) += snd-timer.o obj-$([31mCONFIG_SND_HRTIMER[0m) += snd-hrtimer.o obj-$([31mCONFIG_SND_PCM[0m) += snd-pcm.o obj-$([31mCONFIG_SND_DMAENGINE_PCM[0m) += snd-pcm-dmaengine.o obj-$([31mCONFIG_SND_SEQ_DEVICE[0m) += snd-seq-device.o obj-$([31mCONFIG_SND_RAWMIDI[0m) += snd-rawmidi.o obj-$([31mCONFIG_SND_OSSEMUL[0m) += oss/ obj-$([31mCONFIG_SND_SEQUENCER[0m) += seq/ obj-$([31mCONFIG_SND_COMPRESS_OFFLOAD[0m) += snd-compress.o |