]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - Makefile.real
build: Construct mixer object list in Makefile.
[paraslash.git] / Makefile.real
index a261fa6f8aaff0d1580709f579cd29985b76b07e..b28619f19a3e65e4dc50d8c6d64d6d100f58e1c7 100644 (file)
@@ -129,6 +129,15 @@ ifneq ($(CRYPTOLIB),)
                audiod_objs += resample_filter.o check_wav.o
        endif
 endif
+ifneq ($(HAVE_OSS)-$(HAVE_ALSA),no-no)
+       mixer_objs := $(addsuffix .o, mixer exec string fd time lsu version)
+       ifeq ($(HAVE_OSS),yes)
+               mixer_objs += oss_mix.o
+       endif
+       ifeq ($(HAVE_ALSA),yes)
+               mixer_objs += alsa_mix.o
+       endif
+endif
 
 # sort removes duplicate words, which is all we need here
 all_objs := $(sort $(recv_objs) $(filter_objs) $(client_objs) $(gui_objs) \