26 lines
518 B
PHP
26 lines
518 B
PHP
|
# rts sources
|
||
|
HERE=${.CURDIR}/arch/${MACHINE_ARCH}/sys-minix
|
||
|
.PATH: ${HERE}
|
||
|
|
||
|
TMP=ucontextoffsets.h.tmp
|
||
|
INCLS=../../include
|
||
|
ARCHINCLS=$(INCLS)/arch/arm/include/
|
||
|
CF=ucontextoffsets.cf
|
||
|
|
||
|
INCS+=ucontextoffsets.h
|
||
|
|
||
|
ucontext.d: ucontextoffsets.h
|
||
|
|
||
|
SRCS+= \
|
||
|
__sigreturn.S \
|
||
|
_ipc.S \
|
||
|
_senda.S \
|
||
|
brksize.S \
|
||
|
ucontext.S
|
||
|
|
||
|
ucontextoffsets.h: $(CF) $(ARCHINCLS)/stackframe.h $(INCLS)/sys/ucontext.h
|
||
|
${_MKTARGET_CREATE}
|
||
|
cat ${HERE}/$(CF) | \
|
||
|
${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} >$TMP && \
|
||
|
mv -f $TMP $@
|