xref: /openbmc/linux/sound/drivers/opl3/Makefile (revision 5c7587f6)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for ALSA
4# Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
5#
6
7snd-opl3-lib-objs := opl3_lib.o opl3_synth.o
8snd-opl3-synth-y := opl3_seq.o opl3_midi.o opl3_drums.o
9ifneq ($(CONFIG_SND_SEQUENCER_OSS),)
10snd-opl3-synth-y += opl3_oss.o
11endif
12
13obj-$(CONFIG_SND_OPL3_LIB) += snd-opl3-lib.o
14obj-$(CONFIG_SND_OPL4_LIB) += snd-opl3-lib.o
15obj-$(CONFIG_SND_OPL3_LIB_SEQ) += snd-opl3-synth.o
16