Makefile.vax revision 1.65
11.65Satatat# $NetBSD: Makefile.vax,v 1.65 2001/11/23 05:19:02 atatat Exp $ 21.4Scgd 31.16Smycroft# Makefile for NetBSD 41.1Sragge# 51.1Sragge# This makefile is constructed from a machine description: 61.1Sragge# config machineid 71.1Sragge# Most changes should be made in the machine description 81.16Smycroft# /sys/arch/vax/conf/``machineid'' 91.1Sragge# after which you should do 101.16Smycroft# config machineid 111.1Sragge# Machine generic makefile changes should be made in 121.16Smycroft# /sys/arch/vax/conf/Makefile.vax 131.1Sragge# after which config should be rerun for all machines of that type. 141.63Satatat# 151.64Slukem# To specify debugging, add the config line: makeoptions DEBUG="-g" 161.63Satatat# A better way is to specify -g only for a few files. 171.63Satatat# 181.63Satatat# makeoptions DEBUGLIST="uvm* trap if_*" 191.61Sthorpej 201.63SatatatMACHINE_ARCH= vax 211.62SjmcUSETOOLS?= no 221.63SatatatNEED_OWN_INSTALL_TARGET?=no 231.62Sjmc.include <bsd.own.mk> 241.16Smycroft 251.63Satatat## 261.63Satatat## (1) port identification 271.63Satatat## 281.63SatatatVAX= $S/arch/vax 291.63SatatatGENASSYM= ${VAX}/vax/genassym.cf 301.63Satatat 311.63Satatat## 321.63Satatat## (2) compile settings 331.63Satatat## 341.65SatatatCPPFLAGS+= -D_VAX_INLINE_ 351.65SatatatAFLAGS+= -x assembler-with-cpp -traditional-cpp 361.47SmattCFLAGS+= -mno-pic 371.48Smrg 381.63Satatat## 391.64Slukem## (3) libkern and compat 401.63Satatat## 411.63SatatatKERN_AS= obj 421.27Smycroft 431.63Satatat## 441.63Satatat## (4) local objects, compile rules, and dependencies 451.63Satatat## 461.63SatatatMD_OBJS= intvec.o subr.o 471.63SatatatMD_CFILES= 481.63SatatatMD_SFILES= ${VAX}/vax/intvec.s ${VAX}/vax/subr.s 491.1Sragge 501.63Satatatintvec.o: ${VAX}/vax/intvec.s assym.h 511.63Satatat ${NORMAL_S} 521.1Sragge 531.63Satatatsubr.o: ${VAX}/vax/subr.s assym.h 541.63Satatat ${NORMAL_S} 551.11Sragge 561.63Satatat## 571.63Satatat## (5) link settings 581.63Satatat## 591.63SatatatTEXTADDR?= 80000000 601.63SatatatLINKFORMAT= -N 611.63SatatatLINKFLAGS_DEBUG= -X 621.63SatatatLINKFLAGS_NORMAL= -S 631.63Satatat 641.63Satatat## 651.63Satatat## (6) port specific target dependencies 661.63Satatat## 671.16Smycroft 681.64Slukem# depend on CPU configuration 691.63Satatattmscp.o ts.o uba.o uda.o clock.o emulate.o intvec.o: Makefile 701.63Satatatsbi.o subr.o: Makefile 711.24Smycroft 721.63Satatat## 731.63Satatat## (7) misc settings 741.63Satatat## 751.63Satatat 761.63Satatat## 771.63Satatat## (8) config(8) generated machinery 781.63Satatat## 791.63Satatat%INCLUDES 801.1Sragge 811.1Sragge%OBJS 821.1Sragge 831.1Sragge%CFILES 841.1Sragge 851.16Smycroft%SFILES 861.16Smycroft 871.1Sragge%LOAD 881.1Sragge 891.63Satatat%RULES 901.1Sragge 911.63Satatat## 921.63Satatat## (9) port independent kernel machinery 931.63Satatat## 941.63Satatat.include "$S/conf/Makefile.kern.inc" 95