The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/conf/sysent.mk

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD$
    2 
    3 # Don't use an OBJDIR
    4 .OBJDIR: ${.CURDIR}
    5 
    6 .include <bsd.sysdir.mk>
    7 
    8 COMMON_GENERATED=       proto.h         \
    9                         syscall.h       \
   10                         syscalls.c      \
   11                         sysent.c        \
   12                         systrace_args.c
   13 
   14 GENERATED_PREFIX?=
   15 GENERATED?=     ${COMMON_GENERATED:S/^/${GENERATED_PREFIX}/}
   16 SYSENT_FILE?=   syscalls.master
   17 SYSENT_CONF?=   syscalls.conf
   18 
   19 # Including Makefile should override SYSENT_FILE and SYSENT_CONF as needed,
   20 # and set GENERATED.
   21 SRCS+=  ${SYSENT_FILE}
   22 SRCS+=  ${SYSENT_CONF}
   23 
   24 MAKESYSCALLS_INTERP?=   sh
   25 MAKESYSCALLS_SCRIPT?=   ${SYSDIR}/kern/makesyscalls.sh
   26 MAKESYSCALLS=   ${MAKESYSCALLS_INTERP} ${MAKESYSCALLS_SCRIPT}
   27 
   28 all:
   29         @echo "make sysent only"
   30 
   31 # We .ORDER these explicitly so that we only run MAKESYSCALLS once, rather than
   32 # potentially once for each ${GENERATED} file.
   33 .ORDER: ${GENERATED}
   34 sysent: ${GENERATED}
   35 
   36 ${GENERATED}: ${MAKESYSCALLS_SCRIPT} ${SRCS}
   37         ${MAKESYSCALLS} ${SYSENT_FILE} ${SYSENT_CONF}

Cache object: d8ab656b9750a7ff354a98af8fcf582f


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.