$OpenBSD: patch-src_Makefile_am,v 1.3 2013/03/29 12:37:43 sthen Exp $
--- src/Makefile.am.orig	Thu Aug 16 05:01:13 2012
+++ src/Makefile.am	Mon Mar 25 00:05:56 2013
@@ -40,6 +40,9 @@ if OSS_SUPPORT
 fluid_oss = drivers/fluid_oss.c
 endif
 
+if SNDIO_SUPPORT
+fluid_sndio = drivers/fluid_sndio.c
+endif
 
 # if LASH_SUPPORT || LADCCA_SUPPORT (Makefile supports OR?)
 if LASH_SUPPORT
@@ -68,6 +71,7 @@ EXTRA_DIST = fluid_dll.c \
     drivers/fluid_oss.c \
     drivers/fluid_portaudio.c \
     drivers/fluid_pulse.c \
+    drivers/fluid_sndio.c \
     drivers/fluid_sndmgr.c \
     drivers/fluid_winmidi.c \
     config_macos.h \
@@ -93,6 +97,7 @@ libfluidsynth_la_SOURCES = \
 	$(fluid_oss) \
 	$(fluid_portaudio) \
 	$(fluid_pulse) \
+	$(fluid_sndio) \
 	$(fluid_windows) \
 	$(fluid_dart) \
 	$(fluid_rtkit) \
@@ -181,7 +186,7 @@ INCLUDES = -I$(top_srcdir)/include \
 libfluidsynth_la_LIBADD = $(LIBFLUID_LIBS) $(LASH_LIBS) $(LADCCA_LIBS) \
   $(READLINE_LIBS) $(COREAUDIO_LIBS) $(COREMIDI_LIBS) $(JACK_LIBS) \
   $(ALSA_LIBS) $(PULSE_LIBS) $(PORTAUDIO_LIBS) $(DART_LIBS)  \
-  $(GLIB_LIBS) $(LIBSNDFILE_LIBS) $(DBUS_LIBS)
+  $(GLIB_LIBS) $(LIBSNDFILE_LIBS) $(DBUS_LIBS) $(SNDIO_LIBS)
 
 libfluidsynth_la_LDFLAGS = \
 	-version-info @LT_VERSION_INFO@ \
