xref: /haiku/src/bin/network/traceroute/Jamfile (revision 21258e2674226d6aa732321b6f8494841895af5f)
1SubDir HAIKU_TOP src bin network traceroute ;
2
3local defines = [ FDefines HAVE_MALLOC_H=1 HAVE_SYS_SELECT=1 HAVE_NET_ROUTE_H=1
4			   HAVE_STRERROR=1 HAVE_USLEEP=1 HAVE_SETLINEBUF=1
5			   BYTESWAP_IP_HDR=1 HAVE_MALLOC_H=1
6			   HAVE_ICMP_NEXTMTU=1 HAVE_SOCKADDR_SA_LEN=1 ] ;
7
8SubDirCcFlags $(defines) ;
9SubDirC++Flags $(defines) ;
10
11BinCommand traceroute :
12	findsaddr-haiku.c
13	ifaddrlist.c
14	traceroute.c
15	version.c
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	: traceroute ;
22
23HaikuInstall install-userland-networking
24	: [ FDirName $(HAIKU_TEST_DIR) kits net userland ]
25	: traceroute
26	: installed-userland-networking
27;
28