# Standard Posix-complient C libraries and includes
# (O.S. and I/O independent)

SUBDIRS = sys/

XINCPATH = posix
XINCFILES += posix.h assert.h ctype.h dirent.h errno.h fcntl.h \
		limits.h setjmp.h signal.h stdarg.h \
		stddef.h stdio.h stdlib.h string.h time.h unistd.h
SRCFILES += string.C vsprintf.C sprintf.C atoi.C strtok.C
LIBFILES += libstdc.a
TARGETS += ${LIBFILES}

libstdc.a_OBJS += string.o vsprintf.o sprintf.o atoi.o strtok.o
libstdc.a: ${libstdc.a_OBJS}

all: ${TARGETS}
	${MAKE} sys/all
