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
33250840SmarcelINCLUDES+= -I$S/contrib/libfdt
34250840Smarcel
35154975SnyanMACHINE=i386
3689345Snyan
37154975SnyanMKMODULESENV+=	MACHINE=${MACHINE}
38154975Snyan
39218893Sdim# XXX: clang integrated-as doesn't grok .codeNN directives yet
40232263SdimASM_CFLAGS.acpi_wakecode.S=	${CLANG_NO_IAS}
41232263SdimASM_CFLAGS.mpboot.s=		${CLANG_NO_IAS}
42232263SdimASM_CFLAGS+=			${ASM_CFLAGS.${.IMPSRC:T}}
43218893Sdim
445327Sgibbs%BEFORE_DEPEND
455327Sgibbs
464Srgrimes%OBJS
474Srgrimes
4869135Speter%FILES.c
494Srgrimes
5069135Speter%FILES.s
5111918Sdg
5269135Speter%FILES.m
5338778Snsouch
546802Sgibbs%CLEAN
556802Sgibbs
5686273Simp%RULES
5786273Simp
5885909Simp.include "$S/conf/kern.post.mk"
59