use a single libc and deduplicate threading code
[uclibc-ng.git] / libc / sysdeps / linux / i386 / Makefile.arch
blob581e10a5e67fffabb72ca2812b8572793d05c3d2
1 # Makefile for uClibc
3 # Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
5 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
8 CSRC-y := brk.c __syscall_error.c sigaction.c
10 SSRC-y := \
11         __longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \
12         sync_file_range.S syscall.S mmap.S
14 SSRC-$(UCLIBC_HAS_LFS) += mmap64.S
15 SSRC-$(if $(findstring yy,$(UCLIBC_HAS_ADVANCED_REALTIME)$(UCLIBC_HAS_LFS)),y) += posix_fadvise64.S
16 SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += vfork.S clone.S
17 SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.S setcontext.S getcontext.S swapcontext.S