]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/boot/pc98/libpc98/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.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 \
9         biospci.c biossmap.c bootinfo.c bootinfo32.c \
10         comconsole.c devicename.c elf32_freebsd.c \
11         i386_copy.c i386_module.c nullconsole.c pc98_sys.c pxe.c pxetramp.s \
12         time.c vidconsole.c
13
14 # Enable PXE TFTP or NFS support, not both.
15 .if defined(LOADER_TFTP_SUPPORT)
16 CFLAGS+=        -DLOADER_TFTP_SUPPORT
17 .else
18 CFLAGS+=        -DLOADER_NFS_SUPPORT
19 .endif
20
21 BOOT_COMCONSOLE_PORT?= 0x238
22 CFLAGS+=        -DCOMPORT=${BOOT_COMCONSOLE_PORT}
23
24 BOOT_COMCONSOLE_SPEED?= 9600
25 CFLAGS+=        -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
26
27 .ifdef(BOOT_BIOSDISK_DEBUG)
28 # Make the disk code more talkative
29 CFLAGS+= -DDISK_DEBUG
30 .endif
31
32 # Include simple terminal emulation (cons25-compatible)
33 CFLAGS+= -DTERM_EMU
34
35 # XXX: make alloca() useable
36 CFLAGS+= -Dalloca=__builtin_alloca
37
38 CFLAGS+=        -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
39                 -I${.CURDIR}/../../i386/libi386 \
40                 -I${.CURDIR}/../../.. -I.
41 # the location of libstand
42 CFLAGS+=        -I${.CURDIR}/../../../../lib/libstand/
43
44 .include <bsd.lib.mk>