1# $NetBSD: Makefile.cesfic,v 1.7 2001/12/09 05:00:43 atatat 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/cesfic/conf/``machineid'' 9# after which you should do 10# config machineid 11# Machine generic makefile changes should be made in 12# /sys/arch/cesfic/conf/Makefile.cesfic 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## 28CESFIC= $S/arch/cesfic 29GENASSYM= ${CESFIC}/cesfic/genassym.cf 30 31## 32## (2) compile settings 33## 34WEAK_POINTERS= yes 35CWARNFLAGS+= -Wno-format 36CFLAGS+= -msoft-float 37AFLAGS+= -x assembler-with-cpp -traditional-cpp -Wa,-m68030 -Wa,-m68851 -Wa,-m68040 38 39## 40## (3) libkern and compat 41## 42KERN_AS= obj 43 44## 45## (4) local objects, compile rules, and dependencies 46## 47# for the Motorola 68040 Floating Point Software Product 48.include "$S/arch/m68k/fpsp/Makefile.inc" 49 50MD_OBJS= locore.o ${FPSP} 51MD_CFILES= 52MD_SFILES= ${CESFIC}/cesfic/locore.s 53 54locore.o: ${CESFIC}/cesfic/locore.s assym.h 55 ${NORMAL_S} 56 57## 58## (5) link settings 59## 60LINKFORMAT= -n 61TEXTADDR?= 2000 62 63## 64## (6) port specific target dependencies 65## 66 67## 68## (7) misc settings 69## 70 71## 72## (8) config(8) generated machinery 73## 74%INCLUDES 75 76%OBJS 77 78%CFILES 79 80#%SFILES 81 82%LOAD 83 84%RULES 85 86## 87## (9) port independent kernel machinery 88## 89.include "$S/conf/Makefile.kern.inc" 90