Removal of non-Haiku target platform logic from build system (part 1.)
[haiku.git] / src / kits / midi / Jamfile
blob07d5f685c72f0f33f86f833c255ff6de8ac20a94
1 SubDir HAIKU_TOP src kits midi ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
5 UsePrivateHeaders midi ;
8 local architectureObject ;
9 for architectureObject in [ MultiArchSubDirSetup ] {
10         on $(architectureObject) {
11                 if ! [ FIsBuildFeatureEnabled fluidlite ] {
12                         continue ;
13                 }
15                 UseBuildFeatureHeaders fluidlite ;
16                 Includes [ FGristFiles MidiSynth.cpp MidiSynthFile.cpp
17                         SoftSynth.cpp Synth.cpp ]
18                         : [ BuildFeatureAttribute fluidlite : headers ] ;
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         }