xref: /haiku/src/add-ons/kernel/drivers/audio/echo/indigo/Jamfile (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1SubDir HAIKU_TOP src add-ons kernel drivers audio echo indigo ;
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 -DINDIGO_FAMILY -DCARDBUS ;
19SubDirC++Flags -DECHO_BEOS -DINDIGO_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE -DCARDBUS ;
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	CEchoGalsVmixer.cpp
33	CIndigo.cpp
34	CIndigoDspCommObject.cpp
35	CIndigoIO.cpp
36	CIndigoIODspCommObject.cpp
37	CIndigoDJ.cpp
38	CIndigoDJDspCommObject.cpp
39	CLineLevel.cpp
40	CMonitorCtrl.cpp
41	CPipeOutCtrl.cpp
42	;
43
44KernelAddon echoindigo : kernel drivers bin :
45	kernel_cpp.cpp
46	debug.c
47	echo.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		multi.cpp
71		util.c
72	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
73
74Package haiku-echoindigo-cvs
75	:
76	echoindigo
77	:
78	boot home config add-ons kernel drivers bin ;
79
80PackageDriverSymLink haiku-echoindigo-cvs : audio hmulti echoindigo ;
81
82Package haiku-echoindigo-cvs : <echo!driver>echo.settings
83	: boot home config settings kernel drivers ;
84
85