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: releng/8.1/sys/Makefile 192578 2009-05-22 12:35:12Z rwatson $
    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=     boot bsm cam cddl compat conf contrib crypto ddb dev fs gdb \
   12                 geom gnu isa kern libkern modules net net80211 netatalk \
   13                 netgraph netinet netinet6 netipsec netipx netnatm netncp \
   14                 netsmb nfs nfsclient nfsserver nlm opencrypto \
   15                 pci rpc security sys ufs vm xdr ${CSCOPE_ARCHDIR}
   16 .if defined(ALL_ARCH)
   17 CSCOPE_ARCHDIR ?= amd64 arm i386 ia64 mips pc98 powerpc sparc64 sun4v
   18 .else
   19 CSCOPE_ARCHDIR ?= ${MACHINE}
   20 .endif
   21 
   22 # Loadable kernel modules
   23 
   24 .if defined(MODULES_WITH_WORLD)
   25 SUBDIR+=modules
   26 .endif
   27 
   28 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
   29 
   30 # You need the devel/cscope port for this.
   31 cscope: cscope.out
   32 cscope.out: ${.CURDIR}/cscope.files
   33         cd ${.CURDIR}; cscope -k -buq -p4
   34 
   35 ${.CURDIR}/cscope.files: .PHONY
   36         cd ${.CURDIR}; \
   37                 find ${CSCOPEDIRS} -name "*.[chSs]" -a -type f > ${.TARGET}
   38 
   39 cscope-clean:
   40         rm -f cscope.files cscope.out cscope.in.out cscope.po.out
   41 
   42 # You need the devel/global and one of editor/emacs* ports for that.
   43 TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
   44         rm -f ${.CURDIR}/TAGS
   45         cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscope.files
   46 
   47 # You need the textproc/glimpse ports for this.
   48 glimpse:
   49 .if !exists(${.CURDIR}/.glimpse_exclude)
   50         echo .svn > ${.CURDIR}/.glimpse_exclude
   51         echo /compile/ >> ${.CURDIR}/.glimpse_exclude
   52 .endif
   53         cd ${.CURDIR}; glimpseindex -H . -B -f -o .
   54 
   55 glimpse-clean:
   56         cd ${.CURDIR}; rm -f .glimpse_*
   57 
   58 .include <bsd.subdir.mk>

Cache object: 492ba11c0f7d07693487a41ab799fb86


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