SubDir HAIKU_TOP src add-ons kernel network protocols ipv4 ; SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM) != haiku { UseHeaders [ FStandardOSHeaders ] : true ; # Needed for and maybe other stuff. UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; # We need the public network headers also when not compiling for Haiku. # Unfortunately we get more than we want, namely all POSIX headers. } UsePrivateKernelHeaders ; UsePrivateHeaders net ; KernelAddon ipv4 : ipv4.cpp ipv4_address.cpp multicast.cpp ; # Installation HaikuInstall install-networking : /boot/home/config/add-ons/kernel/network/protocols : ipv4 ;