1SubDir HAIKU_TOP src bin network ping ; 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 11BinCommand ping : 12 ping.c 13 : $(TARGET_NETWORK_LIBS) $(TARGET_SELECT_UNAME_ETC_LIB) ; 14 15# Installation -- in the test directory for the time being 16HaikuInstall install-networking 17 : [ FDirName $(HAIKU_TEST_DIR) kits net ] 18 : ping ; 19 20HaikuInstall install-userland-networking 21 : [ FDirName $(HAIKU_TEST_DIR) kits net userland ] 22 : ping 23 : installed-userland-networking 24; 25 26Package haiku-networkingkit-cvs : 27 ping : 28# boot home config bin ; 29 boot home Desktop haiku-networkingkit ; 30 31