]> git.saurik.com Git - apple/libc.git/blobdiff - i386/gen/Makefile.inc
Libc-583.tar.gz
[apple/libc.git] / i386 / gen / Makefile.inc
index 4ae845f3b01424f176c8500ba3b298538d4928e8..e9bbd61950edca8d648a64bf2fec28f988105e8a 100644 (file)
@@ -1,4 +1,17 @@
 .PATH: ${.CURDIR}/i386/gen
-MDSRCS+= icacheinval.s \
+MDSRCS+= _ctx_start.S \
+       _setcontext.S \
+       getcontext.S \
+       getmcontext.c \
+       icacheinval.s \
+       makecontext.c \
        mcount.s \
-       setjmperr.c
+       setcontext.c \
+       setjmperr.c \
+       swapcontext.c
+
+.for _src in makecontext.c setcontext.c swapcontext.c
+CFLAGS-${_src} += -fomit-frame-pointer
+# -pg and -fomit-frame-pointer don't work together, so just use -g
+${_src:R}.po: ${_src} _STANDARD_DEBUG
+.endfor