1SubDir HAIKU_TOP src add-ons kernel network protocols l2cap ; 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 bluetooth ; 14 15KernelAddon l2cap : 16 l2cap.cpp 17 l2cap_address.cpp 18 l2cap_command.cpp 19; 20 21# Installation 22HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/protocols 23 : l2cap ; 24 25Package haiku-networkingkit-cvs : 26 haiku : 27 boot home config add-ons kernel haiku_network protocols ; 28