Makefile.sparc64 revision 85909
181084Sjake# Makefile.sparc64 -- with config changes.
281084Sjake# Copyright 1990 W. Jolitz
381084Sjake#	from: @(#)Makefile.i386	7.1 5/10/91
481084Sjake# $FreeBSD: head/sys/conf/Makefile.sparc64 85909 2001-11-02 21:34:20Z imp $
581084Sjake#
681084Sjake# Makefile for FreeBSD
781084Sjake#
881084Sjake# This makefile is constructed from a machine description:
981084Sjake#	config machineid
1081084Sjake# Most changes should be made in the machine description
1181084Sjake#	/sys/sparc64/conf/``machineid''
1281084Sjake# after which you should do
1381084Sjake#	 config machineid
1481084Sjake# Generic makefile changes should be made in
1585532Sru#	/sys/conf/Makefile.sparc64
1681084Sjake# after which config should be rerun for all machines.
1781084Sjake#
1881084Sjake
1981084SjakeMACHINE_ARCH=	sparc64
2081084Sjake
2181084SjakeAR=		sparc64-ar
2281084SjakeCC=		sparc64-unknown-elf-gcc -D__sparc64__
2381084SjakeLD=		sparc64-ld
2481084SjakeNM=		sparc64-nm
2581084SjakeOBJCOPY=	sparc64-objcopy
2681084SjakeOBJDUMP=	sparc64-objdump
2781084SjakeRANLIB=		sparc64-ranlib
2881084SjakeSIZE=		sparc64-size
2981084Sjake
3081084SjakeCWARNFLAGS=	-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
3181084Sjake		-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
3281084Sjake		-ansi
3381084Sjake
3485909SimpFMT=
3585909Simp
3681084Sjake# Which version of config(8) is required.
3782393Speter%VERSREQ=	500008
3881084Sjake
3981084SjakeSTD8X16FONT?=	iso
4081084Sjake
4185909SimpHACK_EXTRA_FLAGS=-Wl,-shared
4285909Simp
4381084Sjake.if !defined(S)
4481084Sjake.if exists(./@/.)
4581084SjakeS=	./@
4681084Sjake.else
4781084SjakeS=	../../..
4881084Sjake.endif
4981084Sjake.endif
5085909Simp.include "$S/conf/kern.pre.mk"
5181084Sjake
5281173SjakeSYSTEM_SFILES= $S/$M/$M/locore.s $S/$M/$M/exception.s
5382393SpeterSYSTEM_OBJS= locore.o exception.o vnode_if.o ${OBJS} hints.o env.o config.o hack.So
5481084Sjake
5581084Sjake%BEFORE_DEPEND
5681084Sjake
5781084Sjake%OBJS
5881084Sjake
5981084Sjake%FILES.c
6081084Sjake
6181084Sjake%FILES.s
6281084Sjake
6381084Sjake%FILES.m
6481084Sjake
6581084Sjake%CLEAN
6681084Sjake
6785909Simp.include "$S/conf/kern.post.mk"
6881084Sjake
6981084Sjake#lint: /tmp
7081084Sjake#	@lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \
7181084Sjake#	  $S/$M/$M/Locore.c ${CFILES} | \
7281084Sjake#	    grep -v 'struct/union .* never defined' | \
7381084Sjake#	    grep -v 'possible pointer alignment problem'
7481084Sjake
7581173Sjakeexception.o: $S/$M/$M/exception.s assym.s
7681173Sjake	${NORMAL_S}
7781173Sjake
7881084Sjake%RULES
79