Makefile revision 157668
11590Srgrimes# $FreeBSD: head/sys/boot/i386/libi386/Makefile 157668 2006-04-11 20:11:30Z jhb $ 21590Srgrimes# 31590SrgrimesLIB= i386 41590SrgrimesINTERNALLIB= 51590Srgrimes 61590SrgrimesSRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \ 71590Srgrimes biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \ 81590Srgrimes comconsole.c devicename.c elf32_freebsd.c \ 91590Srgrimes elf64_freebsd.c \ 101590Srgrimes i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \ 111590Srgrimes smbios.c time.c vidconsole.c amd64_tramp.S 121590Srgrimes 131590SrgrimesBOOT_COMCONSOLE_PORT?= 0x3f8 141590SrgrimesCFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 151590Srgrimes 161590SrgrimesBOOT_COMCONSOLE_SPEED?= 9600 171590SrgrimesCFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 181590Srgrimes 191590Srgrimes.ifdef(BOOT_BIOSDISK_DEBUG) 201590Srgrimes# Make the disk code more talkative 211590SrgrimesCFLAGS+= -DDISK_DEBUG 221590Srgrimes.endif 231590Srgrimes 241590Srgrimes.if !defined(BOOT_HIDE_SERIAL_NUMBERS) 251590Srgrimes# Export serial numbers, UUID, and asset tag from loader. 261590SrgrimesCFLAGS+= -DSMBIOS_SERIAL_NUMBERS 271590Srgrimes.endif 281590Srgrimes 291590Srgrimes# Include simple terminal emulation (cons25-compatible) 301590SrgrimesCFLAGS+= -DTERM_EMU 311590Srgrimes 321590Srgrimes# XXX: make alloca() useable 331590SrgrimesCFLAGS+= -Dalloca=__builtin_alloca 3487766Smarkm 3587766SmarkmCFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \ 3687766Smarkm -I${.CURDIR}/../../../contrib/dev/acpica \ 371590Srgrimes -I${.CURDIR}/../../.. -I. 3887766Smarkm# the location of libstand 3928066ScharnierCFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 401590Srgrimes 411590Srgrimes.if ${MACHINE_ARCH} == "amd64" 421590SrgrimesCLEANFILES+= machine 431590Srgrimesmachine: 441590Srgrimes ln -sf ${.CURDIR}/../../../i386/include machine 451590Srgrimes.endif 461590Srgrimes 4728066Scharnier.include <bsd.lib.mk> 481590Srgrimes 491590Srgrimes.if ${MACHINE_ARCH} == "amd64" 501590Srgrimesbeforedepend ${OBJS}: machine 511590Srgrimes.endif 521590Srgrimes