xref: /haiku/src/add-ons/kernel/network/devices/loopback/Jamfile (revision 9ecf9d1c1d4888d341a6eac72112c72d1ae3a4cb)
1SubDir HAIKU_TOP src add-ons kernel network devices loopback ;
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 net ;
14
15KernelAddon loopback : kernel haiku_network devices :
16	loopback.cpp
17;
18
19# Installation
20HaikuInstall install-networking : /boot/home/config/add-ons/kernel/haiku_network/devices
21	: loopback ;
22
23Package haiku-networkingkit-cvs :
24	haiku :
25	boot home config add-ons kernel haiku_network protocols ;
26