2011-02-17 18:11:09 +01:00
|
|
|
# rts sources
|
2013-01-13 17:20:11 +01:00
|
|
|
HERE=${ARCHDIR}/sys-minix
|
2012-06-19 04:16:41 +02:00
|
|
|
.PATH: ${HERE}
|
|
|
|
|
|
|
|
TMP=ucontextoffsets.h.tmp
|
2013-01-13 17:20:11 +01:00
|
|
|
CF=${HERE}/ucontextoffsets.cf
|
2012-06-19 04:16:41 +02:00
|
|
|
|
|
|
|
INCS+=ucontextoffsets.h
|
|
|
|
|
2013-01-13 17:20:11 +01:00
|
|
|
ucontext.o: ucontextoffsets.h
|
2011-02-17 18:11:09 +01:00
|
|
|
|
|
|
|
SRCS+= \
|
|
|
|
__sigreturn.S \
|
2013-11-01 13:34:14 +01:00
|
|
|
_do_kernel_call_intr.S \
|
2011-02-17 18:11:09 +01:00
|
|
|
_ipc.S \
|
|
|
|
brksize.S \
|
2013-11-01 13:34:14 +01:00
|
|
|
get_minix_kerninfo.S \
|
2011-02-17 18:11:09 +01:00
|
|
|
ucontext.S
|
2012-06-19 04:16:41 +02:00
|
|
|
|
2013-01-13 17:20:11 +01:00
|
|
|
ucontextoffsets.h: ${CF}
|
|
|
|
ucontextoffsets.h: ${NETBSDSRCDIR}/sys/sys/ucontext.h
|
|
|
|
ucontextoffsets.h: ${NETBSDSRCDIR}/include/arch/${MACHINE_ARCH}/include/stackframe.h
|
|
|
|
ucontextoffsets.h:
|
2012-06-19 04:16:41 +02:00
|
|
|
${_MKTARGET_CREATE}
|
2013-01-13 17:20:11 +01:00
|
|
|
cat ${CF} | \
|
2012-06-19 04:16:41 +02:00
|
|
|
${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} >$TMP && \
|
|
|
|
mv -f $TMP $@
|
|
|
|
|