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