1 # $NetBSD: Makefile.ia64,v 1.1 2006/04/07 14:21:18 cherry Exp $
5 # This makefile is constructed from a machine description:
7 # Most changes should be made in the machine description
8 # /sys/arch/ia64/conf/``machineid''
9 # after which you should do
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.
15 # To specify debugging, add the config line: makeoptions DEBUG="-g"
16 # A better way is to specify -g only for a few files.
18 # makeoptions DEBUGLIST="uvm* trap if_*"
22 NEED_OWN_INSTALL_TARGET?=no
26 ## (1) port identification
29 GENASSYM_CONF= ${IA64}/ia64/genassym.cf
32 ## (2) compile settings
34 CPPFLAGS+= -mconstant-gp -Dia64
35 AFLAGS+= -x assembler-with-cpp -Wa,-x
38 ## (3) libkern and compat
43 ## (4) local objects, compile rules, and dependencies
47 MD_SFILES= ${IA64}/ia64/locore.S
49 locore.o: ${IA64}/ia64/locore.S assym.h
54 ##TEXTADDR?= 0xdeadbeeffeeddead
56 KERN_LDSCRIPT?= kern.ldscript
57 LINKFORMAT= -T ${IA64}/conf/${KERN_LDSCRIPT}
60 ## (6) port specific target dependencies
68 ## (8) config(8) generated machinery
84 ## (9) port independent kernel machinery
86 .include "$S/conf/Makefile.kern.inc"
89 ## (10) Appending make options.