xref: /haiku/src/kits/midi/Jamfile (revision f290b766707b386d72e2eaadd35cc3d999405077)
1SubDir HAIKU_TOP src kits midi ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UsePrivateHeaders midi ;
6
7
8local architectureObject ;
9for architectureObject in [ MultiArchSubDirSetup ] {
10	on $(architectureObject) {
11		if ! [ FIsBuildFeatureEnabled fluidlite ] {
12			continue ;
13		}
14
15		UseBuildFeatureHeaders fluidlite ;
16		Includes [ FGristFiles MidiSynth.cpp MidiSynthFile.cpp
17			SoftSynth.cpp Synth.cpp ]
18			: [ BuildFeatureAttribute fluidlite : headers ] ;
19
20		SharedLibrary [ MultiArchDefaultGristFiles libmidi.so ] :
21			Midi.cpp
22			MidiGlue.cpp
23			MidiPort.cpp
24			MidiSettings.cpp
25			MidiStore.cpp
26			MidiSynth.cpp
27			MidiSynthFile.cpp
28			MidiText.cpp
29			Samples.cpp
30			SoftSynth.cpp
31			Synth.cpp
32			:
33			be
34			midi2
35			media
36			[ BuildFeatureAttribute libvorbis : library ]
37			[ BuildFeatureAttribute fluidlite : library ]
38			[ TargetLibsupc++ ]
39			;
40	}
41}
42