1SubDir OBOS_TOP src add-ons kernel drivers audio echo gals ; 2 3SubDirHdrs $(OBOS_TOP) src add-ons kernel drivers audio echo ; 4SubDirHdrs $(OBOS_TOP) src add-ons kernel drivers audio echo generic ; 5SubDirHdrs $(OBOS_TOP) src add-ons kernel drivers audio echo generic DSP ; 6SubDirHdrs $(OBOS_TOP) src add-ons kernel drivers audio echo generic ASIC ; 7 8UsePrivateHeaders [ FDirName kernel ] ; # For kernel_cpp.cpp 9 10# set some additional defines 11{ 12 SubDirCcFlags -DECHO_BEOS -DECHOGALS_FAMILY ; 13 SubDirC++Flags -DECHO_BEOS -DECHOGALS_FAMILY -fno-rtti ; 14} 15 16local echo_files = 17 CChannelMask.cpp 18 CDaffyDuck.cpp 19 CDarla.cpp 20 CDarla24.cpp 21 CDarla24DspCommObject.cpp 22 CDarlaDspCommObject.cpp 23 CDspCommObject.cpp 24 CEchoGals.cpp 25 CEchoGals_info.cpp 26 CEchoGals_midi.cpp 27 CEchoGals_mixer.cpp 28 CEchoGals_power.cpp 29 CEchoGals_transport.cpp 30# CEchoGals_WDM.cpp 31 CGdDspCommObject.cpp 32 CGina.cpp 33 CGinaDspCommObject.cpp 34 CLayla.cpp 35 CLaylaDspCommObject.cpp 36 CLineLevel.cpp 37 CMidiInQ.cpp 38 CMonitorCtrl.cpp 39 CPipeOutCtrl.cpp 40 ; 41 42R5KernelAddon echogals : kernel drivers bin : 43 kernel_cpp.cpp 44 debug.c 45 echo.cpp 46 multi.cpp 47 util.c 48 $(echo_files) 49 OsSupportBeOS.cpp 50; 51 52SEARCH on [ FGristFiles 53 $(echo_files) 54 OsSupportBeOS.cpp 55 ] = [ FDirName $(OBOS_TOP) src add-ons kernel drivers audio echo generic ] ; 56 57SEARCH on [ FGristFiles 58 kernel_cpp.cpp 59 ] = [ FDirName $(OBOS_TOP) src kernel core util ] ; 60 61SEARCH on [ FGristFiles 62 debug.c 63 echo.cpp 64 multi.cpp 65 util.c 66 ] = [ FDirName $(OBOS_TOP) src add-ons kernel drivers audio echo ] ; 67 68Package haiku-echogals-cvs 69 : 70 echogals 71 : 72 boot home config add-ons kernel drivers bin ; 73 74Package haiku-echogals-cvs 75 : 76 <kernel!drivers!dev!audio!multi>echogals 77 : 78 boot home config add-ons kernel drivers dev audio multi ; 79 80# Link to kernel/drivers/dev/audio/multi 81{ 82 local dir = [ FDirName $(OBOS_ADDON_DIR) kernel drivers dev audio multi ] ; 83 local instDriver = <kernel!drivers!dev!audio!multi>echogals ; 84 MakeLocate $(instDriver) : $(dir) ; 85 RelSymLink $(instDriver) : echogals ; 86} 87