minix/lib/libc/arch/arm/sys-minix/Makefile.inc

28 lines
551 B
PHP
Raw Normal View History

2012-08-28 19:34:08 +02:00
# rts sources
HERE=${ARCHDIR}/sys-minix
2012-08-28 19:34:08 +02:00
.PATH: ${HERE}
TMP=ucontextoffsets.h.tmp
CF=${HERE}/ucontextoffsets.cf
2012-08-28 19:34:08 +02:00
INCS+=ucontextoffsets.h
ucontext.o: ucontextoffsets.h
2012-08-28 19:34:08 +02:00
SRCS+= \
__sigreturn.S \
_ipc.S \
_senda.S \
brksize.S \
ucontext.S
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}
cat ${CF} | \
2012-08-28 19:34:08 +02:00
${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} >$TMP && \
mv -f $TMP $@