Makefile revision 40599
1# $Id: Makefile,v 1.9 1998/10/21 20:07:57 msmith Exp $
2#
3LIB=			i386
4NOPIC=
5NOPROFILE=
6INTERNALLIB=		true
7INTERNALSTATICLIB=	true
8
9SRCS=	aout_freebsd.c biosdisk.c biosmem.c bootinfo.c comconsole.c \
10	devicename.c elf_freebsd.c gatea20.c i386_copy.c i386_module.c \
11	biospnp.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# If it's not there, don't consider it a target
20.if exists(${.CURDIR}/../../../i386/include)
21beforedepend ${OBJS}: machine
22
23machine:
24	ln -sf ${.CURDIR}/../../../i386/include machine
25
26.endif
27
28CLEANFILES+=	machine
29
30.include <bsd.lib.mk>
31