xref: /haiku/src/tests/add-ons/kernel/network/ppp/shared/libkernelppp/Jamfile (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1SubDir HAIKU_TOP src tests 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 net ;
14UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp headers ] : true ;
15
16SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp ] ;
17
18StaticLibrary <userland>libkernelppp.a :
19	KPPPConfigurePacket.cpp
20	KPPPDevice.cpp
21	KPPPInterface.cpp
22	KPPPLayer.cpp
23	KPPPLCP.cpp
24	KPPPLCPExtension.cpp
25	KPPPOptionHandler.cpp
26	KPPPProtocol.cpp
27	KPPPReportManager.cpp
28	KPPPStateMachine.cpp
29	KPPPUtils.cpp
30	settings_tools.cpp
31
32	# integrated modules
33	_KPPPMRUHandler.cpp
34	_KPPPAuthenticationHandler.cpp
35	_KPPPPFCHandler.cpp
36
37	# for driver_settings
38	strlcat.c
39	driver_settings.c
40;
41
42SEARCH on [ FGristFiles strlcat.c ] = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ;
43SEARCH on [ FGristFiles driver_settings.c ] = [ FDirName $(HAIKU_TOP) src system libroot os ] ;
44