xref: /haiku/src/bin/network/pppconfig/Jamfile (revision 5e96d7d537fbec23bad4ae9b4c8e7b02e769f0c6)
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