1996-06-08 23:27:16 +00:00
|
|
|
# Makefile.i386 -- with config changes.
|
1993-06-12 14:58:17 +00:00
|
|
|
# Copyright 1990 W. Jolitz
|
This Makefile is for FreeBSD, not 4.3 BSD-Reno. Moved $Id$.
Added STRIP=, DBSYM=, and LOAD_ADDRESS?=
Now use LOAD_ADDRESS for linking kernel and for dbsym, added strip -x to
cut kernel size.
Added machde.o: dependency, this will be needed in the future, and for
now it does not hurt anyone.
Cleaned out conf.o: dependency, mkdep does the right things. Same for
param.c:
This is really a Merge in of NetBSD's Makefile.i386, here is the relevant
rlog info:
----------------------------
revision 1.27
date: 1993/08/27 23:58:20; author: brezak; state: Exp; lines: +2 -2
Need LOAD_ADDRESS for depend pass.
----------------------------
revision 1.25
date: 1993/07/19 16:52:16; author: mycroft; state: Exp; lines: +3 -3
Add ${DEBUG} to CFLAGS and -f to dbsym.
----------------------------
revision 1.22
date: 1993/07/18 10:08:22; author: mycroft; state: Exp; lines: +5 -6
Change to work with new config stuff for specifying load address.
----------------------------
revision 1.20
date: 1993/07/18 09:47:40; author: mycroft; state: Exp; lines: +6 -5
Use new -T option to dbsym.
----------------------------
revision 1.17
date: 1993/07/11 08:42:22; author: cgd; state: Exp; lines: +2 -2
don't ignore errors from dbsym... it might say that, e.g. there's
not enough symbol space!
----------------------------
revision 1.14
date: 1993/06/06 23:29:03; author: cgd; state: Exp; lines: +2 -2
make conf.o actually depend on conf.c...
----------------------------
revision 1.8
date: 1993/04/29 03:27:39; author: cgd; state: Exp; lines: +5 -10
use ed instead of ex. the script to use is identical, and we might
want to switch back to using ex when our ex supports -.
----------------------------
revision 1.5
date: 1993/03/24 18:48:57; author: cgd; state: Exp; lines: +1 -1
now use absolute path for dbsym
----------------------------
1993-09-26 19:44:33 +00:00
|
|
|
# from: @(#)Makefile.i386 7.1 5/10/91
|
1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
This Makefile is for FreeBSD, not 4.3 BSD-Reno. Moved $Id$.
Added STRIP=, DBSYM=, and LOAD_ADDRESS?=
Now use LOAD_ADDRESS for linking kernel and for dbsym, added strip -x to
cut kernel size.
Added machde.o: dependency, this will be needed in the future, and for
now it does not hurt anyone.
Cleaned out conf.o: dependency, mkdep does the right things. Same for
param.c:
This is really a Merge in of NetBSD's Makefile.i386, here is the relevant
rlog info:
----------------------------
revision 1.27
date: 1993/08/27 23:58:20; author: brezak; state: Exp; lines: +2 -2
Need LOAD_ADDRESS for depend pass.
----------------------------
revision 1.25
date: 1993/07/19 16:52:16; author: mycroft; state: Exp; lines: +3 -3
Add ${DEBUG} to CFLAGS and -f to dbsym.
----------------------------
revision 1.22
date: 1993/07/18 10:08:22; author: mycroft; state: Exp; lines: +5 -6
Change to work with new config stuff for specifying load address.
----------------------------
revision 1.20
date: 1993/07/18 09:47:40; author: mycroft; state: Exp; lines: +6 -5
Use new -T option to dbsym.
----------------------------
revision 1.17
date: 1993/07/11 08:42:22; author: cgd; state: Exp; lines: +2 -2
don't ignore errors from dbsym... it might say that, e.g. there's
not enough symbol space!
----------------------------
revision 1.14
date: 1993/06/06 23:29:03; author: cgd; state: Exp; lines: +2 -2
make conf.o actually depend on conf.c...
----------------------------
revision 1.8
date: 1993/04/29 03:27:39; author: cgd; state: Exp; lines: +5 -10
use ed instead of ex. the script to use is identical, and we might
want to switch back to using ex when our ex supports -.
----------------------------
revision 1.5
date: 1993/03/24 18:48:57; author: cgd; state: Exp; lines: +1 -1
now use absolute path for dbsym
----------------------------
1993-09-26 19:44:33 +00:00
|
|
|
#
|
|
|
|
# Makefile for FreeBSD
|
1993-06-12 14:58:17 +00:00
|
|
|
#
|
|
|
|
# This makefile is constructed from a machine description:
|
|
|
|
# config machineid
|
|
|
|
# Most changes should be made in the machine description
|
|
|
|
# /sys/i386/conf/``machineid''
|
|
|
|
# after which you should do
|
|
|
|
# config machineid
|
|
|
|
# Generic makefile changes should be made in
|
2001-10-26 10:33:45 +00:00
|
|
|
# /sys/conf/Makefile.i386
|
1993-06-12 14:58:17 +00:00
|
|
|
# after which config should be rerun for all machines.
|
|
|
|
#
|
1997-04-22 06:55:47 +00:00
|
|
|
|
1997-10-22 00:48:36 +00:00
|
|
|
# Which version of config(8) is required.
|
2007-05-16 17:23:54 +00:00
|
|
|
%VERSREQ= 600004
|
1997-10-22 00:48:36 +00:00
|
|
|
|
1997-07-25 11:53:30 +00:00
|
|
|
STD8X16FONT?= iso
|
|
|
|
|
1999-10-30 09:28:27 +00:00
|
|
|
.if !defined(S)
|
1994-08-13 03:50:34 +00:00
|
|
|
.if exists(./@/.)
|
|
|
|
S= ./@
|
|
|
|
.else
|
2001-06-30 06:29:47 +00:00
|
|
|
S= ../../..
|
1994-08-13 03:50:34 +00:00
|
|
|
.endif
|
1999-10-30 09:28:27 +00:00
|
|
|
.endif
|
2001-11-02 21:34:20 +00:00
|
|
|
.include "$S/conf/kern.pre.mk"
|
1993-06-12 14:58:17 +00:00
|
|
|
|
2006-01-29 03:32:19 +00:00
|
|
|
MACHINE=i386
|
|
|
|
|
|
|
|
MKMODULESENV+= MACHINE=${MACHINE}
|
2002-01-14 12:48:18 +00:00
|
|
|
|
2011-02-20 19:33:47 +00:00
|
|
|
# XXX: clang integrated-as doesn't grok .codeNN directives yet
|
2012-02-28 18:30:18 +00:00
|
|
|
ASM_CFLAGS.acpi_wakecode.S= ${CLANG_NO_IAS}
|
|
|
|
ASM_CFLAGS.mpboot.s= ${CLANG_NO_IAS}
|
|
|
|
ASM_CFLAGS+= ${ASM_CFLAGS.${.IMPSRC:T}}
|
2011-02-20 19:33:47 +00:00
|
|
|
|
1994-12-31 19:27:29 +00:00
|
|
|
%BEFORE_DEPEND
|
|
|
|
|
1993-06-12 14:58:17 +00:00
|
|
|
%OBJS
|
|
|
|
|
2000-11-25 03:25:34 +00:00
|
|
|
%FILES.c
|
1993-06-12 14:58:17 +00:00
|
|
|
|
2000-11-25 03:25:34 +00:00
|
|
|
%FILES.s
|
1995-10-29 11:10:53 +00:00
|
|
|
|
2000-11-25 03:25:34 +00:00
|
|
|
%FILES.m
|
1998-09-03 20:58:34 +00:00
|
|
|
|
1995-03-01 10:08:07 +00:00
|
|
|
%CLEAN
|
|
|
|
|
1993-06-12 14:58:17 +00:00
|
|
|
%RULES
|
2001-11-11 20:17:10 +00:00
|
|
|
|
|
|
|
.include "$S/conf/kern.post.mk"
|