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