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

29 lines
589 B
PHP
Raw Normal View History

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