Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/SoundSystem/Makefile')
-rw-r--r--intern/SoundSystem/Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/intern/SoundSystem/Makefile b/intern/SoundSystem/Makefile
index e8e95174c95..25f45e37060 100644
--- a/intern/SoundSystem/Makefile
+++ b/intern/SoundSystem/Makefile
@@ -39,20 +39,24 @@ DIR = $(OCGDIR)/$(SOURCEDIR)
DIRS = intern
DIRS += dummy
-ifeq ($(OS),windows)
- DIRS += fmod
- DIRS += openal
-endif
-#ifeq ($(OS),darwin)
-# DIRS += fmod
-#endif
-ifeq ($(OS),freebsd)
+ifneq ($(NAN_NO_OPENAL),true)
+ ifeq ($(OS),windows)
+ DIRS += fmod
+ DIRS += openal
+ endif
+ #ifeq ($(OS),darwin)
+ # DIRS += fmod
+ #endif
+ ifeq ($(OS),freebsd)
DIRS += openal
-endif
-ifeq ($(OS),$(findstring $(OS), "linux"))
- ifeq ($(CPU),i386)
- DIRS += openal
endif
+ ifeq ($(OS),$(findstring $(OS), "linux"))
+ ifeq ($(CPU),i386)
+ DIRS += openal
+ endif
+ endif
+else
+ CPPFLAGS += -DNO_SOUND
endif
include nan_subdirs.mk