1SubDir HAIKU_TOP src add-ons kernel drivers audio echo indigo ; 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 media ; 13 14# set some additional defines 15SubDirCcFlags -DECHO_BEOS -DINDIGO_FAMILY -DCARDBUS ; 16SubDirC++Flags -DECHO_BEOS -DINDIGO_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE -DCARDBUS ; 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 CEchoGalsVmixer.cpp 30 CIndigo.cpp 31 CIndigoDspCommObject.cpp 32 CIndigoIO.cpp 33 CIndigoIODspCommObject.cpp 34 CIndigoDJ.cpp 35 CIndigoDJDspCommObject.cpp 36 CLineLevel.cpp 37 CMonitorCtrl.cpp 38 CPipeOutCtrl.cpp 39 ; 40 41KernelAddon echoindigo : 42 kernel_cpp.cpp 43 debug.c 44 echo.cpp 45 multi.cpp 46 util.c 47 $(echo_files) 48 OsSupportBeOS.cpp 49; 50 51# suppress warnings on some files including the echo headers which provoke ugly warnings 52ObjectC++Flags $(echo_files) : -w ; 53ObjectC++Flags echo.cpp : -w ; 54 55SEARCH on [ FGristFiles 56 $(echo_files) 57 OsSupportBeOS.cpp 58 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ; 59 60SEARCH on [ FGristFiles 61 kernel_cpp.cpp 62 ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ; 63 64SEARCH on [ FGristFiles 65 debug.c 66 echo.cpp 67 multi.cpp 68 util.c 69 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ; 70