xref: /haiku/src/add-ons/kernel/drivers/audio/echo/24/Jamfile (revision 2b76973fa2401f7a5edf68e6470f3d3210cbcff3)
1SubDir HAIKU_TOP src add-ons kernel drivers audio echo 24 ;
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 -DECHO24_FAMILY ;
20SubDirC++Flags -DECHO_BEOS -DECHO24_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ;
21
22local echo_files =
23	CChannelMask.cpp
24	CDaffyDuck.cpp
25	CDspCommObject.cpp
26	CDspCommObjectVmixer.cpp
27	CEchoGals.cpp
28	CEchoGals_info.cpp
29	CEchoGals_midi.cpp
30	CEchoGals_mixer.cpp
31	CEchoGals_power.cpp
32	CEchoGals_transport.cpp
33	CEchoGalsMTC.cpp
34	CEchoGalsVmixer.cpp
35	CGina24.cpp
36	CGina24DspCommObject.cpp
37	CGMLDspCommObject.cpp
38	CLayla24.cpp
39	CLayla24DspCommObject.cpp
40	CLineLevel.cpp
41	CMia.cpp
42	CMiaDspCommObject.cpp
43	CMidiInQ.cpp
44	CMona.cpp
45	CMonaDspCommObject.cpp
46	CMonitorCtrl.cpp
47	CMtcSync.cpp
48	CPipeOutCtrl.cpp
49	;
50
51KernelAddon echo24 :
52	kernel_cpp.cpp
53	debug.c
54	echo.cpp
55	midi.cpp
56	multi.cpp
57	util.c
58	$(echo_files)
59	OsSupportBeOS.cpp
60;
61
62# suppress warnings on some files including the echo headers which provoke ugly warnings
63ObjectC++Flags $(echo_files) : -w ;
64ObjectC++Flags echo.cpp : -w ;
65
66SEARCH on [ FGristFiles
67	$(echo_files)
68	OsSupportBeOS.cpp
69	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ;
70
71SEARCH on [ FGristFiles
72		kernel_cpp.cpp
73	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
74
75SEARCH on [ FGristFiles
76		debug.c
77		echo.cpp
78		midi.cpp
79		multi.cpp
80		util.c
81	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
82
83