[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/kern/Makefile

Version: -  FREEBSD  -  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  -  cheribsd  -  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  -  FREEBSD-LIBC  -  FREEBSD8-LIBC  -  FREEBSD7-LIBC  -  FREEBSD6-LIBC  -  GLIBC27 
SearchContext: -  none  -  3  -  10 

    1 #       $NetBSD: Makefile,v 1.14 2005/12/11 12:24:29 christos Exp $
    2 #
    3 #       from: @(#)Makefile      8.2 (Berkeley) 3/21/94
    4 
    5 # Makefile for kernel tags files, init_sysent, etc.
    6 
    7 .include <bsd.sys.mk>           # for HOST_SH
    8 
    9 all:
   10         @echo "make tags, links, init_sysent.c, or vnode_if.c only"
   11         @false
   12 
   13 SYSCALLSRC = makesyscalls.sh syscalls.conf syscalls.master
   14 init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscallargs.h: ${SYSCALLSRC}
   15         ${HOST_SH} makesyscalls.sh syscalls.conf syscalls.master
   16 
   17 VNODEIFSRC = vnode_if.sh vnode_if.src
   18 vnode_if.c ../sys/vnode_if.h: ${VNODEIFSRC}
   19         ${HOST_SH} vnode_if.sh vnode_if.src
   20 
   21 
   22 # Kernel tags:
   23 # Tags files are built in the top-level directory for each architecture,
   24 # with a makefile listing the architecture-dependent files, etc.  The list
   25 # of common files is in ./Make.tags.inc.  Links to the correct tags file
   26 # are placed in each source directory.  We need to have links to tags files
   27 # from the generic directories that are relative to the machine type, even
   28 # via remote mounts; therefore we use symlinks to $SYSTAGS, which points at
   29 # ${SYSDIR}/arch/${MACHINE}/tags.
   30 
   31 # Note: only a couple of architectures are currently working right. Add more
   32 # to ARCH as you fix them. Use the i386 as a model.
   33 
   34 ARCH=   i386 mac68k
   35 
   36 SYSTAGS=/var/db/sys_tags
   37 SYSDIR=..
   38 
   39 .ifmake links
   40 # Directories in which to place tags links (other than machine-dependent):
   41 # The invocation below returns every directory that contains sources, the idea
   42 # being, in the face of a constantly varying source tree, that this will be
   43 # easier to maintain than a fixed list.
   44 DGEN!=  (cd ${SYSDIR};                                                  \
   45             find -H . -name arch -prune -o -name "*.[chs]" -print |     \
   46             sed -e 's@^\./@@' -e 's@/[^/]*\..*@@' | sort -t / -u )
   47 .endif
   48 
   49 tags::
   50         -for i in ${ARCH}; do \
   51             (cd ../arch/$$i && ${MAKE} ${MFLAGS} tags); done
   52 
   53 links::
   54         rm -f ${SYSTAGS}
   55         ln -s ${SYSDIR}/arch/${MACHINE}/tags ${SYSTAGS}
   56         -for i in ${DGEN}; do \
   57             (cd ../$$i && { rm -f tags; ln -s ${SYSTAGS} tags; }); done
   58         -for i in ${ARCH}; do \
   59             (cd ../arch/$$i && ${MAKE} ${MFLAGS} SYSTAGS=${SYSTAGS} links); done

Cache object: 0000c0c43704484806a23189717cf966


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