Makefile 679 B

1234567891011121314151617181920
  1. #
  2. # Makefile for ALSA
  3. # Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
  4. #
  5. snd-emux-synth-objs := emux.o emux_synth.o emux_seq.o emux_nrpn.o \
  6. emux_effect.o emux_proc.o emux_hwdep.o soundfont.o \
  7. $(if $(CONFIG_SND_SEQUENCER_OSS),emux_oss.o)
  8. #
  9. # this function returns:
  10. # "m" - CONFIG_SND_SEQUENCER is m
  11. # <empty string> - CONFIG_SND_SEQUENCER is undefined
  12. # otherwise parameter #1 value
  13. #
  14. sequencer = $(if $(subst y,,$(CONFIG_SND_SEQUENCER)),$(if $(1),m),$(if $(CONFIG_SND_SEQUENCER),$(1)))
  15. # Toplevel Module Dependencies
  16. obj-$(call sequencer,$(CONFIG_SND_SBAWE)) += snd-emux-synth.o
  17. obj-$(call sequencer,$(CONFIG_SND_EMU10K1)) += snd-emux-synth.o