summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/Makefile.arch
blob: e7fd28eea329d5005ad2e6dfe71394ffbadb5c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 := brk.c __syscall_error.c sigaction.c

SSRC := \
	__longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \
	sync_file_range.S syscall.S mmap.S mmap64.S

ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y)
SSRC += posix_fadvise64.S
endif

ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
SSRC += vfork.S clone.S
endif

ifeq ($(UCLIBC_HAS_CONTEXT_FUNCS),y)
SSRC += makecontext.S setcontext.S getcontext.S swapcontext.S
endif