1SubDir HAIKU_TOP src add-ons kernel network stack ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5if $(TARGET_PLATFORM) != haiku { 6 UseHeaders [ FStandardOSHeaders ] : true ; 7 # Needed for <support/Errors.h> and maybe other stuff. 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 13 14UsePrivateHeaders kernel net ; 15 16KernelAddon stack : 17 datalink.cpp 18 domains.cpp 19 interfaces.cpp 20 net_buffer.cpp 21 net_socket.cpp 22 link.cpp 23 radix.c 24 routes.cpp 25 stack.cpp 26 utility.cpp 27; 28 29# Installation 30HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network 31 : stack ; 32 33Package haiku-networkingkit-cvs : 34 haiku : 35 boot home config add-ons kernel haiku_network ; 36