Makefile.sparc64 revision 88460
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 88460 2001-12-24 13:35:43Z tmm $ 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 54# XXX: this should probably go somewhere else 55COPTS+= -mcmodel=medlow 56 57SYSTEM_SFILES= $S/$M/$M/locore.s $S/$M/$M/exception.s 58SYSTEM_OBJS= locore.o exception.o vnode_if.o ${OBJS} hints.o env.o config.o hack.So 59 60%BEFORE_DEPEND 61 62%OBJS 63 64%FILES.c 65 66%FILES.s 67 68%FILES.m 69 70%CLEAN 71 72#lint: /tmp 73# @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \ 74# $S/$M/$M/Locore.c ${CFILES} | \ 75# grep -v 'struct/union .* never defined' | \ 76# grep -v 'possible pointer alignment problem' 77 78exception.o: $S/$M/$M/exception.s assym.s 79 ${NORMAL_S} 80 81%RULES 82 83.include "$S/conf/kern.post.mk" 84