Makefile.usermode revision 1.1
11.1Sjmcneill# $NetBSD: Makefile.usermode,v 1.1 2007/12/29 14:38:30 jmcneill Exp $
21.1Sjmcneill
31.1SjmcneillMACHINE_ARCH=			usermode
41.1SjmcneillUSETOOLS?=			no
51.1SjmcneillNEED_OWN_INSTALL_TARGET?=	no
61.1Sjmcneill.include <bsd.own.mk>
71.1Sjmcneill
81.1SjmcneillSYSTEM_LD=	${CC} -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
91.1Sjmcneill
101.1Sjmcneill##
111.1Sjmcneill## (1) port identification
121.1Sjmcneill##
131.1SjmcneillUSERMODE=	$S/arch/usermode
141.1SjmcneillGENASSYM_CONF=	${USERMODE}/usermode/genassym.cf
151.1Sjmcneill
161.1Sjmcneill##
171.1Sjmcneill## (2) compile settings
181.1Sjmcneill##
191.1SjmcneillDEFCOPTS=	-O2
201.1SjmcneillCPPFLAGS+=	-Dusermode -Dmalloc=kernmalloc
211.1SjmcneillAFLAGS+=	-x assembler-with-cpp -traditional-cpp
221.1Sjmcneill
231.1Sjmcneill##
241.1Sjmcneill## (3) libkern and compat
251.1Sjmcneill##
261.1SjmcneillKERN_AS=	obj
271.1Sjmcneill
281.1Sjmcneill##
291.1Sjmcneill## (4) local objects, compile rules, and dependencies
301.1Sjmcneill##
311.1SjmcneillMD_OBJS=
321.1SjmcneillMD_CFILES=
331.1SjmcneillMD_SFILES=
341.1Sjmcneill
351.1Sjmcneill##
361.1Sjmcneill## (5) link settings
371.1Sjmcneill##
381.1Sjmcneill
391.1Sjmcneill##
401.1Sjmcneill## (6) port specific target dependencies
411.1Sjmcneill##
421.1Sjmcneill
431.1Sjmcneill##
441.1Sjmcneill## (7) misc settings
451.1Sjmcneill##
461.1Sjmcneill
471.1Sjmcneill##
481.1Sjmcneill## (8) config(8) generated machinery
491.1Sjmcneill%INCLUDES
501.1Sjmcneill
511.1Sjmcneill%OBJS
521.1Sjmcneill
531.1Sjmcneill%CFILES
541.1Sjmcneill
551.1Sjmcneill%SFILES
561.1Sjmcneill
571.1Sjmcneill%LOAD
581.1Sjmcneill
591.1Sjmcneill%RULES
601.1Sjmcneill
611.1Sjmcneill##
621.1Sjmcneill## (9) port independent kernel machinery
631.1Sjmcneill##
641.1Sjmcneill.include "$S/conf/Makefile.kern.inc"
651.1Sjmcneill
661.1Sjmcneill##
671.1Sjmcneill## (10) appending make options
681.1Sjmcneill##
691.1Sjmcneill%MAKEOPTIONSAPPEND
70