ape_reader: setup for hybrid build.

I forgot that media add-ons are hybrid by default. Fixes the build.
This commit is contained in:
Adrien Destugues 2014-12-10 11:00:49 +01:00
parent 1148ea734e
commit d18ae0336e
3 changed files with 51 additions and 36 deletions

View File

@ -1,16 +1,21 @@
SubDir HAIKU_TOP src add-ons media plugins ape_reader ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UsePrivateHeaders media ;
SubDirHdrs [ FDirName $(SUBDIR) ../LibMonkeysAudio ] ;
SubDirHdrs [ FDirName $(SUBDIR) LibMonkeysAudio ] ;
SubDirHdrs [ FDirName $(SUBDIR) MAClib ] ;
Addon ape_reader :
APEReader.cpp
: libMonkeysAudio.a MAClib.a be libmedia.so [ TargetLibsupc++ ]
;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
Addon [ MultiArchDefaultGristFiles ape_reader ] :
APEReader.cpp
: [ MultiArchDefaultGristFiles libMonkeysAudio.a MAClib.a ]
be media [ TargetLibsupc++ ]
;
}
}
SubInclude HAIKU_TOP src add-ons media plugins ape_reader LibMonkeysAudio ;
SubInclude HAIKU_TOP src add-ons media plugins ape_reader MAClib ;

View File

@ -2,7 +2,12 @@ SubDir HAIKU_TOP src add-ons media plugins ape_reader LibMonkeysAudio ;
SubDirHdrs [ FDirName $(SUBDIR) ../MAClib ] ;
StaticLibrary libMonkeysAudio.a :
PositionBridgeIO.cpp
LibMonkeysAudio.cpp
;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
StaticLibrary [ MultiArchDefaultGristFiles libMonkeysAudio.a ] :
PositionBridgeIO.cpp
LibMonkeysAudio.cpp
;
}
}

View File

@ -2,29 +2,34 @@ SubDir HAIKU_TOP src add-ons media plugins ape_reader MAClib ;
SubDirHdrs [ FDirName $(SUBDIR) ../LibMonkeysAudio ] ;
StaticLibrary MAClib.a :
APECompress.cpp
APECompressCore.cpp
APECompressCreate.cpp
APEDecompress.cpp
APEHeader.cpp
APEInfo.cpp
APELink.cpp
APESimple.cpp
APETag.cpp
BitArray.cpp
CharacterHelper.cpp
CircleBuffer.cpp
GlobalFunctions.cpp
MACProgressHelper.cpp
MACLib.cpp
MD5.cpp
NewPredictor.cpp
NNFilter.cpp
Prepare.cpp
StdLibFileIO.cpp
UnBitArray.cpp
UnBitArrayBase.cpp
WAVInputSource.cpp
Assembly.nasm
;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
StaticLibrary [ MultiArchDefaultGristFiles MAClib.a ] :
APECompress.cpp
APECompressCore.cpp
APECompressCreate.cpp
APEDecompress.cpp
APEHeader.cpp
APEInfo.cpp
APELink.cpp
APESimple.cpp
APETag.cpp
BitArray.cpp
CharacterHelper.cpp
CircleBuffer.cpp
GlobalFunctions.cpp
MACProgressHelper.cpp
MACLib.cpp
MD5.cpp
NewPredictor.cpp
NNFilter.cpp
Prepare.cpp
StdLibFileIO.cpp
UnBitArray.cpp
UnBitArrayBase.cpp
WAVInputSource.cpp
Assembly.nasm
;
}
}