1SubDir HAIKU_TOP src add-ons kernel network protocols icmp6 ; 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 ; 15UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network protocols ] : true ; 16UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network datalink_protocols ] : true ; 17 18KernelAddon icmp6 : 19 icmp6.cpp 20; 21 22# Installation 23HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/protocols 24 : icmp6 ; 25