Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # Makefile for ALSA
  3. # Copyright (c) 1999,2001 by Jaroslav Kysela <perex@perex.cz>
  4. #
  5. snd-y := sound.o init.o memory.o control.o misc.o device.o
  6. ifneq ($(CONFIG_SND_PROC_FS),)
  7. snd-y += info.o
  8. snd-$(CONFIG_SND_OSSEMUL) += info_oss.o
  9. endif
  10. snd-$(CONFIG_ISA_DMA_API) += isadma.o
  11. snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o
  12. snd-$(CONFIG_SND_VMASTER) += vmaster.o
  13. snd-$(CONFIG_SND_JACK) += ctljack.o jack.o
  14. snd-pcm-y := pcm.o pcm_native.o pcm_lib.o pcm_misc.o \
  15. pcm_memory.o memalloc.o
  16. snd-pcm-$(CONFIG_SND_PCM_TIMER) += pcm_timer.o
  17. snd-pcm-$(CONFIG_SND_DMA_SGBUF) += sgbuf.o
  18. snd-pcm-$(CONFIG_SND_PCM_ELD) += pcm_drm_eld.o
  19. snd-pcm-$(CONFIG_SND_PCM_IEC958) += pcm_iec958.o
  20. # for trace-points
  21. CFLAGS_pcm_lib.o := -I$(src)
  22. snd-pcm-dmaengine-objs := pcm_dmaengine.o
  23. snd-rawmidi-objs := rawmidi.o
  24. snd-timer-objs := timer.o
  25. snd-hrtimer-objs := hrtimer.o
  26. snd-rtctimer-objs := rtctimer.o
  27. snd-hwdep-objs := hwdep.o
  28. snd-compress-objs := compress_offload.o
  29. obj-$(CONFIG_SND) += snd.o
  30. obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
  31. obj-$(CONFIG_SND_TIMER) += snd-timer.o
  32. obj-$(CONFIG_SND_HRTIMER) += snd-hrtimer.o
  33. obj-$(CONFIG_SND_PCM) += snd-pcm.o
  34. obj-$(CONFIG_SND_DMAENGINE_PCM) += snd-pcm-dmaengine.o
  35. obj-$(CONFIG_SND_RAWMIDI) += snd-rawmidi.o
  36. obj-$(CONFIG_SND_OSSEMUL) += oss/
  37. obj-$(CONFIG_SND_SEQUENCER) += seq/
  38. obj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o