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/6.4/sys/Makefile 182663 2008-09-01 23:52:54Z obrien $
    2 
    3 .if ${MACHINE_ARCH} == "arm"
    4 NO_BOOT=
    5 .endif
    6 
    7 # The boot loader
    8 .if !defined(NO_BOOT)
    9 SUBDIR= boot
   10 .endif
   11 
   12 # Directories to include in cscope name file and TAGS.
   13 CSCOPEDIRS=     coda compat conf contrib crypto ddb dev fs gnu i4b isa \
   14                 isofs kern libkern modules net netatalk netatm netgraph \
   15                 netinet netinet6 netipx netkey netnatm netncp netsmb nfs \
   16                 nfsclient nfs4client rpc pccard pci posix4 sys ufs vm \
   17                 ${CSCOPE_ARCHDIR}
   18 .if defined(ALL_ARCH)
   19 CSCOPE_ARCHDIR ?= amd64 arm i386 ia64 pc98 powerpc sparc64 sun4v
   20 .else
   21 CSCOPE_ARCHDIR ?= ${MACHINE}
   22 .endif
   23 
   24 # Loadable kernel modules
   25 
   26 .if defined(MODULES_WITH_WORLD)
   27 SUBDIR+=modules
   28 .endif
   29 
   30 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
   31 
   32 cscope: cscope.out
   33 cscope.out: ${.CURDIR}/cscope.files
   34         cd ${.CURDIR}; cscope -k -buq -p4
   35 
   36 ${.CURDIR}/cscope.files: .PHONY
   37         cd ${.CURDIR}; \
   38                 find ${CSCOPEDIRS} -name "*.[chSs]" -a -type f > ${.TARGET}
   39 
   40 cscope-clean:
   41         rm -f cscope.files cscope.out cscope.in.out cscope.po.out
   42 
   43 # You need the devel/global and one of editor/emacs* ports for that.
   44 TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
   45         rm -f ${.CURDIR}/TAGS
   46         cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscope.files
   47 
   48 .include <bsd.subdir.mk>

Cache object: 1d99798e114997039b0d0d1bb0d9fafd


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