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$
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.
21261492Simp%VERSREQ=	600012
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)
37253072SavgCFLAGS+=	-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
38115405Speter.endif
39115405Speter
40276696SimpASM_CFLAGS.acpi_wakecode.S=	${CLANG_NO_IAS34}
41276696SimpASM_CFLAGS.mpboot.S=		${CLANG_NO_IAS34}
42276696Simp
4399127Sobrien%BEFORE_DEPEND
4499127Sobrien
4599127Sobrien%OBJS
4699127Sobrien
4799127Sobrien%FILES.c
4899127Sobrien
4999127Sobrien%FILES.s
5099127Sobrien
5199127Sobrien%FILES.m
5299127Sobrien
5399127Sobrien%CLEAN
5499127Sobrien
5599127Sobrien%RULES
5699127Sobrien
5799127Sobrien.include "$S/conf/kern.post.mk"
58