]> git.saurik.com Git - apple/libc.git/blob - x86_64/gen/Makefile.inc
ea860f1814504c99588730f7bcaddf526cd3bde8
[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
15 .for _src in makecontext.c setcontext.c swapcontext.c
16 CFLAGS-${_src} += -fomit-frame-pointer
17 # -pg and -fomit-frame-pointer don't work together, so just use -g
18 ${_src:R}.po: ${_src} _STANDARD_DEBUG
19 .endfor