]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - sys/boot/pc98/libpc98/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / sys / boot / pc98 / libpc98 / Makefile
1 # $FreeBSD$
2 #
3 LIB=                    pc98
4 INTERNALLIB=
5
6 .PATH:  ${.CURDIR}/../../i386/libi386
7
8 SRCS=   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
13 BOOT_COMCONSOLE_PORT?= 0x238
14 CFLAGS+=        -DCOMPORT=${BOOT_COMCONSOLE_PORT}
15
16 BOOT_COMCONSOLE_SPEED?= 9600
17 CFLAGS+=        -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
18
19 .ifdef(BOOT_BIOSDISK_DEBUG)
20 # Make the disk code more talkative
21 CFLAGS+= -DDISK_DEBUG
22 .endif
23
24 # Include simple terminal emulation (cons25-compatible)
25 CFLAGS+= -DTERM_EMU
26
27 # XXX: make alloca() useable
28 CFLAGS+= -Dalloca=__builtin_alloca
29
30 CFLAGS+=        -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
31                 -I${.CURDIR}/../../i386/libi386 \
32                 -I${.CURDIR}/../../.. -I.
33 # the location of libstand
34 CFLAGS+=        -I${.CURDIR}/../../../../lib/libstand/
35
36 .include <bsd.lib.mk>