xref: /haiku/src/bin/network/ppp_up/Jamfile (revision 632e56d8e514ba6ac41f582ce580e51a3cd8922e)
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	libppp.a be $(TARGET_LIBSUPC++) translation $(HAIKU_LOCALE_LIBS) root $(TARGET_NETWORK_LIBS)
31;
32
33# Installation
34HaikuInstall install-networking
35	: /boot/beos/bin
36	: ppp_up ;
37