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  -  FREEBSD11  -  FREEBSD10  -  FREEBSD9  -  FREEBSD92  -  FREEBSD91  -  FREEBSD90  -  FREEBSD8  -  FREEBSD82  -  FREEBSD81  -  FREEBSD80  -  FREEBSD7  -  FREEBSD74  -  FREEBSD73  -  FREEBSD72  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD: releng/9.2/sys/Makefile 235743 2012-05-21 21:29:59Z jhb $
    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 ofed opencrypto \
   15                 pci rpc security sys ufs vm xdr xen ${CSCOPE_ARCHDIR}
   16 .if !defined(CSCOPE_ARCHDIR)
   17 .if defined(ALL_ARCH)
   18 CSCOPE_ARCHDIR = amd64 arm i386 ia64 mips pc98 powerpc sparc64 x86
   19 .else
   20 CSCOPE_ARCHDIR = ${MACHINE} 
   21 .if ${MACHINE} != ${MACHINE_CPUARCH}
   22 CSCOPE_ARCHDIR += ${MACHINE_CPUARCH}
   23 .endif
   24 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
   25 CSCOPE_ARCHDIR += x86
   26 .endif
   27 .endif
   28 .endif
   29 
   30 # Loadable kernel modules
   31 
   32 .if defined(MODULES_WITH_WORLD)
   33 SUBDIR+=modules
   34 .endif
   35 
   36 HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
   37 
   38 # You need the devel/cscope port for this.
   39 cscope: cscope.out
   40 cscope.out: ${.CURDIR}/cscope.files
   41         cd ${.CURDIR}; cscope -k -buq -p4
   42 
   43 ${.CURDIR}/cscope.files: .PHONY
   44         cd ${.CURDIR}; \
   45                 find ${CSCOPEDIRS} -name "*.[chSsly]" -a -type f > ${.TARGET}
   46 
   47 cscope-clean:
   48         rm -f cscope.files cscope.out cscope.in.out cscope.po.out
   49 
   50 # You need the devel/global and one of editor/emacs* ports for that.
   51 TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
   52         rm -f ${.CURDIR}/TAGS
   53         cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscope.files
   54 
   55 # You need the textproc/glimpse ports for this.
   56 glimpse:
   57 .if !exists(${.CURDIR}/.glimpse_exclude)
   58         echo .svn > ${.CURDIR}/.glimpse_exclude
   59         echo /compile/ >> ${.CURDIR}/.glimpse_exclude
   60 .endif
   61         cd ${.CURDIR}; glimpseindex -H . -B -f -o .
   62 
   63 glimpse-clean:
   64         cd ${.CURDIR}; rm -f .glimpse_*
   65 
   66 .include <bsd.subdir.mk>

Cache object: 1f6cc0d185dbdc9a380fab3a66df7c62


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