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