xref: /haiku/src/add-ons/kernel/drivers/audio/echo/indigo/Jamfile (revision 1a76488fc88584bf66b9751d7fb9b6527ac20d87)
1SubDir HAIKU_TOP src add-ons kernel drivers audio echo indigo ;
2
3SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo ;
4SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ;
5SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic DSP ;
6SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ASIC ;
7
8UsePrivateSystemHeaders ;
9UsePrivateHeaders kernel 			# For kernel_cpp.cpp
10	audio ;
11
12# set some additional defines
13SubDirCcFlags -DECHO_BEOS -DINDIGO_FAMILY -DCARDBUS ;
14SubDirC++Flags -DECHO_BEOS -DINDIGO_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE -DCARDBUS ;
15
16local echo_files =
17	CChannelMask.cpp
18	CDaffyDuck.cpp
19	CDspCommObject.cpp
20	CDspCommObjectVmixer.cpp
21	CEchoGals.cpp
22	CEchoGals_info.cpp
23	CEchoGals_midi.cpp
24	CEchoGals_mixer.cpp
25	CEchoGals_power.cpp
26	CEchoGals_transport.cpp
27	CEchoGalsVmixer.cpp
28	CIndigo.cpp
29	CIndigoDspCommObject.cpp
30	CIndigoIO.cpp
31	CIndigoIODspCommObject.cpp
32	CIndigoDJ.cpp
33	CIndigoDJDspCommObject.cpp
34	CLineLevel.cpp
35	CMonitorCtrl.cpp
36	CPipeOutCtrl.cpp
37	;
38
39KernelAddon echoindigo :
40	kernel_cpp.cpp
41	debug.c
42	echo.cpp
43	multi.cpp
44	util.c
45	$(echo_files)
46	OsSupportBeOS.cpp
47;
48
49# suppress warnings on some files including the echo headers which provoke ugly warnings
50ObjectC++Flags $(echo_files) : -w ;
51ObjectC++Flags echo.cpp : -w ;
52
53SEARCH on [ FGristFiles
54	$(echo_files)
55	OsSupportBeOS.cpp
56	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ;
57
58SEARCH on [ FGristFiles
59		kernel_cpp.cpp
60	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
61
62SEARCH on [ FGristFiles
63		debug.c
64		echo.cpp
65		multi.cpp
66		util.c
67	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
68