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

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 =
jackmidi_la_SOURCES = $(jackmidibuildsources)

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