1 # Makefile.sparc64 -- with config changes.
2 # Copyright 1990 W. Jolitz
3 # from: @(#)Makefile.i386 7.1 5/10/91
8 # This makefile is constructed from a machine description:
10 # Most changes should be made in the machine description
11 # /sys/sparc64/conf/``machineid''
12 # after which you should do
14 # Generic makefile changes should be made in
15 # /sys/conf/Makefile.sparc64
16 # after which config should be rerun for all machines.
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
30 COPT+= -B/arch/sparc64/usr/sparc64-deo-freebsd5/bin/
32 CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
33 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
38 # Which version of config(8) is required.
43 HACK_EXTRA_FLAGS=-Wl,-shared
52 .include "$S/conf/kern.pre.mk"
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
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'
75 exception.o: $S/$M/$M/exception.s assym.s
80 .include "$S/conf/kern.post.mk"