Makefile.sparc64 revision 99923
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 99923 2002-07-13 19:36:14Z bde $ 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 19CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ 20 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ 21 -ansi 22 23# Which version of config(8) is required. 24%VERSREQ= 500011 25 26STD8X16FONT?= iso 27 28HACK_EXTRA_FLAGS=-Wl,-shared 29 30.if !defined(S) 31.if exists(./@/.) 32S= ./@ 33.else 34S= ../../.. 35.endif 36.endif 37.include "$S/conf/kern.pre.mk" 38 39# XXX: this should probably go somewhere else 40COPTS+= -mcmodel=medlow -msoft-float 41 42SYSTEM_SFILES= $S/$M/$M/locore.s $S/$M/$M/exception.s 43SYSTEM_OBJS= locore.o exception.o vnode_if.o ${OBJS} hints.o env.o config.o hack.So 44 45%BEFORE_DEPEND 46 47%OBJS 48 49%FILES.c 50 51%FILES.s 52 53%FILES.m 54 55%CLEAN 56 57#lint: /tmp 58# @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \ 59# $S/$M/$M/Locore.c ${CFILES} | \ 60# grep -v 'struct/union .* never defined' | \ 61# grep -v 'possible pointer alignment problem' 62 63exception.o: $S/$M/$M/exception.s assym.s 64 ${NORMAL_S} 65 66%RULES 67 68.include "$S/conf/kern.post.mk" 69