Makefile revision 157668
1# $FreeBSD: head/sys/boot/pc98/libpc98/Makefile 157668 2006-04-11 20:11:30Z jhb $
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	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
27# XXX: make alloca() useable
28CFLAGS+= -Dalloca=__builtin_alloca
29
30CFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
31		-I${.CURDIR}/../../i386/libi386 \
32		-I${.CURDIR}/../../.. -I.
33# the location of libstand
34CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
35
36.include <bsd.lib.mk>
37