1SubDir HAIKU_TOP src add-ons kernel network ppp pppoe ; 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 pppoe : 20 pppoe.cpp 21 PPPoEDevice.cpp 22 DiscoveryPacket.cpp 23; 24 25LinkAgainst pppoe : libkernelppp.a ; 26 27# Installation 28HaikuInstall install-networking 29 : /boot/home/config/add-ons/kernel/haiku/ppp 30 : pppoe ; 31