1SubDir HAIKU_TOP src add-ons media media-add-ons dvb ; 2 3UsePrivateHeaders drivers ; 4 5SubDirC++Flags -D__STDC_CONSTANT_MACROS -Wno-deprecated-declarations ; 6 7local architectureObject ; 8for architectureObject in [ MultiArchSubDirSetup ] { 9 on $(architectureObject) { 10 UseBuildFeatureHeaders ffmpeg ; 11 Includes [ FGristFiles $(sources) ] 12 : [ BuildFeatureAttribute ffmpeg : headers ] ; 13 14 local ffmpegHeaders = [ BuildFeatureAttribute ffmpeg : headers : path ] ; 15 UseHeaders $(ffmpegHeaders) ; 16 UseHeaders [ FDirName $(ffmpegHeaders) libavcodec ] ; 17 UseHeaders [ FDirName $(ffmpegHeaders) libavformat ] ; 18 UseHeaders [ FDirName $(ffmpegHeaders) libavutil ] ; 19 20 Addon [ MultiArchDefaultGristFiles dvb.media_addon ] : 21 DVBCard.cpp 22 DVBMediaAddon.cpp 23 DVBMediaNode.cpp 24 MediaFormat.cpp 25 MediaStreamDecoder.cpp 26 Packet.cpp 27 PacketQueue.cpp 28 pes.cpp 29 TransportStreamDemux.cpp 30 : be media [ TargetLibsupc++ ] 31 ; 32 33 Includes [ FGristFiles MediaFormat.cpp ] 34 : [ BuildFeatureAttribute ffmpeg : headers ] ; 35 } 36} 37