NetBSD/sys/arch/atari/conf/Makefile.atari

95 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile.atari,v 1.66 2001/12/09 05:00:43 atatat Exp $
1996-02-02 23:08:17 +03:00
# Makefile for NetBSD
1995-03-26 11:12:03 +04:00
#
# This makefile is constructed from a machine description:
# config machineid
# Most changes should be made in the machine description
1996-02-02 23:08:17 +03:00
# /sys/arch/atari/conf/``machineid''
1995-03-26 11:12:03 +04:00
# after which you should do
1996-02-02 23:08:17 +03:00
# config machineid
1995-03-26 11:12:03 +04:00
# Machine generic makefile changes should be made in
1996-02-02 23:08:17 +03:00
# /sys/arch/atari/conf/Makefile.atari
1995-03-26 11:12:03 +04:00
# after which config should be rerun for all machines of that type.
MACHINE_ARCH=m68k
USETOOLS?= no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>
##
## (1) port identification
##
ATARI= $S/arch/atari
GENASSYM= ${ATARI}/atari/genassym.cf
##
## (2) compile settings
##
CPPFLAGS+= -Datari
.if empty(IDENT:M-DM68060)
CMACHFLAGS= -m68020
.else
CMACHFLAGS= -m68060 -Wa,-m68030
.endif
CFLAGS+= ${CMACHFLAGS} -msoft-float
AFLAGS+= -x assembler-with-cpp -traditional-cpp
1995-03-26 11:12:03 +04:00
##
## (3) libkern and compat
##
KERN_AS= obj
##
## (4) local objects, compile rules, and dependencies
##
# for the Motorola 68040 Floating Point Software Product
1995-03-26 11:12:03 +04:00
.include "$S/arch/m68k/fpsp/Makefile.inc"
# for the Motorola 68060 Software Support Package
.include "$S/arch/m68k/060sp/Makefile.inc"
MD_OBJS= locore.o ${FPSP}
MD_CFILES=
MD_SFILES= ${ATARI}/atari/locore.s
1995-03-26 11:12:03 +04:00
locore.o: ${ATARI}/atari/locore.s assym.h
${NORMAL_S}
1995-03-26 11:12:03 +04:00
##
## (5) link settings
##
TEXTADDR?= 0
LINKFORMAT= -n
2000-01-24 23:36:06 +03:00
##
## (6) port specific target dependencies
##
1995-03-26 11:12:03 +04:00
# depend on CPU configuration
locore.o pmap.o sys_machdep.o: Makefile
2001-11-20 14:30:44 +03:00
##
## (7) misc settings
##
1995-03-26 11:12:03 +04:00
##
## (8) config(8) generated machinery
##
%INCLUDES
1996-02-02 23:08:17 +03:00
%OBJS
1996-02-02 23:08:17 +03:00
%CFILES
1996-02-02 23:08:17 +03:00
%SFILES
1995-03-26 11:12:03 +04:00
%LOAD
1995-03-26 11:12:03 +04:00
%RULES
##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"