Makefile.amd64 revision 114370
1# Makefile.x86_64 -- with config changes.
2# Copyright 1990 W. Jolitz
3#	from: @(#)Makefile.i386	7.1 5/10/91
4#	from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49
5# $FreeBSD: head/sys/conf/Makefile.amd64 114370 2003-05-01 02:59:24Z peter $
6#
7# Makefile for FreeBSD
8#
9# This makefile is constructed from a machine description:
10#	config machineid
11# Most changes should be made in the machine description
12#	/sys/x86_64/conf/``machineid''
13# after which you should do
14#	 config machineid
15# Generic makefile changes should be made in
16#	/sys/conf/Makefile.x86_64
17# after which config should be rerun for all machines.
18#
19
20# The FSF cross tools don't understand -fformat-extensions
21CWARNFLAGS=     -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
22                -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
23                -ffreestanding -Wno-format -Wno-sign-compare
24CC=             x86_64-unknown-freebsd5.0-gcc -D__amd64__
25LD=             x86_64-unknown-freebsd5.0-ld
26NM=             x86_64-unknown-freebsd5.0-nm
27SIZE=           x86_64-unknown-freebsd5.0-size
28OBJCOPY=        x86_64-unknown-freebsd5.0-objcopy
29OBJDUMP=        x86_64-unknown-freebsd5.0-objdump
30MACHINE_ARCH=   amd64
31NO_CPU_COPTFLAGS= true	# minimize cross compile pain
32
33# Which version of config(8) is required.
34%VERSREQ=	500012
35
36STD8X16FONT?=	iso
37
38.if !defined(S)
39.if exists(./@/.)
40S=	./@
41.else
42S=	../../..
43.endif
44.endif
45.include "$S/conf/kern.pre.mk"
46
47MKMODULESENV+= MACHINE=amd64
48
49%BEFORE_DEPEND
50
51%OBJS
52
53%FILES.c
54
55%FILES.s
56
57%FILES.m
58
59%CLEAN
60
61%RULES
62
63.include "$S/conf/kern.post.mk"
64