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/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 # $FreeBSD$
    2 
    3 .include <bsd.own.mk>
    4 
    5 # The boot loader
    6 .if ${MK_BOOT} != "no"
    7 SUBDIR= boot
    8 .endif
    9 
   10 # Directories to include in cscope name file and TAGS.
   11 CSCOPEDIRS=     bsm cam compat conf contrib crypto ddb dev fs geom gnu \
   12                 i4b isa kern libkern modules net net80211 netatalk netatm \
   13                 netgraph netinet netinet6 netipsec netipx netnatm netncp \
   14                 netsmb nfs nfsclient nfs4client rpc pccard pci security sys \
   15                 ufs vm ${ARCHDIR}
   16 
   17 ARCHDIR ?=      ${MACHINE}
   18 
   19 # Loadable kernel modules
   20 
   21 .if defined(MODULES_WITH_WORLD)
   22 SUBDIR+=modules
   23 .endif
   24 
   25 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
   26 
   27 # You need the devel/cscope port for this.
   28 cscope: ${.CURDIR}/cscopenamefile
   29         cd ${.CURDIR}; cscope -k -p4 -i cscopenamefile
   30 
   31 ${.CURDIR}/cscopenamefile: 
   32         cd ${.CURDIR}; find ${CSCOPEDIRS} -name "*.[csh]" > ${.TARGET}
   33 
   34 # You need the devel/global and one of editor/emacs* ports for that.
   35 TAGS ${.CURDIR}/TAGS:   ${.CURDIR}/cscopenamefile
   36         rm -f ${.CURDIR}/TAGS
   37         cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscopenamefile
   38 
   39 .include <bsd.subdir.mk>

Cache object: b3c9ebd686f160f1e4dbd07a46b26719


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