xref: /haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/Jamfile (revision 820dca4df6c7bf955c46e8f6521b9408f50b2900)
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
13UsePrivateHeaders libroot net ;
14UsePrivateHeaders [ FDirName kernel ] ;
15UsePrivateHeaders [ FDirName kernel util ] ;
16UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared
17	libkernelppp headers ] : true ;
18
19
20{
21	SubDirC++Flags -fno-rtti ;
22}
23
24
25KernelStaticLibrary libkernelppp.a :
26	atomic.S
27	kernel_cpp.cpp
28
29	KPPPConfigurePacket.cpp
30	KPPPDevice.cpp
31	KPPPInterface.cpp
32	KPPPLayer.cpp
33	KPPPLCP.cpp
34	KPPPLCPExtension.cpp
35	KPPPOptionHandler.cpp
36	KPPPProtocol.cpp
37	KPPPReportManager.cpp
38	KPPPStateMachine.cpp
39	KPPPUtils.cpp
40	Locker.cpp
41	settings_tools.cpp
42
43	# integrated modules
44	_KPPPMRUHandler.cpp
45	_KPPPAuthenticationHandler.cpp
46	_KPPPPFCHandler.cpp
47	: -fno-pic
48;
49
50SEARCH on [ FGristFiles kernel_cpp.cpp ]
51	= [ FDirName $(HAIKU_TOP) src system kernel util ] ;
52SEARCH on [ FGristFiles Locker.cpp ]
53	= [ FDirName $(HAIKU_TOP) src system kernel disk_device_manager ] ;
54SEARCH on [ FGristFiles atomic.S ]
55	= [ FDirName $(HAIKU_TOP) src system libroot os arch $(TARGET_ARCH) ] ;
56