Makefile revision 42480
1# $Id: Makefile,v 1.12 1998/12/22 11:51:25 abial Exp $
2#
3LIB=			i386
4NOPIC=
5NOPROFILE=
6INTERNALLIB=		true
7INTERNALSTATICLIB=	true
8
9SRCS=	aout_freebsd.c biosdisk.c biosmem.c biospnp.c biospci.c \
10	bootinfo.c comconsole.c devicename.c elf_freebsd.c gatea20.c \
11	i386_copy.c i386_module.c time.c vidconsole.c
12
13CFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
14		-I${.CURDIR}/../../.. -I.
15
16BOOT_COMCONSOLE_PORT?= 0x3f8
17CFLAGS+=	-DCOMPORT=${BOOT_COMCONSOLE_PORT}
18
19BOOT_COMCONSOLE_SPEED?= 9600
20CFLAGS+=	-DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
21
22# Make the disk code more talkative
23#CFLAGS+= -DDISK_DEBUG
24
25# Include simple terminal emulation (cons25-compatible)
26CFLAGS+= -DTERM_EMU
27
28# If it's not there, don't consider it a target
29.if exists(${.CURDIR}/../../../i386/include)
30beforedepend ${OBJS}: machine
31
32machine:
33	ln -sf ${.CURDIR}/../../../i386/include machine
34
35.endif
36
37CLEANFILES+=	machine
38
39.include <bsd.lib.mk>
40