1SubDir HAIKU_TOP src add-ons kernel drivers audio echo gals ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5if $(TARGET_PLATFORM) != haiku { 6 UseHeaders [ FDirName $(HAIKU_TOP) headers os drivers ] : true ; 7 # We need the public pcmcia headers also when not compiling for Haiku. 8} 9 10SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo ; 11SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ; 12SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic DSP ; 13SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ASIC ; 14 15UsePrivateSystemHeaders ; 16UsePrivateHeaders kernel # For kernel_cpp.cpp 17 media ; 18 19# set some additional defines 20SubDirCcFlags -DECHO_BEOS -DECHOGALS_FAMILY ; 21SubDirC++Flags -DECHO_BEOS -DECHOGALS_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ; 22 23local echo_files = 24 CChannelMask.cpp 25 CDaffyDuck.cpp 26 CDarla.cpp 27 CDarla24.cpp 28 CDarla24DspCommObject.cpp 29 CDarlaDspCommObject.cpp 30 CDspCommObject.cpp 31 CEchoGals.cpp 32 CEchoGals_info.cpp 33 CEchoGals_midi.cpp 34 CEchoGals_mixer.cpp 35 CEchoGals_power.cpp 36 CEchoGals_transport.cpp 37 CEchoGalsMTC.cpp 38 CGdDspCommObject.cpp 39 CGina.cpp 40 CGinaDspCommObject.cpp 41 CLayla.cpp 42 CLaylaDspCommObject.cpp 43 CLineLevel.cpp 44 CMidiInQ.cpp 45 CMonitorCtrl.cpp 46 CMtcSync.cpp 47 CPipeOutCtrl.cpp 48 ; 49 50KernelAddon echogals : 51 kernel_cpp.cpp 52 debug.c 53 echo.cpp 54 midi.cpp 55 multi.cpp 56 util.c 57 $(echo_files) 58 OsSupportBeOS.cpp 59; 60 61# suppress warnings on some files including the echo headers which provoke ugly warnings 62ObjectC++Flags $(echo_files) : -w ; 63ObjectC++Flags echo.cpp : -w ; 64 65SEARCH on [ FGristFiles 66 $(echo_files) 67 OsSupportBeOS.cpp 68 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ; 69 70SEARCH on [ FGristFiles 71 kernel_cpp.cpp 72 ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ; 73 74SEARCH on [ FGristFiles 75 debug.c 76 echo.cpp 77 midi.cpp 78 multi.cpp 79 util.c 80 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ; 81