From 837da93f19376bd61a478b6cda11868415241703 Mon Sep 17 00:00:00 2001 From: Stefan Gartner Date: Wed, 14 Apr 2004 13:00:36 +0000 Subject: enable openal support for os x and linux-powerpc as there is a conflict between openal and sdl (when compiled with cdrom support), i had to disable support for cd playing using sdl on os x for the time being. --- source/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/Makefile') diff --git a/source/Makefile b/source/Makefile index 3fb82d4033e..20322946ab7 100644 --- a/source/Makefile +++ b/source/Makefile @@ -376,7 +376,7 @@ ifeq ($(NAN_NO_OPENAL), true) NAN_SND_LIBS += $(SOUNDSYSTEM) else ifeq ($(OS),$(findstring $(OS), "freebsd linux windows")) - ifeq ($(CPU),i386) + ifeq ($(CPU),$(findstring $(CPU), "i386 powerpc")) ifeq ($(OS),freebsd) NAN_SND_LIBS = $(SOUNDSYSTEM) NAN_SND_LIBS += $(DUMMYSOUND) @@ -410,6 +410,8 @@ else ifeq ($(OS),darwin) NAN_SND_LIBS = $(SOUNDSYSTEM) NAN_SND_LIBS += $(DUMMYSOUND) + NAN_SND_LIBS += $(OPENALSOUND) + NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a NAN_SND_LIBS += $(SOUNDSYSTEM) else NAN_SND_LIBS = $(SOUNDSYSTEM) -- cgit v1.2.3