1SubDir HAIKU_TOP src add-ons kernel network datalink_protocols ethernet_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 ethernet_frame : 16 ethernet_frame.cpp 17; 18 19# Installation 20HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/datalink_protocols 21 : ethernet_frame ; 22 23Package haiku-networkingkit-cvs : 24 haiku : 25 boot home config add-ons kernel haiku_network datalink_protocols ; 26