summaryrefslogtreecommitdiff
path: root/drumgizmo/input/midifile/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/input/midifile/Makefile.am')
-rw-r--r--drumgizmo/input/midifile/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/drumgizmo/input/midifile/Makefile.am b/drumgizmo/input/midifile/Makefile.am
index da87f93..f95a289 100644
--- a/drumgizmo/input/midifile/Makefile.am
+++ b/drumgizmo/input/midifile/Makefile.am
@@ -9,7 +9,7 @@ midifilesources = \
if HAVE_INPUT_MIDIFILE
-midifileltlibs = libmidifile.la
+midifileltlibs = midifile.la
midifilebuildsources = $(midifilesources)
else
@@ -27,6 +27,9 @@ libdir = $(INPUT_PLUGIN_DIR)
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include $(SMF_CFLAGS) \
$(EXPAT_CFLAGS) -I$(top_srcdir)/hugin -DWITH_HUG_MUTEX
-libmidifile_la_LDFLAGS = $(SMF_LIBS) $(EXPAT_LIBS)
-libmidifile_la_LIBADD =
-libmidifile_la_SOURCES = $(midifilebuildsources)
+midifile_la_LDFLAGS = $(SMF_LIBS) $(EXPAT_LIBS) -module -avoid-version -shared
+midifile_la_LIBADD =
+midifile_la_SOURCES = $(midifilebuildsources)
+
+install-exec-hook:
+ rm -f $(DESTDIR)$(libdir)/midifile.la