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/conf/makeLINT.mk

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 # The LINT files need to end up in the kernel source directory.
    4 .OBJDIR: ${.CURDIR}
    5 
    6 all:
    7         @echo "make LINT only"
    8 
    9 clean:
   10         rm -f LINT
   11 .if ${TARGET} == "amd64" || ${TARGET} == "i386"
   12         rm -f LINT-VIMAGE LINT-NOINET LINT-NOINET6 LINT-NOIP
   13 .endif
   14 .if ${TARGET} == "powerpc"
   15         rm -f LINT64
   16 .endif
   17 
   18 NOTES=  ${.CURDIR}/../../conf/NOTES ${.CURDIR}/NOTES
   19 MAKELINT_SED= ${.CURDIR}/../../conf/makeLINT.sed
   20 LINT: ${NOTES} ${MAKELINT_SED}
   21         cat ${NOTES} | sed -E -n -f ${MAKELINT_SED} > ${.TARGET}
   22 .if ${TARGET} == "amd64" || ${TARGET} == "i386"
   23         echo "include ${.TARGET}"       >  ${.TARGET}-VIMAGE
   24         echo "ident ${.TARGET}-VIMAGE"  >> ${.TARGET}-VIMAGE
   25         echo "options VIMAGE"           >> ${.TARGET}-VIMAGE
   26         echo "include ${.TARGET}"       >  ${.TARGET}-NOINET
   27         echo "ident ${.TARGET}-NOINET"  >> ${.TARGET}-NOINET
   28         echo 'makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="'  >> ${.TARGET}-NOINET
   29         echo "nooptions INET"           >> ${.TARGET}-NOINET
   30         echo "nodevice gre"             >> ${.TARGET}-NOINET
   31         echo "include ${.TARGET}"       >  ${.TARGET}-NOINET6
   32         echo "ident ${.TARGET}-NOINET6" >> ${.TARGET}-NOINET6
   33         echo 'makeoptions MKMODULESENV+="WITHOUT_INET6_SUPPORT="' >> ${.TARGET}-NOINET6
   34         echo "nooptions INET6"          >> ${.TARGET}-NOINET6
   35         echo "include ${.TARGET}"       >  ${.TARGET}-NOIP
   36         echo "ident ${.TARGET}-NOIP"    >> ${.TARGET}-NOIP
   37         echo 'makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="'  >> ${.TARGET}-NOIP
   38         echo 'makeoptions MKMODULESENV+="WITHOUT_INET6_SUPPORT="' >> ${.TARGET}-NOIP
   39         echo "nooptions INET"           >> ${.TARGET}-NOIP
   40         echo "nooptions INET6"          >> ${.TARGET}-NOIP
   41         echo "nodevice age"             >> ${.TARGET}-NOIP
   42         echo "nodevice alc"             >> ${.TARGET}-NOIP
   43         echo "nodevice ale"             >> ${.TARGET}-NOIP
   44         echo "nodevice bxe"             >> ${.TARGET}-NOIP
   45         echo "nodevice em"              >> ${.TARGET}-NOIP
   46         echo "nodevice fxp"             >> ${.TARGET}-NOIP
   47         echo "nodevice igb"             >> ${.TARGET}-NOIP
   48         echo "nodevice jme"             >> ${.TARGET}-NOIP
   49         echo "nodevice msk"             >> ${.TARGET}-NOIP
   50         echo "nodevice mxge"            >> ${.TARGET}-NOIP
   51         echo "nodevice sge"             >> ${.TARGET}-NOIP
   52         echo "nodevice sk"              >> ${.TARGET}-NOIP
   53         echo "nodevice txp"             >> ${.TARGET}-NOIP
   54         echo "nodevice vxge"            >> ${.TARGET}-NOIP
   55 .endif
   56 .if ${TARGET} == "mips"
   57         echo "machine   ${TARGET} ${TARGET_ARCH}" >> ${.TARGET}
   58 .endif
   59 .if ${TARGET} == "powerpc"
   60         # cat is available, not sure if cp is?
   61         cat ${.TARGET} > ${.TARGET}64
   62         echo "machine   ${TARGET} powerpc" >> ${.TARGET}
   63         echo "machine   ${TARGET} powerpc64" >> ${.TARGET}64
   64 .endif

Cache object: 40325015ea46b0e6aa7c1ec90503abe1


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