X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/5f4d86c1219d56604890d932a3152b3b5dd15b55..34e8f8296870d0e8695f90e1a54240a589d41312:/x86_64/gen/Makefile.inc diff --git a/x86_64/gen/Makefile.inc b/x86_64/gen/Makefile.inc index 698fd5c..ea860f1 100644 --- a/x86_64/gen/Makefile.inc +++ b/x86_64/gen/Makefile.inc @@ -1,6 +1,19 @@ # searching i386 directory as a fallback to avoid unnecessary code duplication .PATH: ${.CURDIR}/x86_64/gen ${.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