⛏️ index : haiku.git

SubDir HAIKU_TOP src tests add-ons kernel network protocols tcp ;

UseLegacyHeaders network ;
UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
UsePrivateHeaders net ;

SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel network protocols tcp ] ;

Addon <userland>tcp :
	tcp.c
	tcp_debug.c
	tcp_input.c
	tcp_output.c
	tcp_timer.c
	arc4random.c
	: <installed-userland-networking>net_stack_tester
;

# Installation -- in the test directory for the time being
HaikuInstall install-userland-networking 
	: [ FDirName $(HAIKU_TEST_DIR) kits net userland add-ons obos_network protocols ]
	: <userland>tcp
	: installed-userland-networking
;