about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64/Makefile
blob: 9c9e6151d1a3f27e9d9da41a89147c5df140179b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
syscall-list-variants := 32bit 64bit
syscall-list-32bit-options := -D__i386__ -U__x86_64__
syscall-list-32bit-condition := __WORDSIZE == 32
syscall-list-64bit-options := -U__i386__ -D__x86_64__
syscall-list-64bit-condition := __WORDSIZE == 64

ifeq ($(subdir),misc)
sysdep_routines += ioperm iopl
sysdep_headers += sys/perm.h sys/reg.h sys/debugreg.h sys/io.h
endif

ifeq ($(subdir),stdlib)
sysdep_routines += __start_context
endif

ifeq ($(subdir),csu)
gen-as-const-headers += ucontext_i.sym
endif

ifeq ($(subdir),elf)
sysdep_routines += dl-vdso
endif