2003-05-19 22:15:30 +00:00
|
|
|
# Makefile.amd64 -- with config changes.
|
2002-06-30 08:05:21 +00:00
|
|
|
# Copyright 1990 W. Jolitz
|
|
|
|
# from: @(#)Makefile.i386 7.1 5/10/91
|
|
|
|
# from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Makefile for FreeBSD
|
|
|
|
#
|
|
|
|
# This makefile is constructed from a machine description:
|
|
|
|
# config machineid
|
|
|
|
# Most changes should be made in the machine description
|
2003-05-19 22:15:30 +00:00
|
|
|
# /sys/amd64/conf/``machineid''
|
2002-06-30 08:05:21 +00:00
|
|
|
# after which you should do
|
|
|
|
# config machineid
|
|
|
|
# Generic makefile changes should be made in
|
2003-05-19 22:15:30 +00:00
|
|
|
# /sys/conf/Makefile.amd64
|
2002-06-30 08:05:21 +00:00
|
|
|
# after which config should be rerun for all machines.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Which version of config(8) is required.
|
2018-07-17 14:11:30 +00:00
|
|
|
%VERSREQ= 600012
|
2002-06-30 08:05:21 +00:00
|
|
|
|
|
|
|
STD8X16FONT?= iso
|
|
|
|
|
|
|
|
.if !defined(S)
|
|
|
|
.if exists(./@/.)
|
|
|
|
S= ./@
|
|
|
|
.else
|
|
|
|
S= ../../..
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
.include "$S/conf/kern.pre.mk"
|
|
|
|
|
2013-05-21 03:05:49 +00:00
|
|
|
INCLUDES+= -I$S/contrib/libfdt
|
|
|
|
|
2008-05-23 03:52:55 +00:00
|
|
|
.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
|
2013-07-09 08:42:02 +00:00
|
|
|
CFLAGS+= -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
|
2003-05-30 01:03:43 +00:00
|
|
|
.endif
|
|
|
|
|
2002-06-30 08:05:21 +00:00
|
|
|
%BEFORE_DEPEND
|
|
|
|
|
|
|
|
%OBJS
|
|
|
|
|
|
|
|
%FILES.c
|
|
|
|
|
|
|
|
%FILES.s
|
|
|
|
|
|
|
|
%FILES.m
|
|
|
|
|
|
|
|
%CLEAN
|
|
|
|
|
|
|
|
%RULES
|
|
|
|
|
|
|
|
.include "$S/conf/kern.post.mk"
|