1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for ALSA 2 # Makefile for ALSA 4 # Copyright (c) 2001 by Jaroslav Kysela <perex@ !! 3 # Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz> 5 # 4 # 6 5 7 snd-gus-lib-y := gus_main.o \ !! 6 snd-gus-lib-objs := gus_main.o \ 8 gus_io.o gus_irq.o gus_tim 7 gus_io.o gus_irq.o gus_timer.o \ 9 gus_mem.o gus_mem_proc.o g 8 gus_mem.o gus_mem_proc.o gus_dram.o gus_dma.o gus_volume.o \ 10 gus_pcm.o gus_mixer.o \ 9 gus_pcm.o gus_mixer.o \ 11 gus_uart.o \ 10 gus_uart.o \ 12 gus_reset.o 11 gus_reset.o >> 12 snd-gus-synth-objs := gus_synth.o gus_sample.o gus_simple.o gus_instr.o 13 13 14 snd-gusclassic-y := gusclassic.o !! 14 snd-gusclassic-objs := gusclassic.o 15 snd-gusextreme-y := gusextreme.o !! 15 snd-gusextreme-objs := gusextreme.o 16 snd-gusmax-y := gusmax.o !! 16 snd-gusmax-objs := gusmax.o 17 snd-interwave-y := interwave.o !! 17 snd-interwave-objs := interwave.o 18 snd-interwave-stb-y := interwave-stb.o !! 18 snd-interwave-stb-objs := interwave-stb.o >> 19 >> 20 # >> 21 # this function returns: >> 22 # "m" - CONFIG_SND_SEQUENCER is m >> 23 # <empty string> - CONFIG_SND_SEQUENCER is undefined >> 24 # otherwise parameter #1 value >> 25 # >> 26 sequencer = $(if $(subst y,,$(CONFIG_SND_SEQUENCER)),$(if $(1),m),$(if $(CONFIG_SND_SEQUENCER),$(1))) 19 27 20 # Toplevel Module Dependency 28 # Toplevel Module Dependency 21 obj-$(CONFIG_SND_GUSCLASSIC) += snd-gusclassic 29 obj-$(CONFIG_SND_GUSCLASSIC) += snd-gusclassic.o snd-gus-lib.o >> 30 obj-$(call sequencer,$(CONFIG_SND_GUSCLASSIC)) += snd-gus-synth.o 22 obj-$(CONFIG_SND_GUSMAX) += snd-gusmax.o snd-g 31 obj-$(CONFIG_SND_GUSMAX) += snd-gusmax.o snd-gus-lib.o >> 32 obj-$(call sequencer,$(CONFIG_SND_GUSMAX)) += snd-gus-synth.o 23 obj-$(CONFIG_SND_GUSEXTREME) += snd-gusextreme 33 obj-$(CONFIG_SND_GUSEXTREME) += snd-gusextreme.o snd-gus-lib.o >> 34 obj-$(call sequencer,$(CONFIG_SND_GUSEXTREME)) += snd-gus-synth.o 24 obj-$(CONFIG_SND_INTERWAVE) += snd-interwave.o 35 obj-$(CONFIG_SND_INTERWAVE) += snd-interwave.o snd-gus-lib.o >> 36 obj-$(call sequencer,$(CONFIG_SND_INTERWAVE)) += snd-gus-synth.o 25 obj-$(CONFIG_SND_INTERWAVE_STB) += snd-interwa 37 obj-$(CONFIG_SND_INTERWAVE_STB) += snd-interwave-stb.o snd-gus-lib.o >> 38 obj-$(call sequencer,$(CONFIG_SND_INTERWAVE_STB)) += snd-gus-synth.o >> 39 >> 40 obj-m := $(sort $(obj-m))
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.