xref: /haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/Jamfile (revision 97dfeb96704e5dbc5bec32ad7b21379d0125e031)
1SubDir HAIKU_TOP src add-ons kernel network ppp shared libkernelppp ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5if $(TARGET_PLATFORM) != haiku {
6	UseHeaders [ FStandardOSHeaders ] : true ;
7		# Needed for the atomic_add64() prototype. :-/
8	UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
9		# We need the public network headers also when not compiling for Haiku.
10		# Unfortunately we get more than we want, namely all POSIX headers.
11}
12
13UsePrivateKernelHeaders ;
14UsePrivateHeaders net ;
15
16UsePrivateHeaders libroot net ;
17UsePrivateHeaders [ FDirName kernel ] ;
18UsePrivateHeaders [ FDirName kernel util ] ;
19UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared
20	libkernelppp headers ] : true ;
21
22
23{
24	SubDirC++Flags -fno-rtti ;
25}
26
27
28KernelStaticLibrary libkernelppp.a :
29	atomic.S
30	kernel_cpp.cpp
31
32	KPPPConfigurePacket.cpp
33	KPPPDevice.cpp
34	KPPPInterface.cpp
35	KPPPLayer.cpp
36	KPPPLCP.cpp
37	KPPPLCPExtension.cpp
38	KPPPOptionHandler.cpp
39	KPPPProtocol.cpp
40	KPPPReportManager.cpp
41	KPPPStateMachine.cpp
42	KPPPUtils.cpp
43	settings_tools.cpp
44
45	# integrated modules
46	_KPPPMRUHandler.cpp
47	_KPPPAuthenticationHandler.cpp
48	_KPPPPFCHandler.cpp
49	: -fno-pic
50;
51
52SEARCH on [ FGristFiles kernel_cpp.cpp ]
53	= [ FDirName $(HAIKU_TOP) src system kernel util ] ;
54SEARCH on [ FGristFiles atomic.S ]
55	= [ FDirName $(HAIKU_TOP) src system libroot os arch $(TARGET_ARCH) ] ;
56