/[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 1502 - (show annotations) (download)
Wed Nov 21 07:29:52 2007 UTC (12 years, 3 months ago) by senoner
File size: 1410 byte(s)
* win32 port, work in progress: added autoconf checks for Windows
 - win32 additions in linuxsampler.cpp

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

  ViewVC Help
Powered by ViewVC