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/kern/Makefile

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 #       $OpenBSD: Makefile,v 1.52 2022/10/01 23:49:38 deraadt Exp $
    2 
    3 # Makefile for kernel tags files, init_sysent, etc.
    4 
    5 ARCH=   alpha amd64 armv7 arm64 \
    6         hppa i386 landisk loongson \
    7         luna88k macppc octeon \
    8         sparc64
    9 
   10 all:
   11         @echo "Doing nothing.  Did you want make syscalls?"
   12 
   13 syscalls:       init_sysent.c
   14 
   15 SYSCALLSRC = makesyscalls.sh syscalls.master
   16 init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscallargs.h: ${SYSCALLSRC}
   17         sh makesyscalls.sh syscalls.master
   18 
   19 # Kernel tags:
   20 # tags files are built in the top-level directory for each architecture.
   21 # Links to the correct tags file are placed in each source directory.
   22 # We need to have links to tags files
   23 # from the generic directories that are relative to the machine type, even
   24 # via remote mounts; therefore we use symlinks to $SYSTAGS, which points at
   25 # ${SYSDIR}/${MACHINE}/tags.
   26 
   27 SYSTAGS=/var/db/sys_tags
   28 SYSDIR=/sys
   29 
   30 # Directories in which to place tags links (other than machine-dependent)
   31 DGEN=   conf \
   32         ddb \
   33         dev dev/eisa dev/ic dev/isa dev/pci dev/pcmcia dev/cardbus \
   34         dev/sun dev/tc \
   35         isofs isofs/cd9660 \
   36         kern \
   37         lib/libkern lib/libkern/arch/${MACHINE} \
   38         lib/libkern/arch/${MACHINE_ARCH} \
   39         miscfs miscfs/deadfs miscfs/fifofs \
   40         msdosfs \
   41         net netinet netinet6 netmpls \
   42         nfs \
   43         scsi \
   44         sys \
   45         ufs ufs/ffs ufs/mfs ufs/ufs \
   46         uvm
   47 
   48 tags::
   49         -for i in ${ARCH}; do \
   50             (cd ../arch/$$i && make ${MFLAGS} tags); done
   51 
   52 links::
   53         rm -f ${SYSTAGS}
   54         ln -s ${SYSDIR}/arch/${MACHINE}/tags ${SYSTAGS}
   55         -for i in ${DGEN}; do \
   56             (cd ../$$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
   57         -for i in ${ARCH}; do \
   58             (cd ../arch/$$i && make ${MFLAGS} SYSTAGS=${SYSTAGS} links); done

Cache object: 012670baf926267260f2cbb2b523d309


[ 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.