cc2dbb21e5
it causes undefined references to getcontext() and setcontext() on platforms other than i386 and alpha.
48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
SRCS+= _setjmp.S fabs.S frexp.c infinity.c isinf.c ldexp.c modf.c setjmp.S
|
|
SRCS+= flt_rounds.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c \
|
|
fpsetround.c fpsetsticky.c
|
|
|
|
SRCS+= sigsetjmp.S
|
|
SRCS+= __divqu.S __divq.S __divlu.S __divl.S
|
|
SRCS+= __remqu.S __remq.S __remlu.S __reml.S
|
|
SRCS+= rfork_thread.S
|
|
SRCS+= _ctx_start.S getcontext.S makecontext.c swapcontext.c
|
|
|
|
CLEANFILES+= __divqu.S __divq.S __divlu.S __divl.S
|
|
CLEANFILES+= __remqu.S __remq.S __remlu.S __reml.S
|
|
|
|
|
|
__divqu.S: ${.CURDIR}/../libc/alpha/gen/divrem.m4
|
|
m4 -DNAME=__divqu -DOP=div -DS=false -DWORDSIZE=64 \
|
|
${.ALLSRC} > ${.TARGET}
|
|
|
|
__divq.S: ${.CURDIR}/../libc/alpha/gen/divrem.m4
|
|
m4 -DNAME=__divq -DOP=div -DS=true -DWORDSIZE=64 \
|
|
${.ALLSRC} > ${.TARGET}
|
|
|
|
__divlu.S: ${.CURDIR}/../libc/alpha/gen/divrem.m4
|
|
m4 -DNAME=__divlu -DOP=div -DS=false -DWORDSIZE=32 \
|
|
${.ALLSRC} > ${.TARGET}
|
|
|
|
__divl.S: ${.CURDIR}/../libc/alpha/gen/divrem.m4
|
|
m4 -DNAME=__divl -DOP=div -DS=true -DWORDSIZE=32 \
|
|
${.ALLSRC} > ${.TARGET}
|
|
|
|
__remqu.S: ${.CURDIR}/../libc/alpha/gen/divrem.m4
|
|
m4 -DNAME=__remqu -DOP=rem -DS=false -DWORDSIZE=64 \
|
|
${.ALLSRC} > ${.TARGET}
|
|
|
|
__remq.S: ${.CURDIR}/../libc/alpha/gen/divrem.m4
|
|
m4 -DNAME=__remq -DOP=rem -DS=true -DWORDSIZE=64 \
|
|
${.ALLSRC} > ${.TARGET}
|
|
|
|
__remlu.S: ${.CURDIR}/../libc/alpha/gen/divrem.m4
|
|
m4 -DNAME=__remlu -DOP=rem -DS=false -DWORDSIZE=32 \
|
|
${.ALLSRC} > ${.TARGET}
|
|
|
|
__reml.S: ${.CURDIR}/../libc/alpha/gen/divrem.m4
|
|
m4 -DNAME=__reml -DOP=rem -DS=true -DWORDSIZE=32 \
|
|
${.ALLSRC} > ${.TARGET}
|