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 domains.cpp 21 interfaces.cpp 22 net_buffer.cpp 23 net_socket.cpp 24 notifications.cpp 25 link.cpp 26 radix.c 27 routes.cpp 28 stack.cpp 29 stack_interface.cpp 30 utility.cpp 31 32 # for test purposes 33 #simple_net_buffer.cpp 34; 35 36# Installation 37HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network 38 : stack ; 39 40Package haiku-networkingkit-cvs : 41 haiku : 42 boot home config add-ons kernel haiku_network ; 43