SubDir HAIKU_TOP src add-ons kernel network ppp ppp_manager ; SetSubDirSupportedPlatformsBeOSCompatible ; SubDirC++Flags -fno-rtti ; if $(TARGET_PLATFORM) != haiku { UseHeaders [ FStandardOSHeaders ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; # We need the public network headers also when not compiling for Haiku. # Unfortunately we get more than we want, namely all POSIX headers. } UsePrivateKernelHeaders ; # UsePrivateHeaders net ; UsePrivateHeaders kernel net ; UsePrivateHeaders [ FDirName kernel ] ; UsePrivateHeaders [ FDirName kernel util ] ; UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp headers ] : true ; KernelAddon KPPPManager : KPPPManager.cpp ; LinkAgainst KPPPManager : libkernelppp.a ; # Installation HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/ppp : KPPPManager ;