kernel - TMPFS - Initial port of NetBSD's tmpfs
[dragonfly.git] / sys / kern / Makefile
bloba55d8bdff523bc5d69fecc742fa7af4a89952a5b
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.13 2007/01/19 07:23:42 dillon Exp $
5 # Makefile for kernel tags files, init_sysent, etc.
7 TAGARCH= i386 # luna68k news3400 pmax sparc tahoe vax
8 SUBDIR= libmchain
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}/platform/${MACHINE_PLATFORM}/tags.
19 SYSTAGS=/var/db/sys_tags
20 SYSDIR=${.CURDIR:H}
21 MFLAGS=SYS=${SYSDIR}
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 vfs/tmpfs \
31 net netinet netns sys \
34 .include <bsd.subdir.mk>
36 sysent:
37 cd ${.CURDIR} && ${MAKE} -f Makefile.misc sysent
39 do_tags:
40 cd ${.CURDIR} && ${MAKE} -f Makefile.misc tags
42 do_links:
43 cd ${.CURDIR} && ${MAKE} -f Makefile.misc links