xref: /haiku/src/add-ons/kernel/drivers/audio/echo/indigo/Jamfile (revision dd2a1e350b303b855a50fd64e6cb55618be1ae6a)
1SubDir HAIKU_TOP src add-ons kernel drivers audio echo indigo ;
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 -DINDIGO_FAMILY -DCARDBUS ;
15SubDirC++Flags -DECHO_BEOS -DINDIGO_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE -DCARDBUS ;
16
17local echo_files =
18	CChannelMask.cpp
19	CDaffyDuck.cpp
20	CDspCommObject.cpp
21	CDspCommObjectVmixer.cpp
22	CEchoGals.cpp
23	CEchoGals_info.cpp
24	CEchoGals_midi.cpp
25	CEchoGals_mixer.cpp
26	CEchoGals_power.cpp
27	CEchoGals_transport.cpp
28	CEchoGalsVmixer.cpp
29	CIndigo.cpp
30	CIndigoDspCommObject.cpp
31	CIndigoIO.cpp
32	CIndigoIODspCommObject.cpp
33	CIndigoDJ.cpp
34	CIndigoDJDspCommObject.cpp
35	CLineLevel.cpp
36	CMonitorCtrl.cpp
37	CPipeOutCtrl.cpp
38	;
39
40KernelAddon echoindigo :
41	kernel_cpp.cpp
42	debug.c
43	echo.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		multi.cpp
67	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
68
69SEARCH on [ FGristFiles
70		util.c
71	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio generic ] ;
72