libc - Return ENOSYS in both mlockall() / munlockall()
[dragonfly.git] / lib / libc / i386 / sys / Makefile.inc
CommitLineData
984263bc
MD
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 $
5ea6773f 3# $DragonFly: src/lib/libc/i386/sys/Makefile.inc,v 1.8 2007/01/17 02:17:36 corecode Exp $
984263bc
MD
4
5SRCS+= 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
7
e2742650
MD
8MDASM= 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
984263bc
MD
10
11# Don't generate default code for these syscalls:
12NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \
5b6d4784
AHJ
13 lseek.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \
14 openbsd_poll.o semconfig.o semget.o \
984263bc 15 semop.o setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \
3919ced0 16 truncate.o uname.o vfork.o yield.o
984263bc 17
b7f8657e 18PSEUDO= _getlogin.o _exit.o
984263bc 19
e2742650
MD
20# getcontext.S needs certain offsets
21#
5ea6773f 22# XXX this should be moved to a non-arch directory
e2742650 23SRCS+= asmcontext.h
5ea6773f 24CLEANFILES+= asmcontext.h asmcontext.o
e2742650 25
5ea6773f
SS
26GENASSYM= NM=nm sh ${.CURDIR}/../../sys/kern/genassym.sh
27asmcontext.h: asmcontext.o
28 ${GENASSYM} ${.ALLSRC} > ${.TARGET}
e2742650 29
984263bc
MD
30.if ${LIB} == "c"
31MAN+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
32MAN+= i386_set_watch.3
33
34MLINKS+=i386_get_ioperm.2 i386_set_ioperm.2
35MLINKS+=i386_get_ldt.2 i386_set_ldt.2
36MLINKS+=i386_set_watch.3 i386_clr_watch.3
37.endif