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 $
3 # $DragonFly: src/lib/libc/i386/sys/Makefile.inc,v 1.8 2007/01/17 02:17:36 corecode Exp $
5 SRCS+= i386_clr_watch.c i386_get_ioperm.c i386_get_ldt.c i386_set_ioperm.c \
6 i386_set_ldt.c i386_set_watch.c i386_vm86.c
8 MDASM= Ovfork.S brk.S cerror.S exect.S fork.S getcontext.S pipe.S ptrace.S \
9 reboot.S rfork.S sbrk.S setlogin.S sigreturn.S syscall.S
11 # Don't generate default code for these syscalls:
12 NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \
13 lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \
14 munlockall.o openbsd_poll.o semconfig.o semget.o \
15 semop.o setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \
16 thr_sleep.o thr_wakeup.o truncate.o uname.o vfork.o yield.o
18 PSEUDO= _getlogin.o _exit.o
20 # getcontext.S needs certain offsets
22 # XXX this should be moved to a non-arch directory
24 CLEANFILES+= asmcontext.h asmcontext.o
26 GENASSYM= NM=nm sh ${.CURDIR}/../../sys/kern/genassym.sh
27 asmcontext.h: asmcontext.o
28 ${GENASSYM} ${.ALLSRC} > ${.TARGET}
31 MAN+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
32 MAN+= i386_set_watch.3
34 MLINKS+=i386_get_ioperm.2 i386_set_ioperm.2
35 MLINKS+=i386_get_ldt.2 i386_set_ldt.2
36 MLINKS+=i386_set_watch.3 i386_clr_watch.3