Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 1998 23:22:13 -0800 (PST)
From:      John Birrell <jb@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   cvs commit: src/lib/libc/sys Makefile.inc
Message-ID:  <199803090722.XAA07170@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jb          1998/03/08 23:22:13 PST

  Modified files:
    lib/libc/sys         Makefile.inc 
  Log:
  Yikes, this is the worst of the lot. Bruce suggested doing this (!).
  
  Include the architecture specific sys makefile like previously, but
  what this contains differs. It defines MDASM which list architecture
  specific asm code that *replaces* syscalls of the same name defined
  in MIASM (which gets defined by the syscall.mk or netbsd_syscall.mk
  dependent of NETBSD_SYSCALLS being defined). If a syscall has a
  C source implementation or something funny done to it, or just doesn't
  need default asm source generated for it, then it is listed in NOASM.
  
  syscall.mk is generated by makesyscalls.sh with other syscall files.
  netbsd_syscall.mk is a hand-generated equivalent. So if a new syscall
  is added and no other makefiles are edited, it will automatically have
  the default asm source generated for it (whether you want it or not).
  
  Anything listed in MDASM gets added to SRCS and gets built. For
  each syscall name in MIASM, if it doesn't exist in MDASM or NOASM,
  it gets added to the ASM or ASMR lists to have code generated for it.
  If the syscall name was listed in HIDDEN_SYSCALLS (intended for use
  by libc_r, not libc which has it defined, but empty), then the name
  is added to the ASMR list and gets renamed before being built;
  otherwise it is added to the ASM list and gets built with the same
  name.
  
  I wonder if this is too complicated. But it works on both i386 and alpha.
  
  Revision  Changes    Path
  1.47      +45 -56    src/lib/libc/sys/Makefile.inc

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803090722.XAA07170>