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