SubDir HAIKU_TOP src bin bash lib sh ;

SetSubDirSupportedPlatformsBeOSCompatible ;

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

SubDirCcFlags -DHAVE_CONFIG_H -DSHELL ;

SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ;
SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) include ] ;
SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;

StaticLibrary libsh.a : 
	clktck.c
	clock.c
	getcwd.c
	getenv.c
	oslib.c
	setlinebuf.c
	strcasecmp.c
	strerror.c
	strtod.c
	strtol.c
	strtoul.c
	vprint.c
	itos.c
	rename.c
	zread.c
	zwrite.c
	shtty.c
	inet_aton.c
	netconn.c
	netopen.c
	strpbrk.c
	timeval.c
	makepath.c
	pathcanon.c
	pathphys.c
	tmpfile.c
	stringlist.c
	stringvec.c
	spell.c
	shquote.c
	strtrans.c
	strindex.c
	snprintf.c
	mailstat.c
	fmtulong.c
	fmtullong.c
	fmtumax.c
	shmatch.c
	strnlen.c
	strtoll.c
	strtoull.c
	strtoimax.c
	strtoumax.c
	memset.c
	strstr.c
	mktime.c
	strftime.c
	xstrchr.c
	zcatfd.c
	zmapfd.c
	winsize.c
	eaccess.c
	wcsdup.c
	fpurge.c
	zgetline.c
	mbscmp.c
	uconvert.c
	ufuncs.c
	casemod.c
	fdprintf.c
	input_avail.c
;
