29 lines
		
	
	
		
			628 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			628 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # rts sources
 | |
| HERE=${NETBSDSRCDIR}/minix/lib/libc/arch/${ARCHSUBDIR}/sys
 | |
| .PATH: ${HERE}
 | |
| 
 | |
| TMP=ucontextoffsets.h.tmp
 | |
| CF=${HERE}/ucontextoffsets.cf
 | |
| 
 | |
| 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
 | |
| 
 | |
| ucontextoffsets.h: ${CF} 
 | |
| ucontextoffsets.h: ${NETBSDSRCDIR}/sys/sys/ucontext.h
 | |
| ucontextoffsets.h: ${NETBSDSRCDIR}/minix/include/arch/${MACHINE_ARCH}/include/stackframe.h
 | |
| ucontextoffsets.h: 
 | |
| 	${_MKTARGET_CREATE}
 | |
| 	cat ${CF} | \
 | |
| 		${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} >$TMP && \
 | |
| 	mv -f $TMP $@
 | |
| 
 | 
