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