1 # $NetBSD: Makefile.news68k,v 1.18 2005/12/11 12:18:20 christos Exp $
5 # This makefile is constructed from a machine description:
7 # Most changes should be made in the machine description
8 # /sys/arch/news68k/conf/``machineid''
9 # after which you should do
11 # Machine generic makefile changes should be made in
12 # /sys/arch/news68k/conf/Makefile.news68k
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
31 NEWS68K= $S/arch/news68k
32 GENASSYM_CONF= ${NEWS68K}/news68k/genassym.cf
35 ## (2) compile settings
39 AFLAGS+= -x assembler-with-cpp -traditional-cpp
42 ## (3) libkern and compat
47 ## (4) local objects, compile rules, and dependencies
49 MD_OBJS= locore.o ${FPSP}
51 MD_SFILES= ${NEWS68K}/news68k/locore.s
53 locore.o: ${NEWS68K}/news68k/locore.s assym.h
63 ## (6) port specific target dependencies
66 # depend on CPU configuration
67 machdep.o mainbus.o trap.o: Makefile
69 copy.o copypage.o lock_stubs.o: assym.h
76 ## (8) config(8) generated machinery
91 ## (9) port independent kernel machinery
93 .include "$S/conf/Makefile.kern.inc"
96 ## (10) Appending make options.