Update Makefiles for audaspace.
[blender.git] / intern / audaspace / intern / Makefile
index 2dcc7798f1c4195a74aa392383d7bfd1e4ab8841..a99f44c54d74daa0f6944c50857b485504bbc8ed 100644 (file)
@@ -35,6 +35,31 @@ include nan_compile.mk
 
 CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
 
+ifeq ($(WITH_SDL),true)
+       CPPFLAGS += -DWITH_SDL
+       CPPFLAGS += $(NAN_SDLCFLAGS)
+endif
+
+ifeq ($(WITH_OPENAL),true)
+       CPPFLAGS += -DWITH_OPENAL
+       CPPFLAGS += -I../OpenAL
+endif
+
+ifeq ($(WITH_JACK),true)
+       CPPFLAGS += -DWITH_JACK
+       CPPFLAGS += -I$(NAN_JACKCFLAGS)
+       CPPFLAGS += -I../jack
+endif
+
+ifeq ($(WITH_FFMPEG),true)
+       CPPFLAGS += -DWITH_FFMPEG
+       CPPFLAGS += $(NAN_FFMPEGCFLAGS)
+endif
+
+ifeq ($(WITH_SNDFILE),true)
+       CPPFLAGS += -DWITH_SNDFILE
+endif
+
 CPPFLAGS += -I$(LCGDIR)/samplerate/include/
 CPPFLAGS += -I../ffmpeg
 CPPFLAGS += -I../FX