xref: /haiku/src/add-ons/kernel/drivers/audio/echo/3g/Jamfile (revision b30304acc8c37e678a1bf66976d15bdab103f931)
1SubDir HAIKU_TOP src add-ons kernel drivers audio echo 3g ;
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 -DECHO3G_FAMILY ;
20SubDirC++Flags -DECHO_BEOS -DECHO3G_FAMILY -fno-rtti -DAUTO_DUCK_ALLOCATE ;
21
22local echo_files =
23	C3g.cpp
24	C3gDco.cpp
25	CChannelMask.cpp
26	CDaffyDuck.cpp
27	CDspCommObject.cpp
28	CDspCommObjectVmixer.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	CEchoGalsVmixer.cpp
37	CLineLevel.cpp
38	CMidiInQ.cpp
39	CMonitorCtrl.cpp
40	CMtcSync.cpp
41	CPipeOutCtrl.cpp
42	;
43
44KernelAddon echo3g :
45	kernel_cpp.cpp
46	debug.c
47	echo.cpp
48	midi.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		midi.cpp
72		multi.cpp
73		util.c
74	] = [ FDirName $(HAIKU_TOP) src add-ons kernel drivers audio echo ] ;
75
76Package haiku-echo3g-cvs
77	:
78	echo3g
79	:
80	boot home config add-ons kernel drivers bin ;
81
82PackageDriverSymLink haiku-echo3g-cvs : audio hmulti echo3g ;
83PackageDriverSymLink haiku-echo3g-cvs : midi echo3g ;
84
85Package haiku-echo3g-cvs : <echo!driver>echo.settings
86	: boot home config settings kernel drivers ;
87
88