summaryrefslogtreecommitdiff
path: root/drumgizmo/input/jackmidi/Makefile.am
blob: d392f19373de784f11cceabfa6fb1050e150d8b0 (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

jackmidisources = \
	jackmidi.cc \
	$(top_srcdir)/src/midimapper.cc \
	$(top_srcdir)/src/midimapparser.cc \
	$(top_srcdir)/src/saxparser.cc \
	$(top_srcdir)/hugin/hugin.c

if HAVE_INPUT_JACKMIDI

jackmidiltlibs = jackmidi.la
jackmidibuildsources = $(jackmidisources)

else

jackmidiltlibs =
jackmidibuildsources =

endif

EXTRA_DIST = $(jackmidisources)

lib_LTLIBRARIES = $(jackmidiltlibs)

libdir = $(INPUT_PLUGIN_DIR)

AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/hugin
jackmidi_la_LDFLAGS = -module -avoid-version -shared
jackmidi_la_LIBADD = $(EXPAT_LIBS)
jackmidi_la_CXXFLAGS = $(EXPAT_CFLAGS)
jackmidi_la_SOURCES = $(jackmidibuildsources)

install-exec-hook:
	rm -f $(DESTDIR)$(libdir)/jackmidi.la