Makefile.sparc64 revision 87860
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 87860 2001-12-14 09:39:29Z peter $ 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= /arch/sparc64/usr/bin/sparc64-ar 22CC= /arch/sparc64/usr/bin/sparc64-unknown-elf-gcc -D__sparc64__ -D__FreeBSD__=5 23LD= /arch/sparc64/usr/bin/sparc64-ld 24NM= /arch/sparc64/usr/bin/sparc64-nm 25OBJCOPY= /arch/sparc64/usr/bin/sparc64-objcopy 26OBJDUMP= /arch/sparc64/usr/bin/sparc64-objdump 27RANLIB= /arch/sparc64/usr/bin/sparc64-ranlib 28SIZE= /arch/sparc64/usr/bin/sparc64-size 29 30COPT+= -B/arch/sparc64/usr/sparc64-deo-freebsd5/bin/ 31 32CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ 33 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ 34 -ansi 35 36FMT= 37 38# Which version of config(8) is required. 39%VERSREQ= 500009 40 41STD8X16FONT?= iso 42 43HACK_EXTRA_FLAGS=-Wl,-shared 44 45.if !defined(S) 46.if exists(./@/.) 47S= ./@ 48.else 49S= ../../.. 50.endif 51.endif 52.include "$S/conf/kern.pre.mk" 53 54SYSTEM_SFILES= $S/$M/$M/locore.s $S/$M/$M/exception.s 55SYSTEM_OBJS= locore.o exception.o vnode_if.o ${OBJS} hints.o env.o config.o hack.So 56 57%BEFORE_DEPEND 58 59%OBJS 60 61%FILES.c 62 63%FILES.s 64 65%FILES.m 66 67%CLEAN 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 80.include "$S/conf/kern.post.mk" 81