Makefile revision 125566
1# $FreeBSD: head/sys/boot/i386/libi386/Makefile 125566 2004-02-07 14:32:06Z ru $ 2# 3LIB= i386 4INTERNALLIB= true 5 6SRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \ 7 biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \ 8 comconsole.c devicename.c elf32_freebsd.c \ 9 elf64_freebsd.c gatea20.c \ 10 i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \ 11 time.c vidconsole.c amd64_tramp.S 12 13BOOT_COMCONSOLE_PORT?= 0x3f8 14CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 15 16BOOT_COMCONSOLE_SPEED?= 9600 17CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 18 19.ifdef(BOOT_BIOSDISK_DEBUG) 20# Make the disk code more talkative 21CFLAGS+= -DDISK_DEBUG 22.endif 23 24# Include simple terminal emulation (cons25-compatible) 25CFLAGS+= -DTERM_EMU 26 27CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \ 28 -I${.CURDIR}/../../../contrib/dev/acpica \ 29 -I${.CURDIR}/../../.. -I. 30# the location of libstand 31CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 32 33.include <bsd.lib.mk> 34 35.if ${MACHINE_ARCH} == "amd64" 36${OBJS}: machine 37CLEANFILES+= machine 38machine: 39 ln -sf ${.CURDIR}/../../../i386/include machine 40.endif 41