summaryrefslogtreecommitdiff
path: root/plugins/dfsound/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfsound/Makefile.am')
-rw-r--r--plugins/dfsound/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/dfsound/Makefile.am b/plugins/dfsound/Makefile.am
index 54ee4315..b47d501b 100644
--- a/plugins/dfsound/Makefile.am
+++ b/plugins/dfsound/Makefile.am
@@ -34,6 +34,12 @@ libDFSound_la_CPPFLAGS += -DUSESDL=1 $(SDL_CFLAGS)
libDFSound_la_LIBADD += $(SDL_LIBS)
endif
+if SOUND_OPENAL
+libDFSound_la_SOURCES += openal.c
+libDFSound_la_CPPFLAGS += -DUSEOPENAL=1
+libDFSound_la_LIBADD += $(OPENAL_LIBS)
+endif
+
if SOUND_NULL
libDFSound_la_SOURCES += nullsnd.c
libDFSound_la_CPPFLAGS += -DUSENULL=1