1SubDir HAIKU_TOP src add-ons kernel drivers audio echo 24 ; 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 -DECHO24_FAMILY ; 21SubDirC++Flags -DECHO_BEOS -DECHO24_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ; 22 23local echo_files = 24 CChannelMask.cpp 25 CDaffyDuck.cpp 26 CDspCommObject.cpp 27 CDspCommObjectVmixer.cpp 28 CEchoGals.cpp 29 CEchoGals_info.cpp 30 CEchoGals_midi.cpp 31 CEchoGals_mixer.cpp 32 CEchoGals_power.cpp 33 CEchoGals_transport.cpp 34 CEchoGalsMTC.cpp 35 CEchoGalsVmixer.cpp 36 CGina24.cpp 37 CGina24DspCommObject.cpp 38 CGMLDspCommObject.cpp 39 CLayla24.cpp 40 CLayla24DspCommObject.cpp 41 CLineLevel.cpp 42 CMia.cpp 43 CMiaDspCommObject.cpp 44 CMidiInQ.cpp 45 CMona.cpp 46 CMonaDspCommObject.cpp 47 CMonitorCtrl.cpp 48 CMtcSync.cpp 49 CPipeOutCtrl.cpp 50 ; 51 52KernelAddon echo24 : 53 kernel_cpp.cpp 54 debug.c 55 echo.cpp 56 midi.cpp 57 multi.cpp 58 util.c 59 $(echo_files) 60 OsSupportBeOS.cpp 61; 62 63# suppress warnings on some files including the echo headers which provoke ugly warnings 64ObjectC++Flags $(echo_files) : -w ; 65ObjectC++Flags echo.cpp : -w ; 66 67SEARCH on [ FGristFiles 68 $(echo_files) 69 OsSupportBeOS.cpp 70 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ; 71 72SEARCH on [ FGristFiles 73 kernel_cpp.cpp 74 ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ; 75 76SEARCH on [ FGristFiles 77 debug.c 78 echo.cpp 79 midi.cpp 80 multi.cpp 81 util.c 82 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ; 83 84