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.
|
2005-04-01 22:56:10 +00:00
|
|
|
%VERSREQ= 600002
|
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"
|
|
|
|
|
2003-09-30 03:49:09 +00:00
|
|
|
DDB_ENABLED!= grep DDB opt_ddb.h || true
|
2005-09-07 17:38:46 +00:00
|
|
|
.if !empty(DDB_ENABLED)
|
2003-05-30 01:03:43 +00:00
|
|
|
CFLAGS+= -fno-omit-frame-pointer
|
|
|
|
.endif
|
|
|
|
|
2003-05-01 02:59:24 +00:00
|
|
|
MKMODULESENV+= MACHINE=amd64
|
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"
|