xref: /haiku/src/add-ons/kernel/network/ppp/shared/libppp/Jamfile (revision 4f00613311d0bd6b70fa82ce19931c41f071ea4e)
1SubDir HAIKU_TOP src add-ons kernel network ppp shared libppp ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5if $(TARGET_PLATFORM) != haiku {
6	UseHeaders [ FStandardOSHeaders ] : true ;
7		# Needed for <support/Errors.h> and maybe other stuff.
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 libppp
15	headers ] : true ;
16UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared
17	libkernelppp headers ] : true ;
18
19
20StaticLibrary libppp.a :
21	strlcat.c
22	driver_settings.c
23	settings_tools.cpp
24	KPPPUtils.cpp
25
26	_libppputils.cpp
27	PPPInterface.cpp
28	PPPInterfaceListener.cpp
29	PPPManager.cpp
30	MessageDriverSettingsUtils.cpp
31;
32
33SEARCH on [ FGristFiles strlcat.c ] = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ;
34SEARCH on [ FGristFiles driver_settings.c ] = [ FDirName $(HAIKU_TOP) src system libroot os ] ;
35SEARCH on [ FGristFiles settings_tools.cpp ] = [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp ] ;
36SEARCH on [ FGristFiles KPPPUtils.cpp ] = [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp ] ;
37