xref: /haiku/src/bin/network/pppconfig/Jamfile (revision b028e77473189065f2baefc6f5e10d451cf591e2)
1SubDir HAIKU_TOP src bin 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
11UsePrivateHeaders net ;
12UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libppp
13	headers ] : true ;
14UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared
15	libkernelppp headers ] : true ;
16
17BinCommand pppconfig :
18	pppconfig.cpp
19	:
20	be libppp.a
21;
22
23# Installation -- in the test directory for the time being
24HaikuInstall install-networking
25	: [ FDirName $(HAIKU_TEST_DIR) kits net ]
26	: pppconfig ;
27
28Package haiku-networkingkit-cvs :
29	pppconfig :
30#	boot home config bin ;
31	boot home Desktop haiku-networkingkit ;
32