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