xref: /haiku/src/bin/network/ppp_up/Jamfile (revision 6e82e428596071bbde44e296d04740f1f5d54d03)
1SubDir HAIKU_TOP src bin network ppp_up ;
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 app libroot shared interface libbe be root tracker textencoding
13			root ;
14
15UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libppp
16	headers ] : true ;
17UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared
18	libkernelppp headers ] : true ;
19
20AddResources ppp_up : ppp_up.rdef ;
21
22BinCommand ppp_up :
23	ConnectionView.cpp
24	ConnectionWindow.cpp
25	PPPDeskbarReplicant.cpp
26	PPPStatusView.cpp
27	PPPStatusWindow.cpp
28	PPPUpApplication.cpp
29	:
30	be libppp.a [ TargetLibsupc++ ] translation $(HAIKU_LOCALE_LIBS) libbsd.so $(TARGET_NETWORK_LIBS)
31;
32
33# Installation
34HaikuInstall install-ppp
35    : /boot/home/config/non-packaged/bin
36    : ppp_up ;
37