1SubDir HAIKU_TOP src add-ons kernel network datalink_protocols loopback_frame ; 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 13UsePrivateHeaders kernel net ; 14 15KernelAddon loopback_frame : 16 loopback_frame.cpp 17; 18 19# Installation 20HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/datalink_protocols 21 : loopback_frame ; 22