Makefile revision 190046
1# $FreeBSD: head/sys/boot/pc98/libpc98/Makefile 190046 2009-03-19 13:53:42Z 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 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) 16CFLAGS+= -DLOADER_TFTP_SUPPORT 17.else 18CFLAGS+= -DLOADER_NFS_SUPPORT 19.endif 20 21BOOT_COMCONSOLE_PORT?= 0x238 22CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 23 24BOOT_COMCONSOLE_SPEED?= 9600 25CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 26 27.ifdef(BOOT_BIOSDISK_DEBUG) 28# Make the disk code more talkative 29CFLAGS+= -DDISK_DEBUG 30.endif 31 32# Include simple terminal emulation (cons25-compatible) 33CFLAGS+= -DTERM_EMU 34 35# XXX: make alloca() useable 36CFLAGS+= -Dalloca=__builtin_alloca 37 38CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \ 39 -I${.CURDIR}/../../i386/libi386 \ 40 -I${.CURDIR}/../../.. -I. 41# the location of libstand 42CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 43 44.include <bsd.lib.mk> 45