Makefile revision 43561
1# $Id: Makefile,v 1.13 1999/01/10 14:48:04 rnordier Exp $
2#
3LIB=			pc98
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.PATH:	${.CURDIR}/../../i386/libi386
13
14CFLAGS+=	-DPC98
15
16CFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
17		-I${.CURDIR}/../../.. -I. -I${.CURDIR}/../../i386/libi386
18
19BOOT_COMCONSOLE_PORT?= 0x238
20CFLAGS+=	-DCOMPORT=${BOOT_COMCONSOLE_PORT}
21
22BOOT_COMCONSOLE_SPEED?= 9600
23CFLAGS+=	-DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
24
25# Make the disk code more talkative
26#CFLAGS+= -DDISK_DEBUG
27
28# Include simple terminal emulation (cons25-compatible)
29CFLAGS+= -DTERM_EMU
30
31# If it's not there, don't consider it a target
32.if exists(${.CURDIR}/../../../i386/include)
33beforedepend ${OBJS}: machine
34
35machine:
36	ln -sf ${.CURDIR}/../../../i386/include machine
37
38.endif
39
40CLEANFILES+=	machine
41
42.include <bsd.lib.mk>
43