Makefile revision 42002
1# $Id: Makefile,v 1.11 1998/10/23 22:29:08 msmith 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
16# Make the disk code more talkative
17#CFLAGS+= -DDISK_DEBUG
18
19# Include simple terminal emulation (cons25-compatible)
20CFLAGS+= -DTERM_EMU
21
22# If it's not there, don't consider it a target
23.if exists(${.CURDIR}/../../../i386/include)
24beforedepend ${OBJS}: machine
25
26machine:
27	ln -sf ${.CURDIR}/../../../i386/include machine
28
29.endif
30
31CLEANFILES+=	machine
32
33.include <bsd.lib.mk>
34