# Linux configuration
ifeq ($(DP_MAKE_TARGET), linux)
- DEFAULT_SNDAPI=$(DEFAULT_SNDAPI_LINUX)
+ DEFAULT_SNDAPI=ALSA
OBJ_CD=$(OBJ_LINUXCD)
OBJ_CL=$(OBJ_GLX)
# Mac OS X configuration
ifeq ($(DP_MAKE_TARGET), macosx)
- DEFAULT_SNDAPI=$(DEFAULT_SNDAPI_MACOSX)
+ DEFAULT_SNDAPI=COREAUDIO
OBJ_CD=$(OBJ_MACOSXCD)
OBJ_CL=$(OBJ_AGL)
# SunOS configuration (Solaris)
ifeq ($(DP_MAKE_TARGET), sunos)
- DEFAULT_SNDAPI=$(DEFAULT_SNDAPI_SUNOS)
+ DEFAULT_SNDAPI=OSS
OBJ_CD=$(OBJ_SUNOSCD)
OBJ_CL=$(OBJ_GLX)
# BSD configuration
ifeq ($(DP_MAKE_TARGET), bsd)
ifeq ($(DP_ARCH),FreeBSD)
- DEFAULT_SNDAPI=$(DEFAULT_SNDAPI_OSS)
+ DEFAULT_SNDAPI=OSS
else
- DEFAULT_SNDAPI=$(DEFAULT_SNDAPI_BSD)
+ DEFAULT_SNDAPI=BSD
endif
OBJ_CD=$(OBJ_BSDCD)
# Win32 configuration
ifeq ($(DP_MAKE_TARGET), mingw)
- DEFAULT_SNDAPI=$(DEFAULT_SNDAPI_WIN32)
+ DEFAULT_SNDAPI=WIN
OBJ_CD=$(OBJ_WINCD)
OBJ_CL=$(OBJ_WGL)
##### Linux specific variables #####
-DEFAULT_SNDAPI_LINUX=ALSA
-
# If you want CD sound in Linux
OBJ_LINUXCD=cd_linux.o
# If you want no CD audio
##### Mac OS X specific variables #####
-DEFAULT_SNDAPI_MACOSX=COREAUDIO
-
# If you want CD sound in Mac OS X
#OBJ_MACOSXCD=cd_macosx.o
# If you want no CD audio
##### SunOS specific variables #####
-DEFAULT_SNDAPI_SUNOS=OSS
-
# No CD support available
OBJ_SUNOSCD=$(OBJ_NOCD)
##### BSD specific variables #####
-DEFAULT_SNDAPI_BSD=BSD
-
#if you want CD sound in BSD
OBJ_BSDCD=cd_bsd.o
#if you want no CD audio
##### Win32 specific variables #####
-DEFAULT_SNDAPI_WIN32=WIN
-
#if you want CD sound in Win32
OBJ_WINCD=cd_win.o
#if you want no CD audio
@echo
debug :
- $(MAKE) sdl-debug cl-debug sv-debug \
- DP_MAKE_TARGET=$(DP_MAKE_TARGET) DP_SOUND_API=$(DP_SOUND_API)
+ $(MAKE) sv-debug cl-debug sdl-debug
profile :
- $(MAKE) sdl-profile cl-profile sv-profile \
- DP_MAKE_TARGET=$(DP_MAKE_TARGET) DP_SOUND_API=$(DP_SOUND_API)
+ $(MAKE) sv-profile cl-profile sdl-profile
release :
- $(MAKE) sdl-release cl-release sv-release \
- DP_MAKE_TARGET=$(DP_MAKE_TARGET) DP_SOUND_API=$(DP_SOUND_API)
+ $(MAKE) sv-release cl-release sdl-release
cl-debug :
$(MAKE) bin-debug \