xref: /haiku/src/add-ons/kernel/network/ppp/pppoe/Jamfile (revision 040a81419dda83d1014e9dc94936a4cb3f027303)
1SubDir HAIKU_TOP src add-ons kernel network ppp pppoe ;
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 pppoe :
26	pppoe.cpp
27	PPPoEDevice.cpp
28	DiscoveryPacket.cpp
29;
30
31LinkAgainst pppoe : libkernelppp.a ;
32
33# Installation
34HaikuInstall install-networking
35	: /boot/home/config/add-ons/kernel/obos_network/ppp
36	: pppoe ;
37