xref: /haiku/src/add-ons/kernel/drivers/audio/echo/gals/Jamfile (revision 151343ebc86cf0ce61a6c7789f853dff35c57e9c)
1SubDir HAIKU_TOP src add-ons kernel drivers audio echo gals ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo ;
6SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ;
7SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic DSP ;
8SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ASIC ;
9
10UsePrivateSystemHeaders ;
11UsePrivateHeaders kernel 			# For kernel_cpp.cpp
12	audio ;
13
14# set some additional defines
15SubDirCcFlags -DECHO_BEOS -DECHOGALS_FAMILY ;
16SubDirC++Flags -DECHO_BEOS -DECHOGALS_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ;
17
18local echo_files =
19	CChannelMask.cpp
20	CDaffyDuck.cpp
21	CDarla.cpp
22	CDarla24.cpp
23	CDarla24DspCommObject.cpp
24	CDarlaDspCommObject.cpp
25	CDspCommObject.cpp
26	CEchoGals.cpp
27	CEchoGals_info.cpp
28	CEchoGals_midi.cpp
29	CEchoGals_mixer.cpp
30	CEchoGals_power.cpp
31	CEchoGals_transport.cpp
32	CEchoGalsMTC.cpp
33	CGdDspCommObject.cpp
34	CGina.cpp
35	CGinaDspCommObject.cpp
36	CLayla.cpp
37	CLaylaDspCommObject.cpp
38	CLineLevel.cpp
39	CMidiInQ.cpp
40	CMonitorCtrl.cpp
41	CMtcSync.cpp
42	CPipeOutCtrl.cpp
43	;
44
45KernelAddon echogals :
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