(by linking them to haiku's libsocket.so and libbind.so). This in turn greatly simplifies building their respective userland version as they now are the same as the standard version. - added ping and traceroute to install-userland-networking pseudotarget git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17717 a95241bf-73f2-0310-859d-f6bbb57e9c96
32 lines
830 B
Plaintext
32 lines
830 B
Plaintext
SubDir HAIKU_TOP src bin arp ;
|
|
|
|
SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ;
|
|
|
|
if $(TARGET_PLATFORM) != haiku {
|
|
UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
|
|
# We need the public network headers also when not compiling for Haiku.
|
|
# Unfortunately we get more than we want, namely all POSIX headers.
|
|
}
|
|
|
|
UsePrivateHeaders net ;
|
|
|
|
BinCommand arp :
|
|
arp.c
|
|
: libbind.so libsocket.so $(SELECT_UNAME_ETC_LIB) ;
|
|
|
|
# Installation -- in the test directory for the time being
|
|
HaikuInstall install-networking
|
|
: [ FDirName $(HAIKU_TEST_DIR) kits net ]
|
|
: arp ;
|
|
|
|
HaikuInstall install-userland-networking
|
|
: [ FDirName $(HAIKU_TEST_DIR) kits net userland ]
|
|
: arp
|
|
: installed-userland-networking
|
|
;
|
|
|
|
Package haiku-networkingkit-cvs :
|
|
arp :
|
|
# boot home config bin ;
|
|
boot home Desktop haiku-networkingkit ;
|