Makefile.sparc64 revision 85909
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 85909 2001-11-02 21:34:20Z 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.include "$S/conf/kern.post.mk" 68 69#lint: /tmp 70# @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \ 71# $S/$M/$M/Locore.c ${CFILES} | \ 72# grep -v 'struct/union .* never defined' | \ 73# grep -v 'possible pointer alignment problem' 74 75exception.o: $S/$M/$M/exception.s assym.s 76 ${NORMAL_S} 77 78%RULES 79