]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/boot/pc98/libpc98/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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 .PATH:  ${.CURDIR}/../../zfs
14 SRCS+=  devicename_stubs.c
15
16 # Enable PXE TFTP or NFS support, not both.
17 .if defined(LOADER_TFTP_SUPPORT)
18 CFLAGS+=        -DLOADER_TFTP_SUPPORT
19 .else
20 CFLAGS+=        -DLOADER_NFS_SUPPORT
21 .endif
22
23 BOOT_COMCONSOLE_PORT?= 0x238
24 CFLAGS+=        -DCOMPORT=${BOOT_COMCONSOLE_PORT}
25
26 BOOT_COMCONSOLE_SPEED?= 9600
27 CFLAGS+=        -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
28
29 .ifdef(BOOT_BIOSDISK_DEBUG)
30 # Make the disk code more talkative
31 CFLAGS+= -DDISK_DEBUG
32 .endif
33
34 # Include simple terminal emulation (cons25-compatible)
35 CFLAGS+= -DTERM_EMU
36
37 # XXX: make alloca() useable
38 CFLAGS+= -Dalloca=__builtin_alloca
39
40 CFLAGS+=        -I${.CURDIR}/../../common \
41                 -I${.CURDIR}/../btx/lib \
42                 -I${.CURDIR}/../../i386/libi386 \
43                 -I${.CURDIR}/../../.. -I.
44 # the location of libstand
45 CFLAGS+=        -I${.CURDIR}/../../../../lib/libstand/
46
47 .include <bsd.lib.mk>