116239Sjkh# Makefile.i386 -- with config changes.
24Srgrimes# Copyright 1990 W. Jolitz
3509Srgrimes#	from: @(#)Makefile.i386	7.1 5/10/91
450477Speter# $FreeBSD$
54Srgrimes#
6509Srgrimes# Makefile for FreeBSD
7509Srgrimes#
84Srgrimes# This makefile is constructed from a machine description:
94Srgrimes#	config machineid
104Srgrimes# Most changes should be made in the machine description
114Srgrimes#	/sys/i386/conf/``machineid''
124Srgrimes# after which you should do
134Srgrimes#	 config machineid
144Srgrimes# Generic makefile changes should be made in
1585532Sru#	/sys/conf/Makefile.i386
164Srgrimes# after which config should be rerun for all machines.
174Srgrimes#
184Srgrimes
1930640Speter# Which version of config(8) is required.
20169612Swkoszek%VERSREQ=	600004
2130640Speter
2227674SphkSTD8X16FONT?=	iso
2327674Sphk
2452651Smarcel.if !defined(S)
252056Swollman.if exists(./@/.)
262056SwollmanS=	./@
272056Swollman.else
2879014SimpS=	../../..
292056Swollman.endif
3052651Smarcel.endif
3185909Simp.include "$S/conf/kern.pre.mk"
324Srgrimes
33154975SnyanMACHINE=i386
3489345Snyan
35154975SnyanMKMODULESENV+=	MACHINE=${MACHINE}
36154975Snyan
37218893Sdim# XXX: clang integrated-as doesn't grok .codeNN directives yet
38232930SdimASM_CFLAGS.acpi_wakecode.S=	${CLANG_NO_IAS}
39232930SdimASM_CFLAGS.mpboot.s=		${CLANG_NO_IAS}
40232930SdimASM_CFLAGS+=			${ASM_CFLAGS.${.IMPSRC:T}}
41218893Sdim
425327Sgibbs%BEFORE_DEPEND
435327Sgibbs
444Srgrimes%OBJS
454Srgrimes
4669135Speter%FILES.c
474Srgrimes
4869135Speter%FILES.s
4911918Sdg
5069135Speter%FILES.m
5138778Snsouch
526802Sgibbs%CLEAN
536802Sgibbs
5486273Simp%RULES
5586273Simp
5685909Simp.include "$S/conf/kern.post.mk"
57