xref: /haiku/src/add-ons/kernel/drivers/audio/echo/indigo/Jamfile (revision 1294543de9ac0eff000eaea1b18368c36435d08e)
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	media ;
17
18# set some additional defines
19SubDirCcFlags -DECHO_BEOS -DINDIGO_FAMILY -DCARDBUS ;
20SubDirC++Flags -DECHO_BEOS -DINDIGO_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE -DCARDBUS ;
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	CEchoGalsVmixer.cpp
34	CIndigo.cpp
35	CIndigoDspCommObject.cpp
36	CIndigoIO.cpp
37	CIndigoIODspCommObject.cpp
38	CIndigoDJ.cpp
39	CIndigoDJDspCommObject.cpp
40	CLineLevel.cpp
41	CMonitorCtrl.cpp
42	CPipeOutCtrl.cpp
43	;
44
45KernelAddon echoindigo :
46	kernel_cpp.cpp
47	debug.c
48	echo.cpp
49	multi.cpp
50	util.c
51	$(echo_files)
52	OsSupportBeOS.cpp
53;
54
55# suppress warnings on some files including the echo headers which provoke ugly warnings
56ObjectC++Flags $(echo_files) : -w ;
57ObjectC++Flags echo.cpp : -w ;
58
59SEARCH on [ FGristFiles
60	$(echo_files)
61	OsSupportBeOS.cpp
62	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo generic ] ;
63
64SEARCH on [ FGristFiles
65		kernel_cpp.cpp
66	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
67
68SEARCH on [ FGristFiles
69		debug.c
70		echo.cpp
71		multi.cpp
72		util.c
73	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
74
75Package haiku-echoindigo-cvs
76	:
77	echoindigo
78	:
79	boot home config add-ons kernel drivers bin ;
80
81PackageDriverSymLink haiku-echoindigo-cvs : audio hmulti echoindigo ;
82
83Package haiku-echoindigo-cvs : <echo!driver>echo.settings
84	: boot home config settings kernel drivers ;
85
86