xref: /haiku/src/kits/midi/Jamfile (revision a3e794ae459fec76826407f8ba8c94cd3535f128)
1SubDir HAIKU_TOP src kits midi ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5if $(TARGET_PLATFORM) != haiku {
6	UseHeaders [ FDirName $(HAIKU_TOP) headers os midi ] : true ;
7	UseHeaders [ FDirName $(HAIKU_TOP) headers os midi2 ] : true ;
8	UseHeaders [ FDirName $(HAIKU_TOP) headers os ] : true ;
9}
10
11UsePrivateHeaders midi ;
12UseLibraryHeaders fluidsynth ;
13
14local architectureObject ;
15for architectureObject in [ MultiArchSubDirSetup ] {
16	on $(architectureObject) {
17		SharedLibrary [ MultiArchDefaultGristFiles libmidi.so ] :
18			Midi.cpp
19			MidiGlue.cpp
20			MidiPort.cpp
21			MidiSettings.cpp
22			MidiStore.cpp
23			MidiSynth.cpp
24			MidiSynthFile.cpp
25			MidiText.cpp
26			Samples.cpp
27			SoftSynth.cpp
28			Synth.cpp
29			:
30			be
31			midi2
32			media
33			[ MultiArchDefaultGristFiles libfluidsynth.so ]
34			[ TargetLibsupc++ ]
35			;
36	}
37}
38