NetBSD/sys/arch/news68k/conf/Makefile.news68k

96 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile.news68k,v 1.14 2002/06/04 21:39:11 thorpej Exp $
1999-12-09 17:53:00 +03:00
#
# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
# config machineid
# Most changes should be made in the machine description
# /sys/arch/news68k/conf/``machineid''
# after which you should do
# config machineid
# Machine generic makefile changes should be made in
# /sys/arch/news68k/conf/Makefile.news68k
# after which config should be rerun for all machines of that type.
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
# makeoptions DEBUGLIST="uvm* trap if_*"
1999-12-09 17:53:00 +03:00
MACHINE_ARCH=m68k
USETOOLS?= no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>
##
## (1) port identification
##
1999-12-09 17:53:00 +03:00
.ifndef S
S= ../../../..
1999-12-09 17:53:00 +03:00
.endif
NEWS68K= $S/arch/news68k
GENASSYM= ${NEWS68K}/news68k/genassym.cf
##
## (2) compile settings
##
CPPFLAGS+= -Dnews68k
CFLAGS+= -msoft-float
.if defined(HAVE_GCC3)
AFLAGS+= -x assembler-with-cpp
.else
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.endif
##
## (3) libkern and compat
##
KERN_AS= obj
1999-12-09 17:53:00 +03:00
##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS= locore.o ${FPSP}
MD_CFILES=
MD_SFILES= ${NEWS68K}/news68k/locore.s
1999-12-09 17:53:00 +03:00
locore.o: ${NEWS68K}/news68k/locore.s assym.h
${NORMAL_S}
1999-12-09 17:53:00 +03:00
##
## (5) link settings
##
LINKFORMAT= -n
TEXTADDR?= 0
1999-12-09 17:53:00 +03:00
##
## (6) port specific target dependencies
##
1999-12-09 17:53:00 +03:00
# depend on CPU configuration
machdep.o mainbus.o trap.o: Makefile
1999-12-09 17:53:00 +03:00
##
## (7) misc settings
##
1999-12-09 17:53:00 +03:00
##
## (8) config(8) generated machinery
##
%INCLUDES
1999-12-09 17:53:00 +03:00
%OBJS
%CFILES
%SFILES
%LOAD
%RULES
##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"