# $NetBSD: Makefile.vax,v 1.85.20.1 2023/10/08 14:35:23 martin Exp $ # Makefile for NetBSD # # This makefile is constructed from a machine description: # config machineid # Most changes should be made in the machine description # /sys/arch/vax/conf/``machineid'' # after which you should do # config machineid # Machine generic makefile changes should be made in # /sys/arch/vax/conf/Makefile.vax # after which config should be rerun for all machines of that type. # # To specify debugging, add the config line: makeoptions DEBUG="-g" # A better way is to specify -g only for a few files. # # makeoptions DEBUGLIST="uvm* trap if_*" MACHINE_ARCH= vax USETOOLS?= no NEED_OWN_INSTALL_TARGET?=no .include ## ## (1) port identification ## VAX= $S/arch/vax GENASSYM_CONF= ${VAX}/vax/genassym.cf ## ## (2) compile settings ## CPPFLAGS+= -D_VAX_INLINE_ AFLAGS+= -x assembler-with-cpp -fno-pic CFLAGS+= -fno-pic ## ## (3) libkern and compat ## OPT_MODULAR= %MODULAR% ## ## (4) local objects, compile rules, and dependencies ## MD_OBJS= intvec.o subr.o MD_CFILES= MD_SFILES= ${VAX}/vax/intvec.S ${VAX}/vax/subr.S intvec.o: ${VAX}/vax/intvec.S assym.h ${NORMAL_S} subr.o: ${VAX}/vax/subr.S assym.h ${NORMAL_S} ## ## (5) link settings ## TEXTADDR?= 80000000 LINKFORMAT= -N LINKFLAGS_DEBUG= -X LINKFLAGS_NORMAL= -S ## ## (6) port specific target dependencies ## # depend on CPU configuration tmscp.o ts.o uba.o uda.o clock.o emulate.o intvec.o: Makefile sbi.o subr.o: Makefile lock_stubs.o unimpl_emul.o: assym.h ## ## (7) misc settings ## ## ## (8) config(8) generated machinery ## %INCLUDES %OBJS %CFILES %SFILES %LOAD %RULES ## ## (9) port independent kernel machinery ## .include "$S/conf/Makefile.kern.inc" ## ## (10) Appending make options. ## %MAKEOPTIONSAPPEND