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 13UsePrivateKernelHeaders ; 14UsePrivateHeaders net bluetooth ; 15 16KernelAddon l2cap : 17 l2cap.cpp 18 l2cap_address.cpp 19 l2cap_command.cpp 20 l2cap_signal.cpp 21 l2cap_lower.cpp 22 l2cap_upper.cpp 23# Stack subModules 24 L2capEndpoint.cpp 25; 26 27# Installation 28HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/protocols 29 : l2cap ; 30