# 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 atoi.C strtok.C
TARGETS += libstdc.a


LIBSTDCOBJS += string.o vsprintf.o atoi.o strtok.o

libstdc.a: ${LIBSTDCOBJS}
	ar rc libstdc.a ${LIBSTDCOBJS}
	ranlib libstdc.a

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