Makefile revision 146011
1# $FreeBSD: head/sys/boot/pc98/libpc98/Makefile 146011 2005-05-08 14:17:28Z nyan $
2#
3LIB=			pc98
4INTERNALLIB=
5
6.PATH:	${.CURDIR}/../../i386/libi386
7
8SRCS=	bioscd.c biosdisk.c biosmem.c biospnp.c biospci.c biossmap.c \
9	bootinfo.c bootinfo32.c comconsole.c devicename.c elf32_freebsd.c \
10	gatea20.c i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
11	time.c vidconsole.c
12
13BOOT_COMCONSOLE_PORT?= 0x238
14CFLAGS+=	-DCOMPORT=${BOOT_COMCONSOLE_PORT}
15
16BOOT_COMCONSOLE_SPEED?= 9600
17CFLAGS+=	-DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
18
19.ifdef(BOOT_BIOSDISK_DEBUG)
20# Make the disk code more talkative
21CFLAGS+= -DDISK_DEBUG
22.endif
23
24# Include simple terminal emulation (cons25-compatible)
25CFLAGS+= -DTERM_EMU
26
27CFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
28		-I${.CURDIR}/../../i386/libi386 \
29		-I${.CURDIR}/../../.. -I.
30# the location of libstand
31CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
32
33.include <bsd.lib.mk>
34