Makefile.next68k revision 1.24
1# $NetBSD: Makefile.next68k,v 1.24 2002/06/04 21:39:11 thorpej Exp $ 2 3# Makefile for NetBSD 4# 5# This makefile is constructed from a machine description: 6# config machineid 7# Most changes should be made in the machine description 8# /sys/arch/next68k/conf/``machineid'' 9# after which you should do 10# config machineid 11# Machine generic makefile changes should be made in 12# /sys/arch/next68k/conf/Makefile.next68k 13# after which config should be rerun for all machines of that type. 14# 15# To specify debugging, add the config line: makeoptions DEBUG="-g" 16# A better way is to specify -g only for a few files. 17# 18# makeoptions DEBUGLIST="uvm* trap if_*" 19 20MACHINE_ARCH=m68k 21USETOOLS?= no 22NEED_OWN_INSTALL_TARGET?=no 23.include <bsd.own.mk> 24 25## 26## (1) port identification 27## 28NEXT68K= $S/arch/next68k 29GENASSYM= ${NEXT68K}/next68k/genassym.cf 30 31## 32## (2) compile settings 33## 34CPPFLAGS+= -Dnext68k 35CFLAGS+= -msoft-float 36.if defined(HAVE_GCC3) 37AFLAGS+= -x assembler-with-cpp 38.else 39AFLAGS+= -x assembler-with-cpp -traditional-cpp 40.endif 41 42## 43## (3) libkern and compat 44## 45KERN_AS= obj 46 47## 48## (4) local objects, compile rules, and dependencies 49## 50# for the Motorola 68040 Floating Point Software Product 51.include "$S/arch/m68k/fpsp/Makefile.inc" 52 53MD_OBJS= locore.o ${FPSP} 54MD_CFILES= 55MD_SFILES= ${NEXT68K}/next68k/locore.s 56 57locore.o: ${NEXT68K}/next68k/locore.s assym.h 58 ${NORMAL_S} 59 60## 61## (5) link settings 62## 63LINKFORMAT= -n 64TEXTADDR?= 0 65 66## 67## (6) port specific target dependencies 68## 69 70# depend on CPU configuration 71locore.o pmap.o trap.o: Makefile 72 73## 74## (7) misc settings 75## 76 77## 78## (8) config(8) generated machinery 79## 80%INCLUDES 81 82%OBJS 83 84%CFILES 85 86%SFILES 87 88%LOAD 89 90%RULES 91 92## 93## (9) port independent kernel machinery 94## 95.include "$S/conf/Makefile.kern.inc" 96