Makefile.usermode revision 1.1
1# $NetBSD: Makefile.usermode,v 1.1 2007/12/29 14:38:30 jmcneill Exp $
2
3MACHINE_ARCH=			usermode
4USETOOLS?=			no
5NEED_OWN_INSTALL_TARGET?=	no
6.include <bsd.own.mk>
7
8SYSTEM_LD=	${CC} -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
9
10##
11## (1) port identification
12##
13USERMODE=	$S/arch/usermode
14GENASSYM_CONF=	${USERMODE}/usermode/genassym.cf
15
16##
17## (2) compile settings
18##
19DEFCOPTS=	-O2
20CPPFLAGS+=	-Dusermode -Dmalloc=kernmalloc
21AFLAGS+=	-x assembler-with-cpp -traditional-cpp
22
23##
24## (3) libkern and compat
25##
26KERN_AS=	obj
27
28##
29## (4) local objects, compile rules, and dependencies
30##
31MD_OBJS=
32MD_CFILES=
33MD_SFILES=
34
35##
36## (5) link settings
37##
38
39##
40## (6) port specific target dependencies
41##
42
43##
44## (7) misc settings
45##
46
47##
48## (8) config(8) generated machinery
49%INCLUDES
50
51%OBJS
52
53%CFILES
54
55%SFILES
56
57%LOAD
58
59%RULES
60
61##
62## (9) port independent kernel machinery
63##
64.include "$S/conf/Makefile.kern.inc"
65
66##
67## (10) appending make options
68##
69%MAKEOPTIONSAPPEND
70