xref: /haiku/src/add-ons/kernel/drivers/audio/echo/gals/Jamfile (revision f73f5d4c42a01ece688cbb57b5d332cc0f68b2c6)
1SubDir HAIKU_TOP src add-ons kernel drivers audio echo gals ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5if $(TARGET_PLATFORM) != haiku {
6	UseHeaders [ FDirName $(HAIKU_TOP) headers os drivers ] : true ;
7	# We need the public pcmcia headers also when not compiling for Haiku.
8}
9
10SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo ;
11SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ;
12SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic DSP ;
13SubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ASIC ;
14
15UsePrivateHeaders [ FDirName kernel ] 			# For kernel_cpp.cpp
16	libroot media ;
17
18# set some additional defines
19SubDirCcFlags -DECHO_BEOS -DECHOGALS_FAMILY ;
20SubDirC++Flags -DECHO_BEOS -DECHOGALS_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ;
21
22local echo_files =
23	CChannelMask.cpp
24	CDaffyDuck.cpp
25	CDarla.cpp
26	CDarla24.cpp
27	CDarla24DspCommObject.cpp
28	CDarlaDspCommObject.cpp
29	CDspCommObject.cpp
30	CEchoGals.cpp
31	CEchoGals_info.cpp
32	CEchoGals_midi.cpp
33	CEchoGals_mixer.cpp
34	CEchoGals_power.cpp
35	CEchoGals_transport.cpp
36	CEchoGalsMTC.cpp
37	CGdDspCommObject.cpp
38	CGina.cpp
39	CGinaDspCommObject.cpp
40	CLayla.cpp
41	CLaylaDspCommObject.cpp
42	CLineLevel.cpp
43	CMidiInQ.cpp
44	CMonitorCtrl.cpp
45	CMtcSync.cpp
46	CPipeOutCtrl.cpp
47	;
48
49KernelAddon echogals :
50	kernel_cpp.cpp
51	debug.c
52	echo.cpp
53	midi.cpp
54	multi.cpp
55	util.c
56	$(echo_files)
57	OsSupportBeOS.cpp
58;
59
60# suppress warnings on some files including the echo headers which provoke ugly warnings
61ObjectC++Flags $(echo_files) : -w ;
62ObjectC++Flags echo.cpp : -w ;
63
64SEARCH on [ FGristFiles
65	$(echo_files)
66	OsSupportBeOS.cpp
67	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ;
68
69SEARCH on [ FGristFiles
70		kernel_cpp.cpp
71	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
72
73SEARCH on [ FGristFiles
74		debug.c
75		echo.cpp
76		midi.cpp
77		multi.cpp
78		util.c
79	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
80