162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# Makefile for ALSA 462306a36Sopenharmony_ci# Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz> 562306a36Sopenharmony_ci# 662306a36Sopenharmony_ci 762306a36Sopenharmony_cisnd-y := sound.o init.o memory.o control.o misc.o device.o 862306a36Sopenharmony_ciifneq ($(CONFIG_SND_PROC_FS),) 962306a36Sopenharmony_cisnd-y += info.o 1062306a36Sopenharmony_cisnd-$(CONFIG_SND_OSSEMUL) += info_oss.o 1162306a36Sopenharmony_ciendif 1262306a36Sopenharmony_cisnd-$(CONFIG_ISA_DMA_API) += isadma.o 1362306a36Sopenharmony_cisnd-$(CONFIG_SND_OSSEMUL) += sound_oss.o 1462306a36Sopenharmony_cisnd-$(CONFIG_SND_VMASTER) += vmaster.o 1562306a36Sopenharmony_cisnd-$(CONFIG_SND_JACK) += ctljack.o jack.o 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_cisnd-pcm-y := pcm.o pcm_native.o pcm_lib.o pcm_misc.o \ 1862306a36Sopenharmony_ci pcm_memory.o memalloc.o 1962306a36Sopenharmony_cisnd-pcm-$(CONFIG_SND_PCM_TIMER) += pcm_timer.o 2062306a36Sopenharmony_cisnd-pcm-$(CONFIG_SND_PCM_ELD) += pcm_drm_eld.o 2162306a36Sopenharmony_cisnd-pcm-$(CONFIG_SND_PCM_IEC958) += pcm_iec958.o 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci# for trace-points 2462306a36Sopenharmony_ciCFLAGS_pcm_lib.o := -I$(src) 2562306a36Sopenharmony_ciCFLAGS_pcm_native.o := -I$(src) 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_cisnd-pcm-dmaengine-objs := pcm_dmaengine.o 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_cisnd-ctl-led-objs := control_led.o 3062306a36Sopenharmony_cisnd-rawmidi-objs := rawmidi.o 3162306a36Sopenharmony_cisnd-ump-objs := ump.o 3262306a36Sopenharmony_cisnd-ump-$(CONFIG_SND_UMP_LEGACY_RAWMIDI) += ump_convert.o 3362306a36Sopenharmony_cisnd-timer-objs := timer.o 3462306a36Sopenharmony_cisnd-hrtimer-objs := hrtimer.o 3562306a36Sopenharmony_cisnd-hwdep-objs := hwdep.o 3662306a36Sopenharmony_cisnd-seq-device-objs := seq_device.o 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_cisnd-compress-objs := compress_offload.o 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ciobj-$(CONFIG_SND) += snd.o 4162306a36Sopenharmony_ciobj-$(CONFIG_SND_CTL_LED) += snd-ctl-led.o 4262306a36Sopenharmony_ciobj-$(CONFIG_SND_HWDEP) += snd-hwdep.o 4362306a36Sopenharmony_ciobj-$(CONFIG_SND_TIMER) += snd-timer.o 4462306a36Sopenharmony_ciobj-$(CONFIG_SND_HRTIMER) += snd-hrtimer.o 4562306a36Sopenharmony_ciobj-$(CONFIG_SND_PCM) += snd-pcm.o 4662306a36Sopenharmony_ciobj-$(CONFIG_SND_DMAENGINE_PCM) += snd-pcm-dmaengine.o 4762306a36Sopenharmony_ciobj-$(CONFIG_SND_SEQ_DEVICE) += snd-seq-device.o 4862306a36Sopenharmony_ciobj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o 4962306a36Sopenharmony_ciobj-$(CONFIG_SND_UMP) += snd-ump.o 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ciobj-$(CONFIG_SND_OSSEMUL) += oss/ 5262306a36Sopenharmony_ciobj-$(CONFIG_SND_SEQUENCER) += seq/ 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ciobj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o 55