Makefile revision 148006
1# $FreeBSD: head/sys/boot/i386/libi386/Makefile 148006 2005-07-14 19:52:22Z jkim $ 2# 3LIB= i386 4INTERNALLIB= 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 smbios.c 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.if ${MACHINE_ARCH} == "amd64" 34CLEANFILES+= machine 35machine: 36 ln -sf ${.CURDIR}/../../../i386/include machine 37.endif 38 39.include <bsd.lib.mk> 40 41.if ${MACHINE_ARCH} == "amd64" 42beforedepend ${OBJS}: machine 43.endif 44