1SubDir HAIKU_TOP src add-ons kernel network ppp modem ; 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 modem : 26 modem.cpp 27 ModemDevice.cpp 28 ACFCHandler.cpp 29; 30 31LinkAgainst modem : libkernelppp.a ; 32 33# Installation 34HaikuInstall install-networking 35 : /boot/home/config/add-ons/kernel/obos_network/ppp 36 : modem ; 37 38Package haiku-networkingkit-cvs : 39 modem : 40 boot home config add-ons kernel obos_network ppp ; 41