blob: 9ade475174ee2c27258a188871e04d0d1d8dc705 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
midifilesources = \
midifile.cc \
$(top_srcdir)/src/midimapper.cc \
$(top_srcdir)/src/midimapparser.cc \
$(top_srcdir)/src/saxparser.cc \
$(top_srcdir)/hugin/hugin.c
if HAVE_INPUT_MIDIFILE
midifileltlibs = midifile.la
midifilebuildsources = $(midifilesources)
else
midifileltlibs =
midifilebuildsources =
endif
EXTRA_DIST = $(midifilesources)
lib_LTLIBRARIES = $(midifileltlibs)
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
midifile_la_LDFLAGS = -module -avoid-version -shared
midifile_la_LIBADD = $(EXPAT_LIBS) $(SMF_LIBS)
midifile_la_CXXFLAGS =$(EXPAT_CFLAGS)
midifile_la_SOURCES = $(midifilebuildsources)
install-exec-hook:
rm -f $(DESTDIR)$(libdir)/midifile.la
|