Makefile.amd64 revision 250840
1120945Snectar# Makefile.amd64 -- with config changes.
2120945Snectar# Copyright 1990 W. Jolitz
3120945Snectar#	from: @(#)Makefile.i386	7.1 5/10/91
4120945Snectar#	from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49
5120945Snectar# $FreeBSD: head/sys/conf/Makefile.amd64 250840 2013-05-21 03:05:49Z marcel $
6120945Snectar#
7120945Snectar# Makefile for FreeBSD
8120945Snectar#
9120945Snectar# This makefile is constructed from a machine description:
10120945Snectar#	config machineid
11120945Snectar# Most changes should be made in the machine description
12120945Snectar#	/sys/amd64/conf/``machineid''
13120945Snectar# after which you should do
14120945Snectar#	 config machineid
15120945Snectar# Generic makefile changes should be made in
16120945Snectar#	/sys/conf/Makefile.amd64
17120945Snectar# after which config should be rerun for all machines.
18120945Snectar#
19120945Snectar
20120945Snectar# Which version of config(8) is required.
21120945Snectar%VERSREQ=	600004
22120945Snectar
23120945SnectarSTD8X16FONT?=	iso
24120945Snectar
25120945Snectar.if !defined(S)
26120945Snectar.if exists(./@/.)
27120945SnectarS=	./@
28120945Snectar.else
29120945SnectarS=	../../..
30120945Snectar.endif
31120945Snectar.endif
32120945Snectar.include "$S/conf/kern.pre.mk"
33120945Snectar
34120945SnectarINCLUDES+= -I$S/contrib/libfdt
35120945Snectar
36120945Snectar.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
37120945SnectarCFLAGS+=	-fno-omit-frame-pointer
38120945Snectar.endif
39120945Snectar
40120945SnectarMKMODULESENV+= MACHINE=amd64
41120945Snectar
42120945Snectar# XXX: clang integrated-as doesn't grok .codeNN directives yet
43120945SnectarASM_CFLAGS.acpi_wakecode.S=	${CLANG_NO_IAS}
44120945SnectarASM_CFLAGS.ia32_sigtramp.S=	${CLANG_NO_IAS}
45120945SnectarASM_CFLAGS.linux32_locore.s=	${CLANG_NO_IAS}
46120945SnectarASM_CFLAGS.mpboot.S=		${CLANG_NO_IAS}
47120945SnectarASM_CFLAGS+=			${ASM_CFLAGS.${.IMPSRC:T}}
48120945Snectar
49120945Snectar%BEFORE_DEPEND
50120945Snectar
51120945Snectar%OBJS
52120945Snectar
53120945Snectar%FILES.c
54120945Snectar
55120945Snectar%FILES.s
56120945Snectar
57120945Snectar%FILES.m
58120945Snectar
59120945Snectar%CLEAN
60120945Snectar
61120945Snectar%RULES
62120945Snectar
63120945Snectar.include "$S/conf/kern.post.mk"
64120945Snectar