# Makefile for uClibc
#
# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#

CSRC := __syscall_error.c pread_write.c ioctl.c

SSRC := \
	__longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S brk.S \
	__uClibc_syscall.S syscall.S
ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
SSRC += clone.S vfork.S
endif

ifeq ($(CONFIG_E500),y)
ARCH_HEADERS := fenv.h
endif