#
# Module dependencies
#
# Module is specified without extension.
# Toplevel (drivers) modules have prefix '|'.
#

%makefile group @if_sequencer
%makefile ignore_in linux/sound/core/seq
%makefile ignore_in linux/sound/core/seq/instr
%makefile header
%makefile line ifeq ($(subst m,y,$(CONFIG_SND_SEQUENCER)),y)
%makefile endheader
%makefile indent 2
%makefile footer
%makefile line endif
%makefile endfooter
%makefile endgroup @if_sequencer

%makefile group @if_sb16_csp
%makefile header
%makefile line ifeq ($(CONFIG_SND_SB16_CSP),y)
%makefile endheader
%makefile indent 2
%makefile footer
%makefile line endif
%makefile endfooter
%makefile endgroup @if_sb16_csp

%dir linux/sound/core
snd
snd-page-alloc
snd-rawmidi snd
snd-timer snd
snd-rtctimer snd-timer
snd-hwdep snd
snd-pcm snd-timer snd-page-alloc

%dir linux/sound/core/seq
snd-seq-device snd
snd-seq snd snd-timer snd-seq-device
snd-seq-midi-event snd-seq
snd-seq-midi snd-rawmidi snd-seq snd-seq-midi-event
snd-seq-midi-emul snd-seq
snd-seq-instr snd-seq
snd-seq-virmidi snd-rawmidi snd-seq snd-seq-midi-event

%dir linux/sound/core/seq/instr
snd-ainstr-fm snd-seq-instr
snd-ainstr-simple snd-seq-instr
snd-ainstr-gf1 snd-seq-instr
snd-ainstr-iw snd-seq-instr

%dir linux/sound/i2c
snd-i2c snd
snd-tea6330t snd-i2c
snd-cs8427 snd-i2c

%dir linux/sound/i2c/l3
snd-uda1341 snd

%dir linux/sound/synth
snd-util-mem snd

%dir linux/sound/synth/emux
snd-emux-synth @if_sequencer snd-seq-device snd-seq-midi-emul \
	       snd-seq-virmidi snd-util-mem

%dir linux/sound/drivers
|snd-dummy snd-pcm
|snd-virmidi snd-seq-virmidi
|snd-serial-u16550 snd-seq-midi 
|snd-mtpav snd-seq-midi

%dir linux/sound/drivers/mpu401
snd-mpu401-uart snd-seq-midi
|snd-mpu401 snd-mpu401-uart

%dir linux/sound/drivers/opl3
snd-opl3-lib snd-hwdep snd-timer
snd-opl3-synth @if_sequencer snd-opl3-lib snd-seq-device \
	       snd-seq-midi-emul snd-ainstr-fm

%dir linux/sound/isa/opl4
snd-opl4-lib snd-seq-device
snd-opl4-synth @if_sequencer snd-opl4-lib snd-seq-midi-emul

%dir linux/sound/drivers/vx
snd-vx-lib snd-pcm

%dir linux/sound/isa
|snd-als100 @pnponly snd-sb16-dsp snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-azt2320 @pnponly snd-cs4231-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-cmi8330 snd-ad1848-lib snd-sb16-dsp
|snd-dt019x @pnponly snd-sb16-dsp snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-es18xx snd-pcm snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-opl3sa2 snd-cs4231-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-sgalaxy snd-ad1848-lib
|snd-sscape snd-hwdep snd-mpu401-uart snd-cs4231-lib

%dir linux/sound/isa/ad1816a
snd-ad1816a-lib snd-pcm snd-timer
|snd-ad1816a @pnponly snd-ad1816a-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth

%dir linux/sound/isa/ad1848
snd-ad1848-lib snd-pcm
|snd-ad1848 snd-ad1848-lib

%dir linux/sound/isa/cs423x
snd-cs4231-lib snd-pcm snd-timer
|snd-cs4231 snd-cs4231-lib snd-mpu401-uart
snd-cs4236-lib snd-cs4231-lib
|snd-cs4232 snd-cs4231-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-cs4236 snd-cs4236-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-pc98-cs4232 snd-cs4231-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth

%dir linux/sound/isa/es1688
snd-es1688-lib snd-pcm
|snd-es1688 snd-es1688-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth

%dir linux/sound/isa/gus
snd-gus-lib snd-pcm snd-timer snd-seq-midi snd-seq-device
snd-gus-synth @if_sequencer snd-gus-lib snd-seq-midi-emul \
              snd-ainstr-iw snd-ainstr-gf1 snd-ainstr-simple
|snd-gusclassic snd-gus-lib snd-gus-synth
|snd-gusmax snd-gus-lib snd-gus-synth snd-cs4231-lib
|snd-gusextreme snd-gus-lib snd-gus-synth snd-es1688-lib \
	        snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-interwave snd-gus-lib snd-gus-synth snd-cs4231-lib
|snd-interwave-stb snd-gus-lib snd-gus-synth snd-cs4231-lib snd-tea6330t

%dir linux/sound/isa/opti9xx
|snd-opti92x-ad1848 snd-ad1848-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth snd-opl4-lib snd-opl4-synth
|snd-opti92x-cs4231 snd-cs4231-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth snd-opl4-lib snd-opl4-synth
|snd-opti93x snd-pcm snd-mpu401-uart snd-opl3-lib snd-opl3-synth

%dir linux/sound/isa/sb
snd-sb-common
snd-sb8-dsp snd-sb-common snd-pcm snd-seq-midi
|snd-sb8 snd-sb8-dsp snd-opl3-lib snd-opl3-synth
snd-sb16-dsp snd-sb-common snd-pcm
snd-sb16-csp @if_sb16_csp snd-sb-common snd-hwdep
|snd-sb16 snd-sb16-dsp snd-sb16-csp snd-mpu401-uart snd-opl3-lib snd-opl3-synth
snd-emu8000-synth @if_sequencer snd-emux-synth
|snd-sbawe snd-sb16-dsp snd-sb16-csp snd-mpu401-uart \
	   snd-opl3-lib snd-opl3-synth snd-emu8000-synth
|snd-es968 @pnponly snd-sb8-dsp

%dir linux/sound/isa/wavefront
#snd-wavefront-fx snd-hwdep
#snd-wavefront-synth snd-hwdep snd-seq-midi
#|snd-wavefront snd-cs4231-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth \
#	       snd-wavefront-synth snd-wavefront-fx
|snd-wavefront snd-cs4231-lib snd-mpu401-uart snd-opl3-lib snd-opl3-synth \
	       snd-hwdep snd-seq-midi

%dir linux/sound/pci
|snd-als4000 snd-sb-common snd-pcm snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-azt3328 snd-pcm snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-cmipci snd-pcm snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-cs4281 snd-pcm snd-ac97-codec snd-seq-midi snd-opl3-lib snd-opl3-synth
|snd-ens1370 snd-pcm snd-ak4531-codec snd-seq-midi
|snd-ens1371 snd-pcm snd-ac97-codec snd-seq-midi
|snd-es1938 snd-pcm snd-opl3-lib snd-opl3-synth snd-mpu401-uart
|snd-es1968 snd-pcm snd-ac97-codec snd-mpu401-uart
|snd-fm801 snd-pcm snd-ac97-codec snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-intel8x0 snd-pcm snd-ac97-codec snd-mpu401-uart
|snd-maestro3 snd-pcm snd-ac97-codec
|snd-rme32 snd-pcm
|snd-rme96 snd-pcm
|snd-sonicvibes snd-pcm snd-mpu401-uart snd-opl3-lib snd-opl3-synth
|snd-via82xx snd-pcm snd-ac97-codec snd-mpu401-uart

%dir linux/sound/pci/ac97
snd-ac97-codec snd
snd-ak4531-codec snd

%dir linux/sound/pci/ali5451
|snd-ali5451 snd-ac97-codec snd-mpu401-uart snd-pcm

%dir linux/sound/pci/cs46xx
|snd-cs46xx snd-pcm snd-ac97-codec snd-seq-midi

%dir linux/sound/pci/emu10k1
|snd-emu10k1 snd-pcm snd-ac97-codec snd-seq-midi snd-util-mem snd-hwdep \
	     snd-emu10k1-synth
snd-emu10k1-synth @if_sequencer snd-emux-synth

%dir linux/sound/pci/ice1712
|snd-ice1712 snd-pcm snd-cs8427 snd-ac97-codec snd-mpu401-uart
|snd-ice1724 snd-pcm snd-ac97-codec snd-mpu401-uart

%dir linux/sound/pci/korg1212
|snd-korg1212 snd-pcm

%dir linux/sound/pci/nm256
|snd-nm256 snd-pcm snd-ac97-codec

%dir linux/sound/pci/rme9652
|snd-rme9652 snd-pcm
|snd-hdsp snd-pcm snd-mpu401-uart

%dir linux/sound/pci/trident
snd-trident-synth @if_sequencer snd-seq-midi-emul snd-ainstr-simple
|snd-trident snd-pcm snd-ac97-codec snd-mpu401-uart snd-util-mem snd-trident-synth

%dir linux/sound/pci/vx222
|snd-vx222 snd-vx-lib

%dir linux/sound/pci/ymfpci
|snd-ymfpci snd-pcm snd-ac97-codec snd-mpu401-uart snd-opl3-lib snd-opl3-synth

%dir linux/sound/ppc
|snd-powermac snd-pcm

%dir linux/sound/arm
|snd-sa11xx-uda1341 snd-uda1341 snd-pcm

%dir linux/sound/usb
|snd-usb-audio snd-pcm snd-seq-midi

%dir linux/sound/parisc
|snd-harmony snd-pcm

%dir linux/sound/pcmcia/vx
|snd-vxpocket snd-vx-lib
|snd-vxp440 snd-vx-lib
