xref: /freebsd/sys/conf/Makefile.amd64 (revision 9336e0699bda8a301cd2bfa37106b6ec5e32012e)
1# Makefile.amd64 -- 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$
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/amd64/conf/``machineid''
13# after which you should do
14#	 config machineid
15# Generic makefile changes should be made in
16#	/sys/conf/Makefile.amd64
17# after which config should be rerun for all machines.
18#
19
20# Which version of config(8) is required.
21%VERSREQ=	600004
22
23STD8X16FONT?=	iso
24
25.if !defined(S)
26.if exists(./@/.)
27S=	./@
28.else
29S=	../../..
30.endif
31.endif
32.include "$S/conf/kern.pre.mk"
33
34DDB_ENABLED!=	grep DDB opt_ddb.h || true
35HWPMC_ENABLED!=	grep HWPMC opt_hwpmc_hooks.h || true
36.if !empty(DDB_ENABLED) || !empty(HWPMC_ENABLED)
37CFLAGS+=	-fno-omit-frame-pointer
38.endif
39
40MKMODULESENV+= MACHINE=amd64
41
42%BEFORE_DEPEND
43
44%OBJS
45
46%FILES.c
47
48%FILES.s
49
50%FILES.m
51
52%CLEAN
53
54%RULES
55
56.include "$S/conf/kern.post.mk"
57