Following recent changes to use libroot_build on Haiku also, it is now actually impossible to build Haiku components on non-Haiku platforms (BeOS R5, Dan0, BONE, Zeta), so we can remove any logic related to this. This is only the first part; still to be removed are: * SetSubDirSupportedPlatformsBeOSCompatible * HOST_PLATFORM_BEOS_COMPATIBLE * TARGET_PLATFORM_BEOS_COMPATIBLE
70 lines
1.7 KiB
Plaintext
70 lines
1.7 KiB
Plaintext
SubDir HAIKU_TOP src add-ons kernel drivers audio echo indigo ;
|
|
|
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
|
|
|
SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo ;
|
|
SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ;
|
|
SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic DSP ;
|
|
SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ASIC ;
|
|
|
|
UsePrivateSystemHeaders ;
|
|
UsePrivateHeaders kernel # For kernel_cpp.cpp
|
|
media ;
|
|
|
|
# set some additional defines
|
|
SubDirCcFlags -DECHO_BEOS -DINDIGO_FAMILY -DCARDBUS ;
|
|
SubDirC++Flags -DECHO_BEOS -DINDIGO_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE -DCARDBUS ;
|
|
|
|
local echo_files =
|
|
CChannelMask.cpp
|
|
CDaffyDuck.cpp
|
|
CDspCommObject.cpp
|
|
CDspCommObjectVmixer.cpp
|
|
CEchoGals.cpp
|
|
CEchoGals_info.cpp
|
|
CEchoGals_midi.cpp
|
|
CEchoGals_mixer.cpp
|
|
CEchoGals_power.cpp
|
|
CEchoGals_transport.cpp
|
|
CEchoGalsVmixer.cpp
|
|
CIndigo.cpp
|
|
CIndigoDspCommObject.cpp
|
|
CIndigoIO.cpp
|
|
CIndigoIODspCommObject.cpp
|
|
CIndigoDJ.cpp
|
|
CIndigoDJDspCommObject.cpp
|
|
CLineLevel.cpp
|
|
CMonitorCtrl.cpp
|
|
CPipeOutCtrl.cpp
|
|
;
|
|
|
|
KernelAddon echoindigo :
|
|
kernel_cpp.cpp
|
|
debug.c
|
|
echo.cpp
|
|
multi.cpp
|
|
util.c
|
|
$(echo_files)
|
|
OsSupportBeOS.cpp
|
|
;
|
|
|
|
# suppress warnings on some files including the echo headers which provoke ugly warnings
|
|
ObjectC++Flags $(echo_files) : -w ;
|
|
ObjectC++Flags echo.cpp : -w ;
|
|
|
|
SEARCH on [ FGristFiles
|
|
$(echo_files)
|
|
OsSupportBeOS.cpp
|
|
] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ;
|
|
|
|
SEARCH on [ FGristFiles
|
|
kernel_cpp.cpp
|
|
] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
|
|
|
|
SEARCH on [ FGristFiles
|
|
debug.c
|
|
echo.cpp
|
|
multi.cpp
|
|
util.c
|
|
] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
|