xref: /haiku/src/bin/network/arp/Jamfile (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1SubDir HAIKU_TOP src bin network arp ;
2
3SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ;
4
5if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
6	UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
7		# We need the public network headers also when not compiling for Haiku.
8		# Unfortunately we get more than we want, namely all POSIX headers.
9}
10
11UsePrivateHeaders net ;
12UsePrivateSystemHeaders ;
13
14BinCommand arp :
15	arp.cpp
16	: $(TARGET_NETWORK_LIBS) $(TARGET_SELECT_UNAME_ETC_LIB) ;
17
18# Installation -- in the test directory for the time being
19HaikuInstall install-networking
20	: [ FDirName $(HAIKU_TEST_DIR) kits net ]
21	: arp ;
22
23HaikuInstall install-userland-networking
24	: [ FDirName $(HAIKU_TEST_DIR) kits net userland ]
25	: arp
26	: installed-userland-networking
27;
28