/[svn]/linuxsampler/trunk/src/drivers/midi/Makefile.am
ViewVC logotype

Contents of /linuxsampler/trunk/src/drivers/midi/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1748 - (show annotations) (download)
Sun Jun 22 14:46:46 2008 UTC (11 years, 7 months ago) by persson
File size: 1689 byte(s)
* bugfix: notes triggered at position 0 in the audio buffer were
  sometimes wrongly killed in the same buffer, causing no sound to be
  played
* fixes for audio drivers with varying buffer sizes
* Makefile fix: JACK_CFLAGS wasn't used
* JACK driver: use jack_client_open instead of the deprecated
  jack_client_new

1 METASOURCES = AUTO
2
3 AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH)
4
5 if HAVE_ALSA
6 alsa_src = MidiInputDeviceAlsa.cpp MidiInputDeviceAlsa.h
7 alsa_ladd = -lasound
8 else
9 alsa_src =
10 alsa_ladd =
11 endif
12
13 if HAVE_MIDISHARE
14 midishare_src = MidiInputDeviceMidiShare.cpp MidiInputDeviceMidiShare.h
15 midishare_ladd = -lMidiShare
16 else
17 midishare_src =
18 midishare_ladd =
19 endif
20
21 if HAVE_COREMIDI
22 coremidi_src = MidiInputDeviceCoreMidi.cpp MidiInputDeviceCoreMidi.h
23 coremidi_ldflags = -framework CoreMIDI
24 else
25 coremidi_src =
26 coremidi_ldflags =
27 endif
28
29 if HAVE_MME_MIDI
30 mmemidi_src = MidiInputDeviceMme.cpp MidiInputDeviceMme.h
31 mmemidi_ladd = -lwinmm
32 else
33 mmemidi_src =
34 mmemidi_ladd =
35 endif
36
37 if HAVE_JACK_MIDI
38 jackmidi_src = MidiInputDeviceJack.cpp MidiInputDeviceJack.h
39 jackmidi_includes = $(JACK_CFLAGS)
40 else
41 jackmidi_src =
42 jackmidi_includes =
43 endif
44
45 liblinuxsamplermididriverincludedir = $(includedir)/linuxsampler/drivers/midi
46 liblinuxsamplermididriverinclude_HEADERS = \
47 midi.h \
48 MidiInputPort.h \
49 MidiInputDevice.h \
50 MidiInstrumentMapper.h \
51 VirtualMidiDevice.h
52
53 INCLUDES = $(all_includes) $(jackmidi_includes)
54
55 noinst_LTLIBRARIES = liblinuxsamplermididriver.la
56 liblinuxsamplermididriver_la_SOURCES = \
57 midi.h \
58 MidiInputDevice.cpp MidiInputDevice.h \
59 MidiInputDeviceFactory.cpp MidiInputDeviceFactory.h \
60 MidiInputPort.cpp MidiInputPort.h \
61 MidiInstrumentMapper.cpp MidiInstrumentMapper.h \
62 VirtualMidiDevice.cpp VirtualMidiDevice.h \
63 $(alsa_src) \
64 $(midishare_src)\
65 $(coremidi_src)\
66 $(mmemidi_src)\
67 $(jackmidi_src)
68
69 liblinuxsamplermididriver_la_LIBADD = $(alsa_ladd) $(midishare_ladd) $(mmemidi_ladd)
70 liblinuxsamplermididriver_la_LDFLAGS = $(coremidi_ldflags)

  ViewVC Help
Powered by ViewVC