xref: /haiku/src/add-ons/kernel/network/ppp/pap/Jamfile (revision f73f5d4c42a01ece688cbb57b5d332cc0f68b2c6)
1SubDir HAIKU_TOP src add-ons kernel network ppp pap ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5if $(TARGET_PLATFORM) != haiku {
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
11# for kernel_cpp.h and BLocker
12UseHeaders [ FDirName $(HAIKU_TOP) headers cpp ] : true ;
13UsePrivateHeaders net ;
14UsePrivateHeaders [ FDirName kernel ] ;
15UsePrivateHeaders [ FDirName kernel util ] ;
16UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared
17	libkernelppp headers ] : true ;
18
19
20{
21	SubDirC++Flags -fno-rtti ;
22}
23
24
25KernelAddon pap :
26	pap.cpp
27	Protocol.cpp
28;
29
30LinkAgainst pap : libkernelppp.a ;
31
32# Installation
33HaikuInstall install-networking
34	: /boot/home/config/add-ons/kernel/obos_network/ppp
35	: pap ;
36