Makefile.amd64 revision 232263
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: head/sys/conf/Makefile.amd64 232263 2012-02-28 18:30:18Z dim $ 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. 21169612Swkoszek%VERSREQ= 600004 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 34120589SpeterDDB_ENABLED!= grep DDB opt_ddb.h || true 35179225SjbDTR_ENABLED!= grep KDTRACE_FRAME opt_kdtrace.h || true 36174395SjkoshyHWPMC_ENABLED!= grep HWPMC opt_hwpmc_hooks.h || true 37179225Sjb.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED) 38115405SpeterCFLAGS+= -fno-omit-frame-pointer 39115405Speter.endif 40115405Speter 41114370SpeterMKMODULESENV+= MACHINE=amd64 4299127Sobrien 43218893Sdim# XXX: clang integrated-as doesn't grok .codeNN directives yet 44232263SdimASM_CFLAGS.acpi_wakecode.S= ${CLANG_NO_IAS} 45232263SdimASM_CFLAGS.ia32_sigtramp.S= ${CLANG_NO_IAS} 46232263SdimASM_CFLAGS.linux32_locore.s= ${CLANG_NO_IAS} 47232263SdimASM_CFLAGS.mpboot.S= ${CLANG_NO_IAS} 48232263SdimASM_CFLAGS+= ${ASM_CFLAGS.${.IMPSRC:T}} 49218893Sdim 5099127Sobrien%BEFORE_DEPEND 5199127Sobrien 5299127Sobrien%OBJS 5399127Sobrien 5499127Sobrien%FILES.c 5599127Sobrien 5699127Sobrien%FILES.s 5799127Sobrien 5899127Sobrien%FILES.m 5999127Sobrien 6099127Sobrien%CLEAN 6199127Sobrien 6299127Sobrien%RULES 6399127Sobrien 6499127Sobrien.include "$S/conf/kern.post.mk" 65