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 14UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ; 15UsePrivateHeaders net shared ; 16 17KernelAddon stack : 18 ancillary_data.cpp 19 datalink.cpp 20 device_interfaces.cpp 21 domains.cpp 22 interfaces.cpp 23 net_buffer.cpp 24 net_socket.cpp 25 notifications.cpp 26 link.cpp 27 #radix.c 28 routes.cpp 29 stack.cpp 30 stack_interface.cpp 31 utility.cpp 32 33 # for test purposes 34 #simple_net_buffer.cpp 35; 36 37# Installation 38HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network 39 : stack ; 40 41Package haiku-networkingkit-cvs : 42 haiku : 43 boot home config add-ons kernel haiku_network ; 44