1 # Makefile.sparc64 -- with config changes.
2 # Copyright 1990 W. Jolitz
3 # from: @(#)Makefile.i386 7.1 5/10/91
4 # $FreeBSD: releng/5.0/sys/conf/Makefile.sparc64 104074 2002-09-28 01:56:24Z jake $
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
19 CWARNFLAGS= -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
26 STD8X16FONT?= iso
27
28 HACK_EXTRA_FLAGS=-Wl,-shared
29
30 .if !defined(S)
31 .if exists(./@/.)
32 S= ./@
33 .else
34 S= ../../..
35 .endif
36 .endif
37 .include "$S/conf/kern.pre.mk"
38
39 # XXX: this should probably go somewhere else
40 COPTS+= -mcmodel=medlow -msoft-float
41
42 SYSTEM_SFILES= $S/$M/$M/locore.S $S/$M/$M/exception.S $S/$M/$M/interrupt.S
43 SYSTEM_OBJS= locore.o exception.o interrupt.o vnode_if.o ${OBJS} hints.o \
44 env.o config.o hack.So
45
46 %BEFORE_DEPEND
47
48 %OBJS
49
50 %FILES.c
51
52 %FILES.s
53
54 %FILES.m
55
56 %CLEAN
57
58 #lint: /tmp
59 # @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \
60 # $S/$M/$M/Locore.c ${CFILES} | \
61 # grep -v 'struct/union .* never defined' | \
62 # grep -v 'possible pointer alignment problem'
63
64 exception.o: $S/$M/$M/exception.S assym.s
65 ${NORMAL_S}
66
67 interrupt.o: $S/$M/$M/interrupt.S assym.s
68 ${NORMAL_S}
69
70 locore.o: $S/$M/$M/locore.S assym.s
71 ${NORMAL_S}
72
73 %RULES
74
75 .include "$S/conf/kern.post.mk"
Cache object: 80477a4cb46d7cc9d55fc2040da1d887
|