Sync ACPICA with Intel's version 20150619.
[dragonfly.git] / lib / libc / i386 / sys / Makefile.inc
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
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
6
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
9
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
14
15 PSEUDO= _getlogin.o _exit.o
16
17 # getcontext.S needs certain offsets
18 #
19 # XXX this should be moved to a non-arch directory
20 SRCS+= asmcontext.h
21 CLEANFILES+= asmcontext.h asmcontext.o
22
23 GENASSYM= NM=nm sh ${.CURDIR}/../../sys/kern/genassym.sh
24 asmcontext.h: asmcontext.o
25         ${GENASSYM} ${.ALLSRC} > ${.TARGET}
26
27 .if ${LIB} == "c"
28 MAN+=   i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
29 MAN+=   i386_set_watch.3
30
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
34 .endif