]> git.saurik.com Git - apple/libc.git/blobdiff - i386/gen/Makefile.inc
Libc-583.tar.gz
[apple/libc.git] / i386 / gen / Makefile.inc
index ed150c0cfabb2d0215f92998ce1a941cc0cd122b..e9bbd61950edca8d648a64bf2fec28f988105e8a 100644 (file)
@@ -1,5 +1,17 @@
-SRCS+=  abs.c        ecvt.c       memcpy.s     strcat.c     strncat.c \
-       bcmp.c       ffs.c        memmove.s    strcmp.c     strncmp.c \
-       bcopy.s      insque.c     remque.c     strcpy.c     strncpy.c \
-       bzero.s      isinf.c      setjmperr.c  strlen.c     mcount.s  \
-       bcopy_init.c
+.PATH: ${.CURDIR}/i386/gen
+MDSRCS+= _ctx_start.S \
+       _setcontext.S \
+       getcontext.S \
+       getmcontext.c \
+       icacheinval.s \
+       makecontext.c \
+       mcount.s \
+       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