1 SubDir HAIKU_TOP src bin network traceroute ;
3 SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ;
5 if ! $(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.
11 local defines = [ FDefines HAVE_MALLOC_H=1 HAVE_SYS_SELECT=1 HAVE_NET_ROUTE_H=1
12 HAVE_STRERROR=1 HAVE_USLEEP=1 HAVE_SETLINEBUF=1
13 BYTESWAP_IP_HDR=1 HAVE_MALLOC_H=1
14 HAVE_ICMP_NEXTMTU=1 HAVE_SOCKADDR_SA_LEN=1 ] ;
16 SubDirCcFlags $(defines) ;
17 SubDirC++Flags $(defines) ;
19 BinCommand traceroute :
24 : $(TARGET_NETWORK_LIBS) $(TARGET_SELECT_UNAME_ETC_LIB) ;
26 # Installation -- in the test directory for the time being
27 HaikuInstall install-networking
28 : [ FDirName $(HAIKU_TEST_DIR) kits net ]
31 HaikuInstall install-userland-networking
32 : [ FDirName $(HAIKU_TEST_DIR) kits net userland ]
34 : installed-userland-networking