]> git.saurik.com Git - apple/libc.git/blob - x86_64/gen/Makefile.inc
ef0825d34cf1ee2523f7d0f781408ad813342e69
[apple/libc.git] / x86_64 / gen / Makefile.inc
1 # searching i386 directory as a fallback to avoid unnecessary code duplication
2 .PATH: ${.CURDIR}/x86_64/gen ${.CURDIR}/i386/gen
3
4 MDSRCS+= _ctx_start.S \
5 _setcontext.S \
6 getcontext.S \
7 getmcontext.c \
8 icacheinval.s \
9 makecontext.c \
10 mcount.s \
11 setcontext.c \
12 setjmperr.c \
13 swapcontext.c \
14 cpu_number.s
15
16 .for _src in makecontext.c setcontext.c swapcontext.c
17 CFLAGS-${_src} += -fomit-frame-pointer
18 # -pg and -fomit-frame-pointer don't work together, so just use -g
19 ${_src:R}.po: ${_src} _STANDARD_DEBUG
20 .endfor