1SubDir HAIKU_TOP src add-ons kernel network ppp ppp_manager ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4SubDirC++Flags -fno-rtti ; 5 6if $(TARGET_PLATFORM) != haiku { 7 UseHeaders [ FStandardOSHeaders ] : true ; 8 UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; 9 # We need the public network headers also when not compiling for Haiku. 10 # Unfortunately we get more than we want, namely all POSIX headers. 11} 12 13UsePrivateKernelHeaders ; 14 # UsePrivateHeaders net ; 15 16UsePrivateHeaders kernel net ; 17UsePrivateHeaders [ FDirName kernel ] ; 18UsePrivateHeaders [ FDirName kernel util ] ; 19 20UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared 21 libkernelppp headers ] : true ; 22 23KernelAddon KPPPManager : 24 KPPPManager.cpp 25; 26 27LinkAgainst KPPPManager : libkernelppp.a ; 28 29# Installation 30HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/ppp 31 : KPPPManager ; 32