2012-08-28 19:34:08 +02:00
|
|
|
# rts sources
|
2013-01-13 17:20:11 +01:00
|
|
|
HERE=${ARCHDIR}/sys-minix
|
2012-08-28 19:34:08 +02:00
|
|
|
.PATH: ${HERE}
|
|
|
|
|
|
|
|
TMP=ucontextoffsets.h.tmp
|
2013-01-13 17:20:11 +01:00
|
|
|
CF=${HERE}/ucontextoffsets.cf
|
2012-08-28 19:34:08 +02:00
|
|
|
|
|
|
|
INCS+=ucontextoffsets.h
|
|
|
|
|
2013-01-13 17:20:11 +01:00
|
|
|
ucontext.o: ucontextoffsets.h
|
2012-08-28 19:34:08 +02:00
|
|
|
|
|
|
|
SRCS+= \
|
|
|
|
__sigreturn.S \
|
2013-11-01 13:34:14 +01:00
|
|
|
_do_kernel_call_intr.S \
|
2012-08-28 19:34:08 +02:00
|
|
|
_ipc.S \
|
|
|
|
brksize.S \
|
2013-11-01 13:34:14 +01:00
|
|
|
get_minix_kerninfo.S \
|
2012-08-28 19:34:08 +02:00
|
|
|
ucontext.S
|
|
|
|
|
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-08-28 19:34:08 +02:00
|
|
|
${_MKTARGET_CREATE}
|
2013-01-13 17:20:11 +01:00
|
|
|
cat ${CF} | \
|
2012-08-28 19:34:08 +02:00
|
|
|
${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} >$TMP && \
|
|
|
|
mv -f $TMP $@
|
2012-11-15 12:06:41 +01:00
|
|
|
|