xref: /haiku/src/bin/network/arp/Jamfile (revision 7e8ac2903b840f54bd891019fac17f2e28cbbc0c)
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 ;
12UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ;
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
29Package haiku-networkingkit-cvs :
30	arp :
31#	boot home config bin ;
32	boot home Desktop haiku-networkingkit ;
33
34