# Makefile for the Linux sound card driver
#

O_TARGET := alsa.o

_subdirs := core i2c drivers isa pci ppc arm synth usb pcmcia

//obj-$(CONFIG_SOUND) += soundcore.o
//obj-$(CONFIG_SOUND_PRIME) += oss/
//obj-$(CONFIG_DMASOUND) += oss/

subdir-$(CONFIG_SND) += $(_subdirs)

ifeq ($(CONFIG_SND),y)
  subdir-m += $(_subdirs)
  obj-y += core/_core.o 
  obj-y += i2c/_i2c.o
  obj-y += drivers/_drivers.o
  obj-y += isa/_isa.o
  obj-y += pci/_pci.o
  obj-y += arm/snd-sa11xx-uda1341.o
  obj-y += ppc/snd-powermac.o
  obj-y += synth/_synth.o
  obj-y += usb/_usb.o
  obj-y += pcmcia/_pcmcia.o
  obj-y += last.o
endif

//soundcore-objs  := sound_core.o sound_firmware.o

include $(TOPDIR)/Rules.make
