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/arch/arm64/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.2 2017/01/22 03:27:31 tb Exp $
    2 
    3 .include <bsd.own.mk>    # for KEEPKERNELS
    4 
    5 S=      ${.CURDIR}/../..
    6 KFILE=  GENERIC
    7 .if exists(conf/GENERIC.MP)
    8 KFILE=  GENERIC.MP
    9 .endif
   10 TDIRS=  ${_arch} include
   11 TAGS=   ${.CURDIR}/tags
   12 
   13 NOPROG=
   14 NOMAN=
   15 NOOBJ=
   16 SUBDIR= stand
   17 .if !defined(KEEPKERNELS) || !(make(clean) || make(cleandir))
   18 SUBDIR+=compile
   19 .endif
   20 
   21 # config the fattest kernel we can find into a temporary dir
   22 # to create a Makefile.  Then use make to pull some variables
   23 # out and push them into the sub-shell to expand the paths,
   24 # and finally run ctags.
   25 tags::
   26         TDIR=`mktemp -d /tmp/_tagXXXXXXXXXX` || exit 1; \
   27         eval "S=${S}" && \
   28         config -s ${S} -b $${TDIR} ${.CURDIR}/conf/${KFILE} && \
   29         eval "_arch=\"`make -V _arch -f $${TDIR}/Makefile`\"" && \
   30         eval "_mach=\"`make -V _mach -f $${TDIR}/Makefile`\"" && \
   31         eval "_machdir=\$S/arch/$${_mach}" && \
   32         eval "_archdir=\$S/arch/$${_arch}" && \
   33         eval "HFILES=\"`find $S \( -path $S/'arch' -o -path $S/stand -o -path $S/lib/libsa -o -path $S'/lib/libkern/arch' \) -prune -o -name '*.h'; find $${_machdir} $${_archdir} $S/lib/libkern/arch/$${_mach} \( -name boot -o -name stand \) -prune -o -name '*.h'`\"" && \
   34         eval "SFILES=\"`make -V SFILES -f $${TDIR}/Makefile`\"" && \
   35         eval "CFILES=\"`make -V CFILES -f $${TDIR}/Makefile`\"" && \
   36         eval "AFILES=\"`make -V AFILES -f $${TDIR}/Makefile`\"" && \
   37         ctags -wd -f ${TAGS} $${CFILES} $${HFILES} && \
   38         egrep "^[_A-Z]*ENTRY[_A-Z]*\(.*\)" $${SFILES} $${AFILES} | \
   39             sed "s;\\([^:]*\\):\\([^(]*\\)(\\([^, )]*\\)\\(.*\\);\\3    \\1     /^\\2(\\3\\4$$/;" \
   40             >> ${TAGS} && \
   41         sort -o ${TAGS} ${TAGS} && \
   42         rm -rf $${TDIR}
   43 
   44 links:
   45         -for i in conf ${TDIRS}; do \
   46             (cd $$i && rm -f tags; ln -s tags tags); done
   47 
   48 obj:    _SUBDIRUSE
   49 
   50 .include <bsd.prog.mk>

Cache object: 5622ca002cd8c7f716d22ff8d89afc5b


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