Makefile.amd64 revision 250840
1115170Speter# Makefile.amd64 -- with config changes.
299127Sobrien# Copyright 1990 W. Jolitz
399127Sobrien#	from: @(#)Makefile.i386	7.1 5/10/91
499127Sobrien#	from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49
599127Sobrien# $FreeBSD: head/sys/conf/Makefile.amd64 250840 2013-05-21 03:05:49Z marcel $
699127Sobrien#
799127Sobrien# Makefile for FreeBSD
899127Sobrien#
999127Sobrien# This makefile is constructed from a machine description:
1099127Sobrien#	config machineid
1199127Sobrien# Most changes should be made in the machine description
12115170Speter#	/sys/amd64/conf/``machineid''
1399127Sobrien# after which you should do
1499127Sobrien#	 config machineid
1599127Sobrien# Generic makefile changes should be made in
16115170Speter#	/sys/conf/Makefile.amd64
1799127Sobrien# after which config should be rerun for all machines.
1899127Sobrien#
1999127Sobrien
2099127Sobrien# Which version of config(8) is required.
21169612Swkoszek%VERSREQ=	600004
2299127Sobrien
2399127SobrienSTD8X16FONT?=	iso
2499127Sobrien
2599127Sobrien.if !defined(S)
2699127Sobrien.if exists(./@/.)
2799127SobrienS=	./@
2899127Sobrien.else
2999127SobrienS=	../../..
3099127Sobrien.endif
3199127Sobrien.endif
3299127Sobrien.include "$S/conf/kern.pre.mk"
3399127Sobrien
34250840SmarcelINCLUDES+= -I$S/contrib/libfdt
35250840Smarcel
36179225Sjb.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
37115405SpeterCFLAGS+=	-fno-omit-frame-pointer
38115405Speter.endif
39115405Speter
40114370SpeterMKMODULESENV+= MACHINE=amd64
4199127Sobrien
42218893Sdim# XXX: clang integrated-as doesn't grok .codeNN directives yet
43232263SdimASM_CFLAGS.acpi_wakecode.S=	${CLANG_NO_IAS}
44232263SdimASM_CFLAGS.ia32_sigtramp.S=	${CLANG_NO_IAS}
45232263SdimASM_CFLAGS.linux32_locore.s=	${CLANG_NO_IAS}
46232263SdimASM_CFLAGS.mpboot.S=		${CLANG_NO_IAS}
47232263SdimASM_CFLAGS+=			${ASM_CFLAGS.${.IMPSRC:T}}
48218893Sdim
4999127Sobrien%BEFORE_DEPEND
5099127Sobrien
5199127Sobrien%OBJS
5299127Sobrien
5399127Sobrien%FILES.c
5499127Sobrien
5599127Sobrien%FILES.s
5699127Sobrien
5799127Sobrien%FILES.m
5899127Sobrien
5999127Sobrien%CLEAN
6099127Sobrien
6199127Sobrien%RULES
6299127Sobrien
6399127Sobrien.include "$S/conf/kern.post.mk"
64