xref: /freebsd/sys/conf/Makefile.amd64 (revision f5463265955b829775bbb32e1fd0bc11dafc36ce)
1# Makefile.amd64 -- with config changes.
2# Copyright 1990 W. Jolitz
3#	from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49
4#
5# Makefile for FreeBSD
6#
7# This makefile is constructed from a machine description:
8#	config machineid
9# Most changes should be made in the machine description
10#	/sys/amd64/conf/``machineid''
11# after which you should do
12#	 config machineid
13# Generic makefile changes should be made in
14#	/sys/conf/Makefile.amd64
15# after which config should be rerun for all machines.
16#
17
18# Which version of config(8) is required.
19%VERSREQ=	600018
20
21STD8X16FONT?=	iso
22
23.if !defined(S)
24.if exists(./@/.)
25S=	./@
26.else
27S=	../../..
28.endif
29.endif
30.include "$S/conf/kern.pre.mk"
31
32INCLUDES+= -I$S/contrib/libfdt
33
34.if !empty(DDB_ENABLED) || !empty(DTRACE_ENABLED) || !empty(HWPMC_ENABLED)
35CFLAGS+=	-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
36.endif
37
38%BEFORE_DEPEND
39
40%OBJS
41
42%FILES.c
43
44%FILES.s
45
46%FILES.m
47
48%CLEAN
49
50%RULES
51
52.include "$S/conf/kern.post.mk"
53