Makefile.vax revision 1.66
1# $NetBSD: Makefile.vax,v 1.66 2001/11/23 15:44:15 atatat 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/vax/conf/``machineid'' 9# after which you should do 10# config machineid 11# Machine generic makefile changes should be made in 12# /sys/arch/vax/conf/Makefile.vax 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= vax 21USETOOLS?= no 22NEED_OWN_INSTALL_TARGET?=no 23.include <bsd.own.mk> 24 25## 26## (1) port identification 27## 28VAX= $S/arch/vax 29GENASSYM= ${VAX}/vax/genassym.cf 30 31## 32## (2) compile settings 33## 34CPPFLAGS+= -D_VAX_INLINE_ 35AFLAGS+= -x assembler-with-cpp -traditional-cpp 36CFLAGS+= -mno-pic 37 38## 39## (3) libkern and compat 40## 41KERN_AS= obj 42 43## 44## (4) local objects, compile rules, and dependencies 45## 46MD_OBJS= intvec.o subr.o 47MD_CFILES= 48MD_SFILES= ${VAX}/vax/intvec.s ${VAX}/vax/subr.s 49 50intvec.o: ${VAX}/vax/intvec.s assym.h 51 ${NORMAL_S} 52 53subr.o: ${VAX}/vax/subr.s assym.h 54 ${NORMAL_S} 55 56## 57## (5) link settings 58## 59TEXTADDR?= 80000000 60ENTRYPOINT= _start 61LINKFORMAT= -N 62LINKFLAGS_DEBUG= -X 63LINKFLAGS_NORMAL= -S 64 65## 66## (6) port specific target dependencies 67## 68 69# depend on CPU configuration 70tmscp.o ts.o uba.o uda.o clock.o emulate.o intvec.o: Makefile 71sbi.o subr.o: Makefile 72 73## 74## (7) misc settings 75## 76 77## 78## (8) config(8) generated machinery 79## 80%INCLUDES 81 82%OBJS 83 84%CFILES 85 86%SFILES 87 88%LOAD 89 90%RULES 91 92## 93## (9) port independent kernel machinery 94## 95.include "$S/conf/Makefile.kern.inc" 96