1 # $NetBSD: Makefile.vax,v 1.79 2007/12/22 08:17:57 tsutsui Exp $
5 # This makefile is constructed from a machine description:
7 # Most changes should be made in the machine description
8 # /sys/arch/vax/conf/``machineid''
9 # after which you should do
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.
15 # To specify debugging, add the config line: makeoptions DEBUG="-g"
16 # A better way is to specify -g only for a few files.
18 # makeoptions DEBUGLIST="uvm* trap if_*"
22 NEED_OWN_INSTALL_TARGET?=no
26 ## (1) port identification
29 GENASSYM_CONF= ${VAX}/vax/genassym.cf
32 ## (2) compile settings
34 CPPFLAGS+= -D_VAX_INLINE_
35 AFLAGS+= -x assembler-with-cpp -traditional-cpp -fno-pic
39 ## (3) libkern and compat
44 ## (4) local objects, compile rules, and dependencies
46 MD_OBJS= intvec.o subr.o
48 MD_SFILES= ${VAX}/vax/intvec.S ${VAX}/vax/subr.S
50 intvec.o: ${VAX}/vax/intvec.S assym.h
53 subr.o: ${VAX}/vax/subr.S assym.h
65 ## (6) port specific target dependencies
68 # depend on CPU configuration
69 tmscp.o ts.o uba.o uda.o clock.o emulate.o intvec.o: Makefile
70 sbi.o subr.o: Makefile
72 lock_stubs.o unimpl_emul.o: assym.h
78 # XXX recent gcc4 gets ICE on this one
79 COPTS.db_command.c+= -fno-tree-ter
82 ## (8) config(8) generated machinery
97 ## (9) port independent kernel machinery
99 .include "$S/conf/Makefile.kern.inc"
102 ## (10) Appending make options.