SubDir HAIKU_TOP src bin diffutils lib ;

# filter warnings we don't want here
TARGET_WARNING_CCFLAGS = [ FFilter $(TARGET_WARNING_CCFLAGS)
	: -Wall -Wmissing-prototypes -Wsign-compare ] ;

SubDirCcFlags -DHAVE_CONFIG_H ;
SubDirSysHdrs $(SUBDIR) ;
SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
SubDirSysHdrs [ FDirName $(HAIKU_TOP) headers ] ;

StaticLibrary libdiffutils.a : 
#	alloca.c
	basename.c
	c-stack.c
	cmpbuf.c
	error.c
	exclude.c
	exitfail.c
	fnmatch.c
	freesoft.c
	getopt.c
	getopt1.c
	hard-locale.c
	imaxtostr.c
	malloc.c
	memchr.c
	mkstemp.c
	offtostr.c
	posixver.c
	prepargs.c
	quotesys.c
	realloc.c
	regex.c
	setmode.c
	strcasecmp.c
	strftime.c
	strtol.c
	strtoul.c
	strtoull.c
	strtoumax.c
	tempname.c
	umaxtostr.c
	waitpid.c
	xmalloc.c
	xstrtol.c
	xstrtoumax.c
;
