SubDir HAIKU_TOP src bin network netcat ;

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 netcat :
	netcat.c
	: $(TARGET_NETWORK_LIBS)
;
