ebc4356c190a783f44d3224a5ef101519af4bd3d
[dragonfly.git] / sys / kern / Makefile
1 #       @(#)Makefile    8.2 (Berkeley) 3/21/94
2 # $FreeBSD: src/sys/kern/Makefile,v 1.6.2.1 2003/02/10 12:21:08 des Exp $
3 # $DragonFly: src/sys/kern/Makefile,v 1.11 2006/10/22 16:09:22 dillon Exp $
4
5 # Makefile for kernel tags files, init_sysent, etc.
6
7 TAGARCH= i386 # luna68k news3400 pmax sparc tahoe vax
8 SUBDIR= libmchain
9
10 # Kernel tags:
11 # Tags files are built in the top-level directory for each architecture,
12 # with a makefile listing the architecture-dependent files, etc.  The list
13 # of common files is in ./Make.tags.inc.  Links to the correct tags file
14 # are placed in each source directory.  We need to have links to tags files
15 # from the generic directories that are relative to the machine type, even
16 # via remote mounts; therefore we use symlinks to $SYSTAGS, which points at
17 # ${SYSDIR}/arch/${MACHINE_ARCH}/tags.
18
19 SYSTAGS=/var/db/sys_tags
20 SYSDIR=${.CURDIR:H}
21 MFLAGS=SYS=${SYSDIR}
22
23 # Directories in which to place tags links (other than machine-dependent)
24 DGEN=   conf \
25         dev \
26         kern libkern \
27         vfs vfs/deadfs vfs/fdesc vfs/fifofs \
28         vfs/nullfs vfs/portal vfs/procfs \
29         vfs/specfs vfs/union \
30         vfs/ufs vfs/mfs vfs/nfs \
31         net netinet netns sys \
32         vm
33
34 .include <bsd.subdir.mk>
35
36 sysent:
37         cd ${.CURDIR} && ${MAKE} -f Makefile.misc sysent
38
39 do_tags:
40         cd ${.CURDIR} && ${MAKE} -f Makefile.misc tags
41
42 do_links:
43         cd ${.CURDIR} && ${MAKE} -f Makefile.misc links
44