]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/conf/Makefile.sparc64
This commit was generated by cvs2svn to compensate for changes in r87866,
[FreeBSD/FreeBSD.git] / sys / conf / Makefile.sparc64
1 # Makefile.sparc64 -- with config changes.
2 # Copyright 1990 W. Jolitz
3 #       from: @(#)Makefile.i386 7.1 5/10/91
4 # $FreeBSD$
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 MACHINE_ARCH=   sparc64
20
21 AR=             /arch/sparc64/usr/bin/sparc64-ar
22 CC=             /arch/sparc64/usr/bin/sparc64-unknown-elf-gcc -D__sparc64__ -D__FreeBSD__=5
23 LD=             /arch/sparc64/usr/bin/sparc64-ld
24 NM=             /arch/sparc64/usr/bin/sparc64-nm
25 OBJCOPY=        /arch/sparc64/usr/bin/sparc64-objcopy
26 OBJDUMP=        /arch/sparc64/usr/bin/sparc64-objdump
27 RANLIB=         /arch/sparc64/usr/bin/sparc64-ranlib
28 SIZE=           /arch/sparc64/usr/bin/sparc64-size
29
30 COPT+=  -B/arch/sparc64/usr/sparc64-deo-freebsd5/bin/
31
32 CWARNFLAGS=     -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
33                 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
34                 -ansi
35
36 FMT=
37
38 # Which version of config(8) is required.
39 %VERSREQ=       500009
40
41 STD8X16FONT?=   iso
42
43 HACK_EXTRA_FLAGS=-Wl,-shared
44
45 .if !defined(S)
46 .if exists(./@/.)
47 S=      ./@
48 .else
49 S=      ../../..
50 .endif
51 .endif
52 .include "$S/conf/kern.pre.mk"
53
54 SYSTEM_SFILES= $S/$M/$M/locore.s $S/$M/$M/exception.s
55 SYSTEM_OBJS= locore.o exception.o vnode_if.o ${OBJS} hints.o env.o config.o hack.So
56
57 %BEFORE_DEPEND
58
59 %OBJS
60
61 %FILES.c
62
63 %FILES.s
64
65 %FILES.m
66
67 %CLEAN
68
69 #lint: /tmp
70 #       @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \
71 #         $S/$M/$M/Locore.c ${CFILES} | \
72 #           grep -v 'struct/union .* never defined' | \
73 #           grep -v 'possible pointer alignment problem'
74
75 exception.o: $S/$M/$M/exception.s assym.s
76         ${NORMAL_S}
77
78 %RULES
79
80 .include "$S/conf/kern.post.mk"