xref: /haiku/src/add-ons/kernel/drivers/audio/echo/gals/Jamfile (revision 4f00613311d0bd6b70fa82ce19931c41f071ea4e)
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
10UsePrivateHeaders [ FDirName kernel ] ;			# For kernel_cpp.cpp
11
12# set some additional defines
13SubDirCcFlags -DECHO_BEOS -DECHOGALS_FAMILY ;
14SubDirC++Flags -DECHO_BEOS -DECHOGALS_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ;
15
16local echo_files =
17	CChannelMask.cpp
18	CDaffyDuck.cpp
19	CDarla.cpp
20	CDarla24.cpp
21	CDarla24DspCommObject.cpp
22	CDarlaDspCommObject.cpp
23	CDspCommObject.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	CGdDspCommObject.cpp
32	CGina.cpp
33	CGinaDspCommObject.cpp
34	CLayla.cpp
35	CLaylaDspCommObject.cpp
36	CLineLevel.cpp
37	CMidiInQ.cpp
38	CMonitorCtrl.cpp
39	CMtcSync.cpp
40	CPipeOutCtrl.cpp
41	;
42
43KernelAddon echogals : kernel drivers bin :
44	kernel_cpp.cpp
45	debug.c
46	echo.cpp
47	midi.cpp
48	multi.cpp
49	util.c
50	$(echo_files)
51	OsSupportBeOS.cpp
52;
53
54# suppress warnings on some files including the echo headers which provoke ugly warnings
55ObjectC++Flags $(echo_files) : -w ;
56ObjectC++Flags echo.cpp : -w ;
57
58SEARCH on [ FGristFiles
59	$(echo_files)
60	OsSupportBeOS.cpp
61	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ;
62
63SEARCH on [ FGristFiles
64		kernel_cpp.cpp
65	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
66
67SEARCH on [ FGristFiles
68		debug.c
69		echo.cpp
70		midi.cpp
71		multi.cpp
72		util.c
73	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
74
75Package haiku-echogals-cvs
76	:
77	echogals
78	:
79	boot home config add-ons kernel drivers bin ;
80
81PackageDriverSymLink haiku-echogals-cvs : audio multi echogals ;
82
83