xref: /dragonfly/sys/kern/Makefile (revision 0bb9290e)
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.10 2006/05/14 18:07:29 swildner Exp $
4
5# Makefile for kernel tags files, init_sysent, etc.
6
7TAGARCH= i386 # luna68k news3400 pmax sparc tahoe vax
8SUBDIR= 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}/${MACHINE_ARCH}/tags.
18
19SYSTAGS=/var/db/sys_tags
20SYSDIR=${.CURDIR:H}
21MFLAGS=SYS=${SYSDIR}
22
23# Directories in which to place tags links (other than machine-dependent)
24DGEN=	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
36sysent:
37	cd ${.CURDIR} && ${MAKE} -f Makefile.misc sysent
38
39do_tags:
40	cd ${.CURDIR} && ${MAKE} -f Makefile.misc tags
41
42do_links:
43	cd ${.CURDIR} && ${MAKE} -f Makefile.misc links
44
45