Makefile revision 285830
1# $FreeBSD: releng/10.2/sys/boot/pc98/libpc98/Makefile 274032 2014-11-03 11:01:12Z nyan $ 2# 3LIB= pc98 4INTERNALLIB= 5 6.PATH: ${.CURDIR}/../../i386/libi386 7 8SRCS= 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 14SRCS+= devicename_stubs.c 15 16# Enable PXE TFTP or NFS support, not both. 17.if defined(LOADER_TFTP_SUPPORT) 18CFLAGS+= -DLOADER_TFTP_SUPPORT 19.else 20CFLAGS+= -DLOADER_NFS_SUPPORT 21.endif 22 23BOOT_COMCONSOLE_PORT?= 0x238 24CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 25 26BOOT_COMCONSOLE_SPEED?= 9600 27CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 28 29.ifdef(BOOT_BIOSDISK_DEBUG) 30# Make the disk code more talkative 31CFLAGS+= -DDISK_DEBUG 32.endif 33 34# Include simple terminal emulation (cons25-compatible) 35CFLAGS+= -DTERM_EMU 36 37# XXX: make alloca() useable 38CFLAGS+= -Dalloca=__builtin_alloca 39 40CFLAGS+= -I${.CURDIR}/../../common \ 41 -I${.CURDIR}/../btx/lib \ 42 -I${.CURDIR}/../../i386/libi386 \ 43 -I${.CURDIR}/../../.. -I. 44# the location of libstand 45CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 46 47# Suppress warning from clang for FreeBSD %b and %D formats 48CFLAGS+= -fformat-extensions 49 50.include <bsd.lib.mk> 51