1# from: Makefile.inc,v 1.1 1993/09/03 19:04:23 jtc Exp 2# $FreeBSD: src/lib/libc/amd64/sys/Makefile.inc,v 1.29 2003/10/23 06:07:09 peter Exp $ 3 4SRCS+= amd64_get_fsbase.c amd64_get_gsbase.c amd64_set_fsbase.c amd64_set_gsbase.c 5 6MDASM= vfork.S cerror.S exect.S getcontext.S pipe.S pipe2.S ptrace.S \ 7 reboot.S fake_sbrk.S setlogin.S sigreturn.S 8 9# Don't generate default code for these syscalls: 10NOASM= exit.o ftruncate.o getlogin.o \ 11 lseek.o mmap.o openbsd_poll.o pread.o \ 12 pwrite.o sstk.o truncate.o vfork.o yield.o \ 13 fork.o 14 15PSEUDO= _getlogin.o _exit.o 16 17# getcontext.S needs certain offsets 18# 19# XXX this should be moved to a non-arch directory 20SRCS+= asmcontext.h 21CLEANFILES+= asmcontext.h asmcontext.o 22 23GENASSYM= NM=nm sh ${.CURDIR}/../../sys/kern/genassym.sh 24asmcontext.h: asmcontext.o 25 ${GENASSYM} ${.ALLSRC} > ${.TARGET} 26 27