SubDir HAIKU_TOP src bin network ping ; SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ; if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) { 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. } BinCommand ping : ping.c : $(TARGET_NETWORK_LIBS) $(TARGET_SELECT_UNAME_ETC_LIB) ; # Installation -- in the test directory for the time being HaikuInstall install-networking : [ FDirName $(HAIKU_TEST_DIR) kits net ] : ping ; HaikuInstall install-userland-networking : [ FDirName $(HAIKU_TEST_DIR) kits net userland ] : ping : installed-userland-networking ; Package haiku-networkingkit-cvs : ping : # boot home config bin ; boot home Desktop haiku-networkingkit ;