xref: /haiku/src/add-ons/kernel/network/protocols/udp/Jamfile (revision 44d5675324128d940518aaf7f2096efe9965db3a)
1c22d69bfSAxel DörflerSubDir HAIKU_TOP src add-ons kernel network protocols udp ;
2c22d69bfSAxel Dörfler
3c22d69bfSAxel DörflerSetSubDirSupportedPlatformsBeOSCompatible ;
4c22d69bfSAxel Dörfler
5c22d69bfSAxel Dörflerif $(TARGET_PLATFORM) != haiku {
6c22d69bfSAxel Dörfler	UseHeaders [ FStandardOSHeaders ] : true ;
7c22d69bfSAxel Dörfler		# Needed for <support/Errors.h> and maybe other stuff.
8c22d69bfSAxel Dörfler	UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
9c22d69bfSAxel Dörfler		# We need the public network headers also when not compiling for Haiku.
10c22d69bfSAxel Dörfler		# Unfortunately we get more than we want, namely all POSIX headers.
11c22d69bfSAxel Dörfler}
12c22d69bfSAxel Dörfler
13*44d56753SJérôme DuvalUsePrivateHeaders kernel net ;
14c22d69bfSAxel Dörfler
15c22d69bfSAxel DörflerKernelAddon udp : kernel haiku_network protocols :
16c22d69bfSAxel Dörfler	udp.cpp
17c22d69bfSAxel Dörfler;
18c22d69bfSAxel Dörfler
19c22d69bfSAxel Dörfler# Installation
20c22d69bfSAxel DörflerHaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/protocols
21c22d69bfSAxel Dörfler	: udp ;
22c22d69bfSAxel Dörfler
23c22d69bfSAxel DörflerPackage haiku-networkingkit-cvs :
24c22d69bfSAxel Dörfler	haiku :
25c22d69bfSAxel Dörfler	boot home config add-ons kernel haiku_network protocols ;
26