Makefile.ia64 revision 1.1
1#	$NetBSD: Makefile.ia64,v 1.1 2006/04/07 14:21:18 cherry Exp $
2
3# Makefile for NetBSD
4#
5# This makefile is constructed from a machine description:
6#	config machineid
7# Most changes should be made in the machine description
8#	/sys/arch/ia64/conf/``machineid''
9# after which you should do
10#	config machineid
11# Machine generic makefile changes should be made in
12#	/sys/arch/ia64/conf/Makefile.ia64
13# after which config should be rerun for all machines of that type.
14#
15# To specify debugging, add the config line: makeoptions DEBUG="-g"
16# A better way is to specify -g only for a few files.
17#
18#	makeoptions DEBUGLIST="uvm* trap if_*"
19
20MACHINE_ARCH=	ia64
21USETOOLS?=	no
22NEED_OWN_INSTALL_TARGET?=no
23.include <bsd.own.mk>
24
25##
26## (1) port identification
27##
28IA64=		$S/arch/ia64
29GENASSYM_CONF=	${IA64}/ia64/genassym.cf
30
31##
32## (2) compile settings
33##
34CPPFLAGS+=	-mconstant-gp -Dia64
35AFLAGS+=	-x assembler-with-cpp -Wa,-x 
36
37##
38## (3) libkern and compat
39##
40KERN_AS=	obj
41
42##
43## (4) local objects, compile rules, and dependencies
44##
45MD_OBJS=	locore.o 
46MD_CFILES=
47MD_SFILES=	${IA64}/ia64/locore.S
48
49locore.o: ${IA64}/ia64/locore.S assym.h
50	${NORMAL_S}
51##
52## (5) link settings
53##
54##TEXTADDR?=	0xdeadbeeffeeddead
55LINKFLAGS_NORMAL=	-X
56KERN_LDSCRIPT?=	kern.ldscript
57LINKFORMAT=	-T ${IA64}/conf/${KERN_LDSCRIPT}
58
59##
60## (6) port specific target dependencies
61##
62
63clock.o: config_time.h
64
65##
66## (7) misc settings
67##
68
69##
70## (8) config(8) generated machinery
71##
72%INCLUDES
73
74%OBJS
75
76%CFILES
77
78%SFILES
79
80%LOAD
81
82%RULES
83
84
85##
86## (9) port independent kernel machinery
87##
88.include "$S/conf/Makefile.kern.inc"
89
90##
91## (10) Appending make options.
92##
93%MAKEOPTIONSAPPEND
94