xref: /haiku/src/add-ons/kernel/drivers/audio/echo/3g/Jamfile (revision 9f3bdf3d039430b5172c424def20ce5d9f7367d4)
1SubDir HAIKU_TOP src add-ons kernel drivers audio echo 3g ;
2
3SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio generic ;
4SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo ;
5SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ;
6SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic DSP ;
7SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ASIC ;
8
9UsePrivateSystemHeaders ;
10UsePrivateHeaders kernel 			# For kernel_cpp.cpp
11	audio ;
12
13# set some additional defines
14SubDirCcFlags -DECHO_BEOS -DECHO3G_FAMILY ;
15SubDirC++Flags -DECHO_BEOS -DECHO3G_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ;
16
17local echo_files =
18	C3g.cpp
19	C3gDco.cpp
20	CChannelMask.cpp
21	CDaffyDuck.cpp
22	CDspCommObject.cpp
23	CDspCommObjectVmixer.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	CEchoGalsMTC.cpp
31	CEchoGalsVmixer.cpp
32	CLineLevel.cpp
33	CMidiInQ.cpp
34	CMonitorCtrl.cpp
35	CMtcSync.cpp
36	CPipeOutCtrl.cpp
37	;
38
39KernelAddon echo3g :
40	kernel_cpp.cpp
41	debug.c
42	echo.cpp
43	midi.cpp
44	multi.cpp
45	util.c
46	$(echo_files)
47	OsSupportBeOS.cpp
48;
49
50# suppress warnings on some files including the echo headers which provoke ugly warnings
51ObjectC++Flags $(echo_files) : -w ;
52ObjectC++Flags echo.cpp : -w ;
53
54SEARCH on [ FGristFiles
55	$(echo_files)
56	OsSupportBeOS.cpp
57	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ;
58
59SEARCH on [ FGristFiles
60		kernel_cpp.cpp
61	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
62
63SEARCH on [ FGristFiles
64		debug.c
65		echo.cpp
66		midi.cpp
67		multi.cpp
68	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
69
70SEARCH on [ FGristFiles
71		util.c
72	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio generic ] ;
73