1 # from: Makefile.inc,v 1.1 1993/09/03 19:04:23 jtc Exp
2 # $FreeBSD: src/lib/libc/i386/sys/Makefile.inc,v 1.17.2.3 2002/10/15 19:46:46 fjoe Exp $
4 SRCS+= i386_clr_watch.c i386_get_ioperm.c i386_get_ldt.c i386_set_ioperm.c \
5 i386_set_ldt.c i386_set_watch.c i386_vm86.c
7 MDASM= Ovfork.S brk.S cerror.S exect.S fork.S getcontext.S pipe.S ptrace.S \
8 reboot.S rfork.S sbrk.S setlogin.S sigreturn.S syscall.S
10 # Don't generate default code for these syscalls:
11 NOASM= break.o exit.o ftruncate.o getdomainname.o getlogin.o \
12 lseek.o mmap.o openbsd_poll.o setdomainname.o sstk.o \
13 truncate.o uname.o vfork.o yield.o fork.o
15 PSEUDO= _getlogin.o _exit.o
17 # getcontext.S needs certain offsets
19 # XXX this should be moved to a non-arch directory
21 CLEANFILES+= asmcontext.h asmcontext.o
23 GENASSYM= NM=nm sh ${.CURDIR}/../../sys/kern/genassym.sh
24 asmcontext.h: asmcontext.o
25 ${GENASSYM} ${.ALLSRC} > ${.TARGET}
28 MAN+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
29 MAN+= i386_set_watch.3
31 MLINKS+=i386_get_ioperm.2 i386_set_ioperm.2
32 MLINKS+=i386_get_ldt.2 i386_set_ldt.2
33 MLINKS+=i386_set_watch.3 i386_clr_watch.3