1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for ALSA 4c1017a4cSJaroslav Kysela# Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz> 51da177e4SLinus Torvalds# 61da177e4SLinus Torvalds 785d14318STakashi Iwaisnd-y := sound.o init.o memory.o control.o misc.o device.o 8cd6a6503SJie Yangifneq ($(CONFIG_SND_PROC_FS),) 985d14318STakashi Iwaisnd-y += info.o 1085d14318STakashi Iwaisnd-$(CONFIG_SND_OSSEMUL) += info_oss.o 1185d14318STakashi Iwaiendif 1252a6db82STakashi Iwaisnd-$(CONFIG_ISA_DMA_API) += isadma.o 1385d14318STakashi Iwaisnd-$(CONFIG_SND_OSSEMUL) += sound_oss.o 14e922b002STakashi Iwaisnd-$(CONFIG_SND_VMASTER) += vmaster.o 159058cbe1SJie Yangsnd-$(CONFIG_SND_JACK) += ctljack.o jack.o 161da177e4SLinus Torvalds 1790bbaf66SJie Yangsnd-pcm-y := pcm.o pcm_native.o pcm_lib.o pcm_misc.o \ 182d82ea20STakashi Iwai pcm_memory.o memalloc.o 1990bbaf66SJie Yangsnd-pcm-$(CONFIG_SND_PCM_TIMER) += pcm_timer.o 20838d1631SRussell Kingsnd-pcm-$(CONFIG_SND_PCM_ELD) += pcm_drm_eld.o 219203dd01SRussell Kingsnd-pcm-$(CONFIG_SND_PCM_IEC958) += pcm_iec958.o 221da177e4SLinus Torvalds 23f5914908STakashi Iwai# for trace-points 24f5914908STakashi IwaiCFLAGS_pcm_lib.o := -I$(src) 25be4e31daSTakashi SakamotoCFLAGS_pcm_native.o := -I$(src) 26f5914908STakashi Iwai 27*3983f7b9STakashi Iwaisnd-pcm-dmaengine-y := pcm_dmaengine.o 28b7ae6f31SDaniel Mack 29*3983f7b9STakashi Iwaisnd-ctl-led-y := control_led.o 30*3983f7b9STakashi Iwaisnd-rawmidi-y := rawmidi.o 31*3983f7b9STakashi Iwaisnd-ump-y := ump.o 320b5288f5STakashi Iwaisnd-ump-$(CONFIG_SND_UMP_LEGACY_RAWMIDI) += ump_convert.o 33*3983f7b9STakashi Iwaisnd-timer-y := timer.o 34*3983f7b9STakashi Iwaisnd-hrtimer-y := hrtimer.o 35*3983f7b9STakashi Iwaisnd-hwdep-y := hwdep.o 36*3983f7b9STakashi Iwaisnd-seq-device-y := seq_device.o 371da177e4SLinus Torvalds 38*3983f7b9STakashi Iwaisnd-compress-y := compress_offload.o 3940741dd5SVinod Koul 401da177e4SLinus Torvaldsobj-$(CONFIG_SND) += snd.o 4122d8de62SJaroslav Kyselaobj-$(CONFIG_SND_CTL_LED) += snd-ctl-led.o 421da177e4SLinus Torvaldsobj-$(CONFIG_SND_HWDEP) += snd-hwdep.o 431da177e4SLinus Torvaldsobj-$(CONFIG_SND_TIMER) += snd-timer.o 44bbaf5e97STakashi Iwaiobj-$(CONFIG_SND_HRTIMER) += snd-hrtimer.o 452d82ea20STakashi Iwaiobj-$(CONFIG_SND_PCM) += snd-pcm.o 46b7ae6f31SDaniel Mackobj-$(CONFIG_SND_DMAENGINE_PCM) += snd-pcm-dmaengine.o 47111b0cdbSTakashi Iwaiobj-$(CONFIG_SND_SEQ_DEVICE) += snd-seq-device.o 481da177e4SLinus Torvaldsobj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o 49e3a8a5b7STakashi Iwaiobj-$(CONFIG_SND_UMP) += snd-ump.o 501da177e4SLinus Torvalds 513e39acf5SIvan Orlovobj-$(CONFIG_SND_CORE_TEST) += sound_kunit.o 523e39acf5SIvan Orlov 531da177e4SLinus Torvaldsobj-$(CONFIG_SND_OSSEMUL) += oss/ 541da177e4SLinus Torvaldsobj-$(CONFIG_SND_SEQUENCER) += seq/ 5540741dd5SVinod Koul 5640741dd5SVinod Koulobj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o 57