1SubDir HAIKU_TOP src add-ons kernel drivers audio echo 3g ; 2 3SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo ; 4SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ; 5SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic DSP ; 6SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ASIC ; 7 8UsePrivateSystemHeaders ; 9UsePrivateHeaders kernel # For kernel_cpp.cpp 10 audio ; 11 12# set some additional defines 13SubDirCcFlags -DECHO_BEOS -DECHO3G_FAMILY ; 14SubDirC++Flags -DECHO_BEOS -DECHO3G_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ; 15 16local echo_files = 17 C3g.cpp 18 C3gDco.cpp 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 CLineLevel.cpp 32 CMidiInQ.cpp 33 CMonitorCtrl.cpp 34 CMtcSync.cpp 35 CPipeOutCtrl.cpp 36 ; 37 38KernelAddon echo3g : 39 kernel_cpp.cpp 40 debug.c 41 echo.cpp 42 midi.cpp 43 multi.cpp 44 util.c 45 $(echo_files) 46 OsSupportBeOS.cpp 47; 48 49# suppress warnings on some files including the echo headers which provoke ugly warnings 50ObjectC++Flags $(echo_files) : -w ; 51ObjectC++Flags echo.cpp : -w ; 52 53SEARCH on [ FGristFiles 54 $(echo_files) 55 OsSupportBeOS.cpp 56 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ; 57 58SEARCH on [ FGristFiles 59 kernel_cpp.cpp 60 ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ; 61 62SEARCH on [ FGristFiles 63 debug.c 64 echo.cpp 65 midi.cpp 66 multi.cpp 67 util.c 68 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ; 69