2001-08-03 01:09:10 +00:00
|
|
|
# Makefile.sparc64 -- with config changes.
|
|
|
|
# Copyright 1990 W. Jolitz
|
|
|
|
# from: @(#)Makefile.i386 7.1 5/10/91
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Makefile for FreeBSD
|
|
|
|
#
|
|
|
|
# This makefile is constructed from a machine description:
|
|
|
|
# config machineid
|
|
|
|
# Most changes should be made in the machine description
|
|
|
|
# /sys/sparc64/conf/``machineid''
|
|
|
|
# after which you should do
|
|
|
|
# config machineid
|
|
|
|
# Generic makefile changes should be made in
|
2001-10-26 10:33:45 +00:00
|
|
|
# /sys/conf/Makefile.sparc64
|
2001-08-03 01:09:10 +00:00
|
|
|
# after which config should be rerun for all machines.
|
|
|
|
#
|
|
|
|
|
|
|
|
CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
|
|
|
|
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
|
|
|
|
-ansi
|
|
|
|
|
|
|
|
# Which version of config(8) is required.
|
2002-07-13 19:36:14 +00:00
|
|
|
%VERSREQ= 500011
|
2001-08-03 01:09:10 +00:00
|
|
|
|
|
|
|
STD8X16FONT?= iso
|
|
|
|
|
2001-11-02 21:34:20 +00:00
|
|
|
HACK_EXTRA_FLAGS=-Wl,-shared
|
|
|
|
|
2001-08-03 01:09:10 +00:00
|
|
|
.if !defined(S)
|
|
|
|
.if exists(./@/.)
|
|
|
|
S= ./@
|
|
|
|
.else
|
|
|
|
S= ../../..
|
|
|
|
.endif
|
|
|
|
.endif
|
2001-11-02 21:34:20 +00:00
|
|
|
.include "$S/conf/kern.pre.mk"
|
2001-08-03 01:09:10 +00:00
|
|
|
|
2001-12-24 13:35:43 +00:00
|
|
|
# XXX: this should probably go somewhere else
|
2002-03-13 03:23:17 +00:00
|
|
|
COPTS+= -mcmodel=medlow -msoft-float
|
2001-12-24 13:35:43 +00:00
|
|
|
|
2002-07-31 15:52:04 +00:00
|
|
|
SYSTEM_SFILES= $S/$M/$M/locore.S $S/$M/$M/exception.S
|
2001-08-27 05:11:53 +00:00
|
|
|
SYSTEM_OBJS= locore.o exception.o vnode_if.o ${OBJS} hints.o env.o config.o hack.So
|
2001-08-03 01:09:10 +00:00
|
|
|
|
|
|
|
%BEFORE_DEPEND
|
|
|
|
|
|
|
|
%OBJS
|
|
|
|
|
|
|
|
%FILES.c
|
|
|
|
|
|
|
|
%FILES.s
|
|
|
|
|
|
|
|
%FILES.m
|
|
|
|
|
|
|
|
%CLEAN
|
|
|
|
|
|
|
|
#lint: /tmp
|
|
|
|
# @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \
|
|
|
|
# $S/$M/$M/Locore.c ${CFILES} | \
|
|
|
|
# grep -v 'struct/union .* never defined' | \
|
|
|
|
# grep -v 'possible pointer alignment problem'
|
|
|
|
|
2002-07-31 15:52:04 +00:00
|
|
|
exception.o: $S/$M/$M/exception.S assym.s
|
2001-08-06 02:18:39 +00:00
|
|
|
${NORMAL_S}
|
|
|
|
|
2002-07-31 15:52:04 +00:00
|
|
|
locore.o: $S/$M/$M/locore.S assym.s
|
2002-07-31 14:59:05 +00:00
|
|
|
${NORMAL_S}
|
|
|
|
|
2001-08-03 01:09:10 +00:00
|
|
|
%RULES
|
2001-11-11 20:33:02 +00:00
|
|
|
|
|
|
|
.include "$S/conf/kern.post.mk"
|