1SubDir HAIKU_TOP src add-ons kernel drivers audio echo 24 ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo ; 6SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ; 7SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic DSP ; 8SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ASIC ; 9 10UsePrivateSystemHeaders ; 11UsePrivateHeaders kernel # For kernel_cpp.cpp 12 audio ; 13 14# set some additional defines 15SubDirCcFlags -DECHO_BEOS -DECHO24_FAMILY ; 16SubDirC++Flags -DECHO_BEOS -DECHO24_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ; 17 18local echo_files = 19 CChannelMask.cpp 20 CDaffyDuck.cpp 21 CDspCommObject.cpp 22 CDspCommObjectVmixer.cpp 23 CEchoGals.cpp 24 CEchoGals_info.cpp 25 CEchoGals_midi.cpp 26 CEchoGals_mixer.cpp 27 CEchoGals_power.cpp 28 CEchoGals_transport.cpp 29 CEchoGalsMTC.cpp 30 CEchoGalsVmixer.cpp 31 CGina24.cpp 32 CGina24DspCommObject.cpp 33 CGMLDspCommObject.cpp 34 CLayla24.cpp 35 CLayla24DspCommObject.cpp 36 CLineLevel.cpp 37 CMia.cpp 38 CMiaDspCommObject.cpp 39 CMidiInQ.cpp 40 CMona.cpp 41 CMonaDspCommObject.cpp 42 CMonitorCtrl.cpp 43 CMtcSync.cpp 44 CPipeOutCtrl.cpp 45 ; 46 47KernelAddon echo24 : 48 kernel_cpp.cpp 49 debug.c 50 echo.cpp 51 midi.cpp 52 multi.cpp 53 util.c 54 $(echo_files) 55 OsSupportBeOS.cpp 56; 57 58# suppress warnings on some files including the echo headers which provoke ugly warnings 59ObjectC++Flags $(echo_files) : -w ; 60ObjectC++Flags echo.cpp : -w ; 61 62SEARCH on [ FGristFiles 63 $(echo_files) 64 OsSupportBeOS.cpp 65 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ; 66 67SEARCH on [ FGristFiles 68 kernel_cpp.cpp 69 ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ; 70 71SEARCH on [ FGristFiles 72 debug.c 73 echo.cpp 74 midi.cpp 75 multi.cpp 76 util.c 77 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ; 78 79