+##### Sound configuration #####
+
+ifndef DP_SOUND_API
+ DP_SOUND_API=$(DEFAULT_SNDAPI)
+endif
+
+# NULL: no sound
+ifeq ($(DP_SOUND_API), NULL)
+ OBJ_SOUND=$(OBJ_SND_NULL)
+ LIB_SOUND=$(LIB_SND_NULL)
+endif
+
+# OSS: Open Sound System
+ifeq ($(DP_SOUND_API), OSS)
+ OBJ_SOUND=$(OBJ_SND_OSS)
+ LIB_SOUND=$(LIB_SND_OSS)
+endif
+
+# ALSA: Advanced Linux Sound Architecture
+ifeq ($(DP_SOUND_API), ALSA)
+ OBJ_SOUND=$(OBJ_SND_ALSA)
+ LIB_SOUND=$(LIB_SND_ALSA)
+endif
+
+# COREAUDIO: Core Audio
+ifeq ($(DP_SOUND_API), COREAUDIO)
+ OBJ_SOUND=$(OBJ_SND_COREAUDIO)
+ LIB_SOUND=$(LIB_SND_COREAUDIO)
+endif
+
+# BSD: BSD / Sun audio API
+ifeq ($(DP_SOUND_API), BSD)
+ OBJ_SOUND=$(OBJ_SND_BSD)
+ LIB_SOUND=$(LIB_SND_BSD)
+endif
+
+# WIN: DirectX and Win32 WAVE output
+ifeq ($(DP_SOUND_API), WIN)
+ OBJ_SOUND=$(OBJ_SND_WIN)
+ LIB_SOUND=$(LIB_SND_WIN)
+endif
+
+