Makefile revision 256281
133965Sjdp# $FreeBSD: stable/10/sys/boot/pc98/libpc98/Makefile 239069 2012-08-05 14:48:55Z nyan $ 2104834Sobrien# 333965SjdpLIB= pc98 433965SjdpINTERNALLIB= 533965Sjdp 633965Sjdp.PATH: ${.CURDIR}/../../i386/libi386 733965Sjdp 833965SjdpSRCS= bioscd.c biosdisk.c biosmem.c biospnp.c \ 933965Sjdp biospci.c biossmap.c bootinfo.c bootinfo32.c \ 1033965Sjdp comconsole.c devicename.c elf32_freebsd.c \ 1133965Sjdp i386_copy.c i386_module.c nullconsole.c pc98_sys.c pxe.c pxetramp.s \ 1233965Sjdp time.c vidconsole.c 1333965Sjdp.PATH: ${.CURDIR}/../../zfs 1433965SjdpSRCS+= devicename_stubs.c 1533965Sjdp 1633965Sjdp# Enable PXE TFTP or NFS support, not both. 1733965Sjdp.if defined(LOADER_TFTP_SUPPORT) 1833965SjdpCFLAGS+= -DLOADER_TFTP_SUPPORT 19218822Sdim.else 20218822SdimCFLAGS+= -DLOADER_NFS_SUPPORT 2133965Sjdp.endif 22104834Sobrien 2333965SjdpBOOT_COMCONSOLE_PORT?= 0x238 2433965SjdpCFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 2533965Sjdp 2677298SobrienBOOT_COMCONSOLE_SPEED?= 9600 2733965SjdpCFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 2833965Sjdp 2933965Sjdp.ifdef(BOOT_BIOSDISK_DEBUG) 3077298Sobrien# Make the disk code more talkative 3177298SobrienCFLAGS+= -DDISK_DEBUG 3277298Sobrien.endif 3333965Sjdp 3433965Sjdp# Include simple terminal emulation (cons25-compatible) 3533965SjdpCFLAGS+= -DTERM_EMU 3633965Sjdp 3733965Sjdp# XXX: make alloca() useable 3833965SjdpCFLAGS+= -Dalloca=__builtin_alloca 3933965Sjdp 4033965SjdpCFLAGS+= -I${.CURDIR}/../../common \ 4133965Sjdp -I${.CURDIR}/../btx/lib \ 4233965Sjdp -I${.CURDIR}/../../i386/libi386 \ 4333965Sjdp -I${.CURDIR}/../../.. -I. 4433965Sjdp# the location of libstand 4533965SjdpCFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 4633965Sjdp 4777298Sobrien.include <bsd.lib.mk> 4833965Sjdp