]> git.saurik.com Git - apple/libc.git/blob - i386/gen/Makefile.inc
f759c8009b1a6d76ecbb4c948eba5e947262954e
[apple/libc.git] / i386 / gen / Makefile.inc
1 .PATH: ${.CURDIR}/i386/gen
2
3 MDSRCS+= _ctx_start.S \
4 _setcontext.S \
5 getcontext.S \
6 getmcontext.c \
7 icacheinval.s \
8 makecontext.c \
9 mcount.s \
10 setcontext.c \
11 setjmperr.c \
12 swapcontext.c \
13 cpu_number.s
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
20
21 CFLAGS += -I${.CURDIR}/i386/gen
22
23 DYLDSRCS += icacheinval.s \
24 cpu_number.s