65a6d893ba
syscalls, unless WITHOUT_SYSCALL_COMPAT is defined. The default case will have the .c wrappers still. If you define WITHOUT_SYSCALL_COMPAT, the .c wrappers will go away and libc will make direct syscalls. After 7-stable starts, the direct syscall method will be default. Approved by: re (kensmith)
29 lines
935 B
Makefile
29 lines
935 B
Makefile
# from: Makefile.inc,v 1.1 1993/09/03 19:04:23 jtc Exp
|
|
# $FreeBSD$
|
|
|
|
.if !defined(COMPAT_32BIT)
|
|
SRCS+= i386_clr_watch.c i386_get_ioperm.c \
|
|
i386_set_ioperm.c i386_set_watch.c i386_vm86.c
|
|
.endif
|
|
SRCS+= i386_get_fsbase.c i386_get_gsbase.c i386_get_ldt.c \
|
|
i386_set_fsbase.c i386_set_gsbase.c i386_set_ldt.c
|
|
|
|
MDASM= Ovfork.S brk.S cerror.S exect.S getcontext.S pipe.S ptrace.S \
|
|
reboot.S sbrk.S setlogin.S sigreturn.S syscall.S
|
|
|
|
# Don't generate default code for these syscalls:
|
|
NOASM= break.o exit.o getdomainname.o getlogin.o openbsd_poll.o \
|
|
setdomainname.o sstk.o uname.o vfork.o yield.o
|
|
|
|
PSEUDO= _getlogin.o _exit.o
|
|
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
|
.endif
|
|
|
|
MAN+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
|
|
MAN+= i386_set_watch.3
|
|
|
|
MLINKS+=i386_get_ioperm.2 i386_set_ioperm.2
|
|
MLINKS+=i386_get_ldt.2 i386_set_ldt.2
|
|
MLINKS+=i386_set_watch.3 i386_clr_watch.3
|