1 # $NetBSD: Makefile.atari,v 1.73 2009/01/25 22:25:08 abs Exp $
5 # This makefile is constructed from a machine description:
7 # Most changes should be made in the machine description
8 # /sys/arch/atari/conf/``machineid''
9 # after which you should do
11 # Machine generic makefile changes should be made in
12 # /sys/arch/atari/conf/Makefile.atari
13 # after which config should be rerun for all machines of that type.
17 NEED_OWN_INSTALL_TARGET?=no
21 ## (1) port identification
24 GENASSYM_CONF= ${ATARI}/atari/genassym.cf
27 ## (2) compile settings
30 .if !defined(CMACHFLAGS)
31 .include "$S/arch/m68k/Makefile.cmachflags"
32 CMACHFLAGS+= -Wa,-m68030
34 CFLAGS+= ${CMACHFLAGS} -msoft-float
35 AFLAGS+= -x assembler-with-cpp -traditional-cpp
38 ## (3) libkern and compat
43 ## (4) local objects, compile rules, and dependencies
45 # for the Motorola 68040 Floating Point Software Product
46 .include "$S/arch/m68k/fpsp/Makefile.inc"
48 # for the Motorola 68060 Software Support Package
49 .include "$S/arch/m68k/060sp/Makefile.inc"
51 MD_OBJS= locore.o ${FPSP}
53 MD_SFILES= ${ATARI}/atari/locore.s
55 copy.o copypage.o lock_stubs.o: assym.h
57 locore.o: ${ATARI}/atari/locore.s assym.h
67 ## (6) port specific target dependencies
70 # depend on CPU configuration
71 locore.o pmap.o pmap_motorola.o sys_machdep.o: Makefile
78 ## (8) config(8) generated machinery
93 ## (9) port independent kernel machinery
95 .include "$S/conf/Makefile.kern.inc"
98 ## (10) Appending make options.