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