xref: /haiku/src/add-ons/kernel/network/protocols/udp/Jamfile (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
1SubDir HAIKU_TOP src add-ons kernel network protocols udp ;
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 ;
15
16KernelAddon udp :
17	udp.cpp
18;
19
20# Installation
21HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/protocols
22	: udp ;
23