SubDir TOP base ;

Library libbase :
	base_cpudep.c
	base_error.c
	base_hash.c
	base_matrix.c
	base_memory.c
	base_rect.c
	base_rune.c
	base_cleanname.c
	;

if $(NEED_STRLCPY) { Library libbase : util_strlcpy.c ; }
if $(NEED_STRSEP) { Library libbase : util_strsep.c ; }
if $(NEED_GETOPT) { Library libbase : util_getopt.c ; }

# MSVC does not have gettimeofday()
if $(OS) = NT
{
    Library libbase : util_gettimeofday.c ;
}