1# Makefile.i386 -- with config changes. 2# Copyright 1990 W. Jolitz 3# from: @(#)Makefile.i386 7.1 5/10/91 4# $FreeBSD$ 5# 6# Makefile for FreeBSD 7# 8# This makefile is constructed from a machine description: 9# config machineid 10# Most changes should be made in the machine description 11# /sys/i386/conf/``machineid'' 12# after which you should do 13# config machineid 14# Generic makefile changes should be made in 15# /sys/conf/Makefile.i386 16# after which config should be rerun for all machines. 17# 18 19# Which version of config(8) is required. 20%VERSREQ= 600004 21 22STD8X16FONT?= iso 23 24.if !defined(S) 25.if exists(./@/.) 26S= ./@ 27.else 28S= ../../.. 29.endif 30.endif 31.include "$S/conf/kern.pre.mk" 32 33MACHINE=i386 34 35MKMODULESENV+= MACHINE=${MACHINE} 36 37.if ${CC:T:Mclang} == "clang" 38# XXX: clang integrated-as doesn't grok .codeNN directives yet 39ASM_CFLAGS+= ${.IMPSRC:T:Macpi_wakecode.S:C/^.+$/-no-integrated-as/} 40ASM_CFLAGS+= ${.IMPSRC:T:Mmpboot.s:C/^.+$/-no-integrated-as/} 41.endif 42 43%BEFORE_DEPEND 44 45%OBJS 46 47%FILES.c 48 49%FILES.s 50 51%FILES.m 52 53%CLEAN 54 55%RULES 56 57.include "$S/conf/kern.post.mk" 58