xref: /haiku/src/bin/network/pppconfig/Jamfile (revision 5ac9b506412b11afb993bb52d161efe7666958a5)
1SubDir HAIKU_TOP src bin network pppconfig ;
2
3SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ;
4
5if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
6	UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
7		# We need the public network headers also when not compiling for Haiku.
8		# Unfortunately we get more than we want, namely all POSIX headers.
9}
10
11UsePrivateKernelHeaders ;
12UsePrivateHeaders net ;
13UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libppp
14	headers ] : true ;
15UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared
16	libkernelppp headers ] : true ;
17
18BinCommand pppconfig :
19	pppconfig.cpp
20	:
21	be libppp.a [ TargetLibsupc++ ] libbsd.so $(TARGET_NETWORK_LIBS)
22;
23
24# Installation
25HaikuInstall install-ppp
26	: /boot/home/config/non-packaged/bin
27	: pppconfig ;
28