Nearly missed this one.

List non-default asm sources in MDASM so that they replace the defaults.

For funny or incomplete syscalls, list them in NOASM to stop them
from getting built as defaults.
This commit is contained in:
John Birrell 1998-03-09 07:36:56 +00:00
parent 45dd718425
commit 0db2fac06a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34388
2 changed files with 40 additions and 2 deletions

View File

@ -1,8 +1,27 @@
# from: Makefile.inc,v 1.1 1993/09/03 19:04:23 jtc Exp
# $Id: Makefile.inc,v 1.6 1997/10/16 14:26:13 bde Exp $
# $Id: Makefile.inc,v 1.7 1997/10/16 14:41:25 bde Exp $
SRCS+= i386_get_ldt.c i386_set_ldt.c
# _thread_create.S
MDASM= Ovfork.S brk.S cerror.S exect.S fork.S pipe.S \
ptrace.S reboot.S rfork.S sbrk.S setlogin.S sigpending.S \
sigprocmask.S sigreturn.S sigsuspend.S syscall.S
# Don't generate default code for these syscalls:
NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \
lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \
munlockall.o openbsd_poll.o semconfig.o semget.o semop.o \
setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \
thr_sleep.o thr_wakeup.o truncate.o uname.o vfork.o yield.o
PSEUDO= _getlogin.o
# Pseudo syscalls that are renamed as _thread_sys_{pseudo} when
# building libc_r.
PSEUDOR= _exit.o
.if ${LIB} == "c"
MAN2+= i386_get_ldt.2

View File

@ -1,8 +1,27 @@
# from: Makefile.inc,v 1.1 1993/09/03 19:04:23 jtc Exp
# $Id: Makefile.inc,v 1.6 1997/10/16 14:26:13 bde Exp $
# $Id: Makefile.inc,v 1.7 1997/10/16 14:41:25 bde Exp $
SRCS+= i386_get_ldt.c i386_set_ldt.c
# _thread_create.S
MDASM= Ovfork.S brk.S cerror.S exect.S fork.S pipe.S \
ptrace.S reboot.S rfork.S sbrk.S setlogin.S sigpending.S \
sigprocmask.S sigreturn.S sigsuspend.S syscall.S
# Don't generate default code for these syscalls:
NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \
lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \
munlockall.o openbsd_poll.o semconfig.o semget.o semop.o \
setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \
thr_sleep.o thr_wakeup.o truncate.o uname.o vfork.o yield.o
PSEUDO= _getlogin.o
# Pseudo syscalls that are renamed as _thread_sys_{pseudo} when
# building libc_r.
PSEUDOR= _exit.o
.if ${LIB} == "c"
MAN2+= i386_get_ldt.2