Makefile.sparc64 revision 86276
1# Makefile.sparc64 -- with config changes. 2# Copyright 1990 W. Jolitz 3# from: @(#)Makefile.i386 7.1 5/10/91 4# $FreeBSD: head/sys/conf/Makefile.sparc64 86276 2001-11-11 20:33:02Z imp $ 5# 6# Makefile for FreeBSD 7# 8# This makefile is constructed from a machine description: 9# config machineid 10# Most changes should be made in the machine description 11# /sys/sparc64/conf/``machineid'' 12# after which you should do 13# config machineid 14# Generic makefile changes should be made in 15# /sys/conf/Makefile.sparc64 16# after which config should be rerun for all machines. 17# 18 19MACHINE_ARCH= sparc64 20 21AR= sparc64-ar 22CC= sparc64-unknown-elf-gcc -D__sparc64__ 23LD= sparc64-ld 24NM= sparc64-nm 25OBJCOPY= sparc64-objcopy 26OBJDUMP= sparc64-objdump 27RANLIB= sparc64-ranlib 28SIZE= sparc64-size 29 30CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ 31 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ 32 -ansi 33 34FMT= 35 36# Which version of config(8) is required. 37%VERSREQ= 500008 38 39STD8X16FONT?= iso 40 41HACK_EXTRA_FLAGS=-Wl,-shared 42 43.if !defined(S) 44.if exists(./@/.) 45S= ./@ 46.else 47S= ../../.. 48.endif 49.endif 50.include "$S/conf/kern.pre.mk" 51 52SYSTEM_SFILES= $S/$M/$M/locore.s $S/$M/$M/exception.s 53SYSTEM_OBJS= locore.o exception.o vnode_if.o ${OBJS} hints.o env.o config.o hack.So 54 55%BEFORE_DEPEND 56 57%OBJS 58 59%FILES.c 60 61%FILES.s 62 63%FILES.m 64 65%CLEAN 66 67#lint: /tmp 68# @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \ 69# $S/$M/$M/Locore.c ${CFILES} | \ 70# grep -v 'struct/union .* never defined' | \ 71# grep -v 'possible pointer alignment problem' 72 73exception.o: $S/$M/$M/exception.s assym.s 74 ${NORMAL_S} 75 76%RULES 77 78.include "$S/conf/kern.post.mk" 79