xref: /haiku/src/add-ons/kernel/network/ppp/pap/Jamfile (revision 8a6724a0ee3803f1e9f487d8111bb3f6cb8d16db)
1SubDir HAIKU_TOP src add-ons kernel network ppp pap ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4SubDirC++Flags -fno-rtti ;
5
6if $(TARGET_PLATFORM) != haiku {
7	UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
8		# We need the public network headers also when not compiling for Haiku.
9		# Unfortunately we get more than we want, namely all POSIX headers.
10}
11
12UsePrivateKernelHeaders ;
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
19KernelAddon pap :
20	pap.cpp
21	Protocol.cpp
22;
23
24LinkAgainst pap : libkernelppp.a ;
25
26# Installation
27HaikuInstall install-networking
28	: /boot/home/config/add-ons/kernel/haiku_network/ppp
29	: pap ;
30