Makefile.usermode revision 1.1 1 # $NetBSD: Makefile.usermode,v 1.1 2007/12/29 14:38:30 jmcneill Exp $
2
3 MACHINE_ARCH= usermode
4 USETOOLS?= no
5 NEED_OWN_INSTALL_TARGET?= no
6 .include <bsd.own.mk>
7
8 SYSTEM_LD= ${CC} -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
9
10 ##
11 ## (1) port identification
12 ##
13 USERMODE= $S/arch/usermode
14 GENASSYM_CONF= ${USERMODE}/usermode/genassym.cf
15
16 ##
17 ## (2) compile settings
18 ##
19 DEFCOPTS= -O2
20 CPPFLAGS+= -Dusermode -Dmalloc=kernmalloc
21 AFLAGS+= -x assembler-with-cpp -traditional-cpp
22
23 ##
24 ## (3) libkern and compat
25 ##
26 KERN_AS= obj
27
28 ##
29 ## (4) local objects, compile rules, and dependencies
30 ##
31 MD_OBJS=
32 MD_CFILES=
33 MD_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