Makefile revision 96455
1# $FreeBSD: head/sys/boot/i386/libi386/Makefile 96455 2002-05-12 13:54:42Z obrien $ 2# 3LIB= i386 4NOPIC= 5NOPROFILE= 6INTERNALLIB= true 7INTERNALSTATICLIB= true 8 9SRCS= aout_freebsd.c biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \ 10 biospci.c bootinfo.c comconsole.c devicename.c elf_freebsd.c gatea20.c \ 11 i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \ 12 time.c vidconsole.c 13 14CFLAGS+= -ffreestanding 15BOOT_COMCONSOLE_PORT?= 0x3f8 16CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 17 18BOOT_COMCONSOLE_SPEED?= 9600 19CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 20 21.ifdef(BOOT_BIOSDISK_DEBUG) 22# Make the disk code more talkative 23CFLAGS+= -DDISK_DEBUG 24.endif 25 26# Include simple terminal emulation (cons25-compatible) 27CFLAGS+= -DTERM_EMU 28 29CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \ 30 -I${.CURDIR}/../../../contrib/dev/acpica \ 31 -I${.CURDIR}/../../.. -I. 32# the location of libstand 33CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 34 35# Make "machine" required for all objects 36# (based on the more complete case in sys/i386/boot/Makefile.inc) 37${SRCS:M*.c:R:S/$/.o/g}: machine 38 39# If it's not there, don't consider it a target 40.if exists(${.CURDIR}/../../../i386/include) 41beforedepend ${OBJS}: machine 42 43machine: 44 ln -sf ${.CURDIR}/../../../i386/include machine 45 46.endif 47 48CLEANFILES+= machine 49 50.include <bsd.lib.mk> 51