1SubDir HAIKU_TOP src add-ons kernel network protocols tcp ; 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 13UsePrivateKernelHeaders ; 14UsePrivateHeaders net ; 15 16KernelAddon tcp : 17 tcp.cpp 18 TCPEndpoint.cpp 19 BufferQueue.cpp 20 EndpointManager.cpp 21; 22 23# Installation 24HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/protocols 25 : tcp ; 26