1 # $NetBSD: Makefile.luna68k,v 1.18 2005/12/11 12:17:51 christos Exp $
5 # This makefile is constructed from a machine description:
7 # Most changes should be made in the machine description
8 # /sys/arch/luna68k/conf/``machineid''
9 # after which you should do
11 # Machine generic makefile changes should be made in
12 # /sys/arch/luna68k/conf/Makefile.luna68k
13 # after which config should be rerun for all machines of that type.
14 # To specify debugging, add the config line: makeoptions DEBUG="-g"
15 # A better way is to specify -g only for a few files.
17 # makeoptions DEBUGLIST="uvm* trap if_*"
21 NEED_OWN_INSTALL_TARGET?=no
25 ## (1) port identification
27 LUNA68K= $S/arch/luna68k
28 GENASSYM_CONF= ${LUNA68K}/luna68k/genassym.cf
31 ## (2) compile settings
35 AFLAGS+= -x assembler-with-cpp -traditional-cpp
38 ## (3) libkern and compat
42 ## (4) local objects, compile rules, and dependencies
44 # for the Motorola 68040 Floating Point Software Product
45 # .include "$S/arch/m68k/fpsp/Makefile.inc"
47 MD_OBJS= locore.o ${FPSP}
51 locore.o: ${LUNA68K}/luna68k/locore.s assym.h
61 ## (6) port specific target dependencies
64 # depend on CPU configuration
65 machdep.c trap.o: Makefile
67 copy.o copypage.o lock_stubs.o: assym.h
74 ## (8) config(8) generated machinery
89 ## (9) port independent kernel machinery
91 .include "$S/conf/Makefile.kern.inc"
94 ## (10) Appending make options.